Tag-Insight support for XSLT 1.1 ?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Bill Frost
Posts: 2
Joined: Sun Apr 04, 2004 6:11 am
Location: Sydney, Australia

Tag-Insight support for XSLT 1.1 ?

Post 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?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
Post Reply