The requested initial template ...... does not exist
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Mon Jan 14, 2013 11:58 am
The requested initial template ...... does not exist
Hi
I need to develop a csv to xml converter. I found a good example to start with here http://andrewjwelch.com/code/xslt/csv/c ... ml_v2.html and pasted it in the editor window.
I created a simple csv-file.
Both files are on D:\dev\
Now I need to set up a scenario in Oxygen and I have tried to apply the parameters from the saxon instruction on the page mentioned above but I must do something wrong.
New -> XSLT Transformation
XSL URL = ${currentFilePath}
-it = D:\dev\csv-to-xml.xslt
pathToCSV = 'file:///D:/dev/csv.csv'
When I click "Apply associated" there are 2 error lines in the "Transformation problems" tab stating "E[Saxon-PE 9.4.0.4] The Requested initial template, with expanded name D:\dev\csv-to-xml.xslt, does not exist"
I have tried different locations, different path/uri formats and so on but always the same message.
Any idea?
// Svante
I need to develop a csv to xml converter. I found a good example to start with here http://andrewjwelch.com/code/xslt/csv/c ... ml_v2.html and pasted it in the editor window.
I created a simple csv-file.
Both files are on D:\dev\
Now I need to set up a scenario in Oxygen and I have tried to apply the parameters from the saxon instruction on the page mentioned above but I must do something wrong.
New -> XSLT Transformation
XSL URL = ${currentFilePath}
-it = D:\dev\csv-to-xml.xslt
pathToCSV = 'file:///D:/dev/csv.csv'
When I click "Apply associated" there are 2 error lines in the "Transformation problems" tab stating "E[Saxon-PE 9.4.0.4] The Requested initial template, with expanded name D:\dev\csv-to-xml.xslt, does not exist"
I have tried different locations, different path/uri formats and so on but always the same message.
Any idea?
// Svante
-
- Posts: 2883
- Joined: Tue May 17, 2005 4:01 pm
Re: The requested initial template ...... does not exist
Hello,
Note that -it ("inital template") should point to a template name, NOT a stylesheet filename.
e.g.
mystylesheet.xsl -it = main
Regards,
Adrian
Note that -it ("inital template") should point to a template name, NOT a stylesheet filename.
e.g.
mystylesheet.xsl
Code: Select all
<xsl:template name="main">
...
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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