With Eclipse 3.1 and Oxygen 6.1, I don't get any autocompletion for entering
xsl:template/@exclude-result-prefixes in the XSLT editor
<xs:template xmlns:xs='....' >
....
</xs:template>
I have the cursor inside <xs:template> and press 'excl' and then hit Ctrl+espace and nothing happens.
I expect to autocomplete 'exclude-result-prefixes'.
xsl:template/@exclude-result-prefixes
Hi David,
I can reproduce this behavior only with a version 1.0 XSLT stylesheet. That is because the exclude-result-prefixes attribute is not allowed inside xsl:template in XSLT 1.0, you should place it in the xsl:stylesheet element.
If I set the xsl:version to 2.0 then oXygen offers the exclude-result-prefixes attribute inside an xsl:template.
If you still have problems please post a cut down but complete XSLT stylesheet and a short description to reproduce the behavior.
Best Regards,
George
I can reproduce this behavior only with a version 1.0 XSLT stylesheet. That is because the exclude-result-prefixes attribute is not allowed inside xsl:template in XSLT 1.0, you should place it in the xsl:stylesheet element.
If I set the xsl:version to 2.0 then oXygen offers the exclude-result-prefixes attribute inside an xsl:template.
If you still have problems please post a cut down but complete XSLT stylesheet and a short description to reproduce the behavior.
Best Regards,
George
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
xs:stylesheet/@exclude-result-prefixes
Sorry I meant xs:stylesheet/@exclude-result-prefixes.
This is a 1.0 feature and doesn't work.
This is a 1.0 feature and doesn't work.
-
- Posts: 4144
- Joined: Fri Mar 28, 2003 2:12 pm
Hello,
It works for me. If I have
in a XSL editor panel and I write excl after version="1.0" I see exclude-result-prefixes in the content completion window. Post the xsl:stylesheet tag of your stylesheet. Did you create the stylesheet with New - XSL Stylesheet ?
Best Regards,
Sorin
It works for me. If I have
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
</xsl:stylesheet>
Best Regards,
Sorin