Re: [xsl] removing final space from node tree

Subject: Re: [xsl] removing final space from node tree
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 20 Apr 2009 21:32:00 +0100
> Our stylesheet inputs some data-oriented XML (a series of
> <language-entry> elements and their descendants), and outputs
> documentish XML (a series of <language-desc> elements with descendants),
> basically structuring the data into a more human-oriented stream prior
> to typesetting.

Can you post a couple of samples?

> My concern is that this seems like a very complex way to have to
> eliminate a final space.
...
> Any suggestions would be appreciated.

There will be a better way, either not processing the nodes in the
first place or a no-op template, but without a sample input and
required output for that input it's a bit hard to say what elements
are involved :)


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread