RE: [xsl] flat XML to normal XML

Subject: RE: [xsl] flat XML to normal XML
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Sun, 22 May 2005 05:15:18 +0000
Date: Mon, 16 May 2005 15:42:09 +0100
For a worked solution to a very similar problem (using XSLT 2.0) see:
http://www.idealliance.org/proceedings/xml04/papers/111/mhk-paper.html

Useful read, thanx for the writeup and the link! For one minor point of errata, in Section 2.2, in the snippet:


<xsl:analyze-string select="$input" regex="\[.*?\]">
 <xsl:matching-substring>
   <ref><xsl:value-of select="translate(.,'[]', '')"/></ref>
 </xsl:matching-substring>
 <xsl:matching-substring>
   <xsl:value-of select="."/>
 </xsl:matching-substring>
</xsl:analyze-string>

according to the text that second <xsl:matching-substring> should be <xsl:non-matching-substring>

Regards,

--A

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee. Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Current Thread