Re: [xsl] xslt 2, grouping and more on indexing.

Subject: Re: [xsl] xslt 2, grouping and more on indexing.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 27 Aug 2004 12:51:12 +0100
     <xsl:analyze-stringAND-RESPECT-MARKUP select="$ientry"
    regex="([0-9][.0-9\-]*)">
 
    Perhaps not.


to naturally have a regexp crossing over markup boundaries you need a
system that _sees_ the markup, that is, sees the XML document as a
stream of characters some of which represent markup and some of which
represent data, so that would be perl, sed, emacs, etc not xslt.

However it is a lot easier to do this in xslt2 than  than it could have
been, the combination of the grouping constructs and analyze string do
work rather well together in practice.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread