Transformer line breaks on attributes.
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 42
- Joined: Sun Jul 15, 2012 12:26 pm
- Location: London
Transformer line breaks on attributes.
Hello Everyone,
Using Saxon-EE 9.4.0.3 with this as an output element:
My transformed XML comes out looking like this:
Needless to say this is not what I want. From Options > Preferences (Editor / Format) I have already set the "Line Width - Format and Indent" to 2000. I know the physical format is irrelevant in the context of XML but when you're trying to scan the output after processing it's tedious to say the least.
Is anyone able to help me here please?
--
William
Using Saxon-EE 9.4.0.3 with this as an output element:
Code: Select all
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
Code: Select all
<row attr_1="aaa"
attr_2="bbb"
attr_3="ccc"
attr_4="ddd"
attr_5="eee"
...
attr_x="xxx"/>
Is anyone able to help me here please?
--
William
-
- Posts: 2882
- Joined: Tue May 17, 2005 4:01 pm
Re: Transformer line breaks on attributes.
Hello,
Please note that the transformer output is not formatted by Oxygen. So any options you may have set in Options > Preferences, Editor > Format won't affect the output in any way.
There is one limited situation where this could happen indirectly, if you have configured the transformation scenario to save the output to a file, open it in an editor and at the same time Oxygen is configured to "Format and indent the document on open" (in Editor > Format). Disable this option if enabled (by default it's disabled).
Otherwise the transformer is the one formatting the output using the xsl:output directive from the stylesheet and possibly some Saxon settings. Check if you have explicitly set a Saxon configuration file in the Oxygen preferences (Options > Preferences, XML > XSLT-FO-XQuery > XSLT > Saxon > Saxon-HE/PE/EE) or the transformation scenario (Advanced options button next to the Transformer combo box).
Regards,
Adrian
Please note that the transformer output is not formatted by Oxygen. So any options you may have set in Options > Preferences, Editor > Format won't affect the output in any way.
There is one limited situation where this could happen indirectly, if you have configured the transformation scenario to save the output to a file, open it in an editor and at the same time Oxygen is configured to "Format and indent the document on open" (in Editor > Format). Disable this option if enabled (by default it's disabled).
Otherwise the transformer is the one formatting the output using the xsl:output directive from the stylesheet and possibly some Saxon settings. Check if you have explicitly set a Saxon configuration file in the Oxygen preferences (Options > Preferences, XML > XSLT-FO-XQuery > XSLT > Saxon > Saxon-HE/PE/EE) or the transformation scenario (Advanced options button next to the Transformer combo box).
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