Page 1 of 1

Tag-Insight support for XSLT 1.1 ?

Posted: Sun May 02, 2004 5:40 am
by Bill Frost
the Tag-Insight does not seem to recognize when XSLT 1.1 is specified.

i.e. with the declaration:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1">

... insight doesn't, in particular, show <xsl:document> as a possible choice in the pop-up list after keying '<xsl:'.

Is there another preference setting, or tag dictionary that must be installed to show the new tags supported under 1.1?

Posted: Mon May 03, 2004 12:11 pm
by george
Dear Bill,

XSLT 1.1 is just an working draft and it was deprecated by XSLT 2.0. Now if you have a processor like Saxon that understands XSLT 1.1 you can use it but oXygen provides content completion only for XSLT 1.0.

The XSLT content completion is driven by a schema located inside oxygen.jar (buildtin/XSLSchema.xsd). If you want to add some more elements you can just extract that file, make the desired changes (make sure you have a valid schema) and put it back in the jar.

In the (near) future oXygen will add support for XSLT 2.0. In fact you can use right now saxon 7 for validation and transformations if you plug it in through JAXP, see http://www.oxygenxml.com/doc/HowToConfi ... former.pdf

Best Regards,
George