resolving xsl:includes that are out of scope
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 12
- Joined: Tue Mar 21, 2006 12:06 pm
resolving xsl:includes that are out of scope
Post by GraemeBryce »
Hi
I have an XSLT "html.xslt" that makes use of a number of variables like $something that are in turn are defined in a file "includes.xslt".
I then have a file "default.xslt" that is used as the root of the transform at runtime. This file uses <xsl:include/> to add references to both of the earlier files. Of course all this works.
However when I am editing the html.xslt file, oxygen reports errors for all the lines that include variables as the definitions for them are out of scope.
I can not simply add an <xsl:include> into html.xslt and when I then run the default file the template from include are included twise and the transforms fail.
For more comple reasons I am also not able to remore the include from the default - there are many more parts to the system some of which do and some of which do not require certain scope.
Is there a way I can have Oxygen know that the includes.xslt files should be in scope during editing but without actually using and <xsl:include> node?
thanks
I have an XSLT "html.xslt" that makes use of a number of variables like $something that are in turn are defined in a file "includes.xslt".
I then have a file "default.xslt" that is used as the root of the transform at runtime. This file uses <xsl:include/> to add references to both of the earlier files. Of course all this works.
However when I am editing the html.xslt file, oxygen reports errors for all the lines that include variables as the definitions for them are out of scope.
I can not simply add an <xsl:include> into html.xslt and when I then run the default file the template from include are included twise and the transforms fail.
For more comple reasons I am also not able to remore the include from the default - there are many more parts to the system some of which do and some of which do not require certain scope.
Is there a way I can have Oxygen know that the includes.xslt files should be in scope during editing but without actually using and <xsl:include> node?
thanks
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: resolving xsl:includes that are out of scope
Hello,
You can find the solution to this included XSLT validation problem here:
http://www.oxygenxml.com/forum/post16872.html#p16872
I've just posted this yesterday.
Regards,
Adrian
You can find the solution to this included XSLT validation problem here:
http://www.oxygenxml.com/forum/post16872.html#p16872
I've just posted this yesterday.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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