Page 1 of 1

Outline view display element/type "name" attribute

Posted: Tue Mar 01, 2005 7:33 pm
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

Posted: Tue Mar 01, 2005 7:35 pm
by linus
Oh, and I'm currently using Oxygen 5.0 on Mac OSX 10.3.8

Posted: Wed Mar 02, 2005 11:31 am
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

Posted: Wed Mar 02, 2005 12:20 pm
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