[xsl] Splitting attributes

Subject: [xsl] Splitting attributes
From: "Endre Magyari" <endre@xxxxxxxxx>
Date: Mon, 18 Nov 2002 07:44:00 +0200
Dear List,

    In my source XML I have elements with IDREFS attributes, like:

    <Class subtypes="id1 id23 id56 id34">

    My desire is to generate an element for each idref in part.(Split the
attribute to idrefs)

    Any idea how to do this? I haven't seen any splitting functions in the
XPATH documentation. Mostly, I would like  an <xsl:for-each>-like behaviour
to iterate on the set of the strings resulted from splitting the attribute
value.

Thanks,
Endre


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread