Outline view display element/type "name" attribute

Having trouble installing Oxygen? Got a bug to report? Post it all here.
linus
Posts: 8
Joined: Thu May 20, 2004 2:55 am

Outline view display element/type "name" attribute

Post by linus »

I don't know if this is a bug, or a feature request, or if I'm just doing something wrong, but...
I have some schema documents from a third party which do not always have the "name" atttribute first in the attribute list. For example:

<!-- number of stations reporting p and s arrival times -->
<xsd:element minOccurs="0" name="nst"
type="xsd:nonNegativeInteger"/>


This shows up in the outline view as:

xsd:element "0"

Can Oxygen be made to always display the "name" attribute (if present) in the outline view instead of simply the first attribute?

Thanks,
Linus
linus
Posts: 8
Joined: Thu May 20, 2004 2:55 am

Post by linus »

Oh, and I'm currently using Oxygen 5.0 on Mac OSX 10.3.8
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

In a future version the outliner view will allow for a XPath like expression to configure what this view shows. So configuring an expression like ./@name that will be possible.

Regards,
Sorin
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Also we will consider implementing special outliners for XML Schema, XSLT, Relax NG, etc. to display the relevant attributes for each element.

Best Regards,
George
Post Reply