xsl:include in transforms from Box
Oxygen general issues.
-
- Posts: 16
- Joined: Wed Feb 26, 2020 5:47 pm
xsl:include in transforms from Box
If I just have my XML (single or multi-file) and a single-file XSL in Box on Windows 11, I am able to run transforms successfully from a Box folder. If I try to split up the XSL using xsl:include with just the file name as the URI, I'm getting messages as if Saxon is looking for the include in the root directory (C:\) instead of the directory with the XSL. I'm trying the simplest instance of putting all the XML and XSL in the same Box directory until I get it working. It works for me if I fully qualify the file name, but that isn't good if I want someone else to be able to use the XSL on their machine, as the fully-qualified Box directory contains user-specific information.
To give an example, both of the following fail:
<xsl:include href="mystyle.xsl"/> and <xsl:include href="./mystyle.xsl"/>
while the following works:
<xsl:include href="/Users/MyName/Box/My XSL Folder/mystyle.xsl"/>
Is there something I can set up on the Oxygen side to resolve this, or is it a Saxon issue?
To give an example, both of the following fail:
<xsl:include href="mystyle.xsl"/> and <xsl:include href="./mystyle.xsl"/>
while the following works:
<xsl:include href="/Users/MyName/Box/My XSL Folder/mystyle.xsl"/>
Is there something I can set up on the Oxygen side to resolve this, or is it a Saxon issue?
-
- Posts: 16
- Joined: Wed Feb 26, 2020 5:47 pm
Re: xsl:include in transforms from Box
I got it working by using ../My XSL Folder/mystyle.xsl -- odd that it worked while ./mystyle.xsl didn't, but as this is just for a couple of us to use during development, I'm fine with it.
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