Generating xml files with result-document
Oxygen general issues.
-
- Posts: 4
- Joined: Thu Feb 19, 2009 11:42 pm
Generating xml files with result-document
Hi all,
I'm using result-document to generate multiple XML files from a single XML document, but I can't figure out how to configure the transform so that the documents are actually created. When I run the transform from the Editor interface, it only creates the first file and then stops the transform. When I run the transform from the Debugger interface, I can see the files being created in the results window, but the files aren't actually created in the drive location defined in thier tabs in the results window. What am I missing here?
Thanks.
I'm using result-document to generate multiple XML files from a single XML document, but I can't figure out how to configure the transform so that the documents are actually created. When I run the transform from the Editor interface, it only creates the first file and then stops the transform. When I run the transform from the Debugger interface, I can see the files being created in the results window, but the files aren't actually created in the drive location defined in thier tabs in the results window. What am I missing here?
Thanks.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Generating xml files with result-document
Post by sorin_ristache »
Hello,
If you try to create multiple output files using xsl:result-document the files should be created on disk without problems when you run the transform in the Editor perspective. They are not created on disk in the Debugger perspective because the output of xsl:result-document is redirected to output views displayed in the right side of the Debugger perspective. This allows you to see what is sent to the disk files in a normal transformation executed in the Editor perspective.
You should have the option Show xsl:result-document output enabled in Preferences / XML / XSLT-FO-XQuery / Debugger (by default it is enabled) and see the content of each output document in a separate output view at the right side of the window in the debugger. Does the transform stops in the debugger at the same point as when running the transformation in the Editor perspective? If the transform stops in the Editor perspective but it does not stop in the Debugger perspective please send sample files for reproducing the problem.
Regards,
Sorin
If you try to create multiple output files using xsl:result-document the files should be created on disk without problems when you run the transform in the Editor perspective. They are not created on disk in the Debugger perspective because the output of xsl:result-document is redirected to output views displayed in the right side of the Debugger perspective. This allows you to see what is sent to the disk files in a normal transformation executed in the Editor perspective.
You should have the option Show xsl:result-document output enabled in Preferences / XML / XSLT-FO-XQuery / Debugger (by default it is enabled) and see the content of each output document in a separate output view at the right side of the window in the debugger. Does the transform stops in the debugger at the same point as when running the transformation in the Editor perspective? If the transform stops in the Editor perspective but it does not stop in the Debugger perspective please send sample files for reproducing the problem.
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