Page 1 of 1

XSLT editor and Tag Insight

Posted: Mon Aug 22, 2005 10:43 am
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 :?:

Posted: Mon Aug 22, 2005 2:45 pm
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