xsl-list
[Top] [All Lists]

RE: flat XML to normal XML

2005-05-21 22:15:18

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>