xsl-list
[Top] [All Lists]

Splitting attributes

2002-11-17 22:44:00
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



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