Mode name {#all} is not a valid QName
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Thu Apr 21, 2011 9:03 pm
Mode name {#all} is not a valid QName
I get the following error when applying an XSL transformation to an XML file:
Mode name {#all} is not a valid QName
Here is the line with the error:
<xsl:apply-templates mode="#all"/>
Everything I've read says this should work. It's a 2.0 XSL file. I've tried all the processors and they all give an error.
What's wrong?
Thanks,
Scott
Mode name {#all} is not a valid QName
Here is the line with the error:
<xsl:apply-templates mode="#all"/>
Everything I've read says this should work. It's a 2.0 XSL file. I've tried all the processors and they all give an error.
What's wrong?
Thanks,
Scott
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Mode name {#all} is not a valid QName
Post by sorin_ristache »
Hello,
The XSLT processors are right because the #all mode can be used only in template rules, not in the xsl:apply-templates element.
Regards,
Sorin
The XSLT processors are right because the #all mode can be used only in template rules, not in the xsl:apply-templates element.
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