[Home] [By Thread] [By Date] [Recent Entries]
On 2018-03-19 15:39, Jeffrey Walton noloader@xxxxxxxxx wrote:
Hi Everyone, I think so. How do we format paragraphs to a particular width when using xmllint in our toolchain? I think you have answered your own question. If xmllint doesn't have an option to break records in mixed content, then you need some other tool. Are you tied to using xmllint and nothing else? Emacs with psgml-mode does what you want by default, except that it indents the mixed content for readability because it's an editor. You could turn off the indentation, I am sure, but I've never wanted to do that; and if you did, you could run files through it in batch mode. I suspect there are plenty of people here who can help with that :-) You could write some XSLT to do it, but it's harder than you think because you will need to obey whatever other (unwritten?) business rules you apply to mixed content. ///Peter
|

Cart



