xsl:template/@exclude-result-prefixes
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
xsl:template/@exclude-result-prefixes
Post 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'.
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'.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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
Post by DavidPérez »
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: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service