additonal tabs and lines in output after XSL
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Tue Jul 06, 2010 7:30 pm
additonal tabs and lines in output after XSL
Hi,
I am using XSL to transform one XML document to another ready of import into a software package. The original XML has indent tabs prior to the element
Original Input:
XSLT Output:
Required Output:
Without using <xsl:strip-space elements="*"/> which puts everything on one line, how can I suppress the tabs and extra lines in XSL? Or is this something that has to be done outside of XSL with either a text editor script or even within oXygen.
Your comments and suggestions most welcome.
I am using XSL to transform one XML document to another ready of import into a software package. The original XML has indent tabs prior to the element
Original Input:
Code: Select all
<para role="noindent">Tons of information</para>
<para role="noindent">Lots of details</para>
Code: Select all
<first-para>Tons of information</first-para>
<second-para>Lots of details</second-para>
Code: Select all
<first-para>Tons of information</first-para>
<second-para>Lots of details</second-para>
Your comments and suggestions most welcome.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: additonal tabs and lines in output after XSL
Hello,
I'm guessing you're copying all the text(including indents) from the source XML. Can you show me the XSLT(or part of it) that's generating this output?
Regards,
Adrian
I'm guessing you're copying all the text(including indents) from the source XML. Can you show me the XSLT(or part of it) that's generating this output?
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)
- ↳ 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