value-of content indenting and wrapping, but not wanted
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Wed Feb 15, 2017 7:23 pm
value-of content indenting and wrapping, but not wanted
XML Editor 19.0
Saxon PE 9.7.0.15 Transformation
My problem is that although my string variable displays via <xsl:message> without wrapping, when using <xsl:value-of select="$myvariable"> the output file has an indent of three spaces and the content is wrapping for lines close to 80 characters in length, or more. (This is not consistent, either.)
How can I eliminate creation of the leading spaces, and not wrap the value-of select content, when generating my output file content?
Cheers,
Yuribashi
Saxon PE 9.7.0.15 Transformation
My problem is that although my string variable displays via <xsl:message> without wrapping, when using <xsl:value-of select="$myvariable"> the output file has an indent of three spaces and the content is wrapping for lines close to 80 characters in length, or more. (This is not consistent, either.)
How can I eliminate creation of the leading spaces, and not wrap the value-of select content, when generating my output file content?
Cheers,
Yuribashi
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: value-of content indenting and wrapping, but not wanted
Hi Yuribashi,
Maybe you can set the indent="no" attribute on the <xsl:output> element.
Because indeed if you have indent="yes" the Saxon 9 XSLT processor will indent with 3 spaces and break the line at 80 chars:
https://www.saxonica.com/html/documenta ... eters.html
Regards,
Radu
Maybe you can set the indent="no" attribute on the <xsl:output> element.
Because indeed if you have indent="yes" the Saxon 9 XSLT processor will indent with 3 spaces and break the line at 80 chars:
https://www.saxonica.com/html/documenta ... eters.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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