[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Mutability of variables
From: "Ludwig, Michael" <Michael.Ludwig@xxxxxxxxxxxx>
Date: Wed, 22 Sep 2010 14:57:15 +0200
> I realize XSLT variables are immutable. However, I have a requirement
> to split a piece of text into multiple lines based on a pre-defined
> length respecting word boundaries. This means if the last word on a
> line doesn't fit into the current line, the whole word needs to be
> moved into a new line. I am using XSLT 2.0 with Saxon 9.* HE.

See this thread and the solution by Emmanuel Bigui:

 Center string
http://markmail.org/thread/ayrb6jyqw2csahfo

--
Michael Ludwig

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member