This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Unique Text
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Unique Text
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 22 Jan 2001 16:48:29 GMT
- References: <3A6C5E37.7973321@ee.ed.ac.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> but can I do words too?
yes, but to be honest you probably don't want to (it'd take some rather
hairy rrecursive templates, probably) Can't you just pass perl over the
input forst and make every word be marked up as
<word>this</word> <word>is</word> <word>a</word> <word>word</word>
which would make your life so much easier.
It was mentioned on this list the other day that saxon has an extension
function to tokenise white space separated strings as a node list,
which would be an equivalent suggestion
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list