Long lines to be wrapped with a continuation character using XSL-FO
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Long lines to be wrapped with a continuation character using XSL-FO
Hi team,
I have a query related to XSL-FO.
I am using XSL-FO to transform my XML to FO output. For a particular element, am using the attribute "wrap-option" set as "wrap", for it to wrap in the output if it exceeds the line limit. It gets wrapped properly in the output.
But, I would like to have an additional feature that, if the text is wrapped in the output, it should have some indication to the user on the wrapping. ie, if a particular line is wrapped to next line, it should have a "+" symbol in the end of the line wherever it is wrapped.
Sample input:-
Thanks and Regards,
Shabeer
I have a query related to XSL-FO.
I am using XSL-FO to transform my XML to FO output. For a particular element, am using the attribute "wrap-option" set as "wrap", for it to wrap in the output if it exceeds the line limit. It gets wrapped properly in the output.
But, I would like to have an additional feature that, if the text is wrapped in the output, it should have some indication to the user on the wrapping. ie, if a particular line is wrapped to next line, it should have a "+" symbol in the end of the line wherever it is wrapped.
Sample input:-
Current output:-Testing the wrapped input specification for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds the line limit.
Required output:-Testing the wrapped input specification
for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds
the line limit.
Please let me know if I can get some help on this.Testing the wrapped input specification+
for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds+
the line limit.
Thanks and Regards,
Shabeer
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Long lines to be wrapped with a continuation character using XSL-FO
Hi Shabeer,
I'm not sure if or how this could be done.
Maybe you should search and ask around on StackOverflow, see if somebody found a similar solution for this.
Regards,
Radu
I'm not sure if or how this could be done.
Maybe you should search and ask around on StackOverflow, see if somebody found a similar solution for this.
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)
- ↳ 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