Page 1 of 1
xsl:template/@exclude-result-prefixes
Posted: Fri Aug 19, 2005 3:49 pm
by DavidPérez
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'.
Posted: Fri Aug 19, 2005 4:06 pm
by george
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
xs:stylesheet/@exclude-result-prefixes
Posted: Mon Aug 22, 2005 10:23 am
by DavidPérez
Sorry I meant xs:stylesheet/@exclude-result-prefixes.
This is a 1.0 feature and doesn't work.
Posted: Mon Aug 22, 2005 3:10 pm
by sorin_ristache
Hello,
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>
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