[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xmllint and paragraph line width

Subject: Re: xmllint and paragraph line width
From: "Liam R. E. Quin liam@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2018 22:47:52 -0000
Re:  xmllint and paragraph line width
On Mon, 2018-03-19 at 15:39 +0000, Jeffrey Walton noloader@xxxxxxxxx
wrote:
> Hi Everyone,
> 
> We run our book source through xmllint before making the book and
> checking in sources to version control.
> 
> We would like to format the sources so paragraphs have a break at 80
> or 90 chracters. 

I'd suggest using XSLT, with xsltproc.

http://users.atw.hu/xsltcookbook2/xsltckbk2-chp-7-sect-6.html
may do what you want, wth some modification.

The --format option to xmllint doesn't reflow text.

Liam


-- 
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG
Improving Web Advertising: https://www.w3.org/community/web-adv/
Personal: web slave for http://www.fromoldbooks.org/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.