XSLT editor and Tag Insight

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DavidPérez
Posts: 44
Joined: Fri Aug 05, 2005 2:18 pm

XSLT editor and Tag Insight

Post by DavidPérez »

Hi,

I have Eclipse 3.1 and Oxygen 6.1.1 and changed the Tag Insight config so instead of using XHTML transitional in XSLT editor I use a custom RelaxNG schema.

It suggests me elements (ignoring parent context), but any attributes.
When an element can have a choice of text values, it doesn't suggest me them either.

<element name='....'>
<choice>
<value>....</value>
<value>....</value>
</choice>
</element>

The schema is of little utility
Is this normal :?:
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

It does not suggests element values for a Relax NG schema. We will try to add element values in a future version. Content completion for the schema of the XSLT result document is not context sensitive. It offers all the elements because in XSLT templates there are inserted elements usually from any part of the schema so there is no current context. The result document is not generated in one template starting from the root element and going down in the schema.

Best regards,
Sorin
Post Reply