Hi all,
One element in my xml document may possibly contain a <subscript> or <bold> tags. I need to parse the content of this element based on a certain character.
e.g:
<para>This is an <bold>example</bold> sentence | borrowed from my own data.</para>
If I use
<xsl:copy-of select="substring-before(.,'|')"/>
I get the first part of the content of <para>, but without the <bold> tags.
How can I get the content with any tags included ?
TIA,
Sheila
One element in my xml document may possibly contain a <subscript> or <bold> tags. I need to parse the content of this element based on a certain character.
e.g:
<para>This is an <bold>example</bold> sentence | borrowed from my own data.</para>
If I use
<xsl:copy-of select="substring-before(.,'|')"/>
I get the first part of the content of <para>, but without the <bold> tags.
How can I get the content with any tags included ?
TIA,
Sheila