S
Starton X. Mangrove
In my xml document I have a description element that contains varying xhtml,
along the lines of
<description>this is a test</description>
-or-
<description><b>hello</b><br />this is a test<br /></description>
When trying to select the description element in xpath...
<xsl:copy-of select="description/*"/>
....Im getting uneven results. I would like get everything inside the
description elements, but if I have no markup inside the description
elements nothing is returned. If my description node is:
<description>this is a <b>test</b></description>
then only "test" is returned. What is the correct way to get the varying
stuff inside the description elements?
thanks in advance
along the lines of
<description>this is a test</description>
-or-
<description><b>hello</b><br />this is a test<br /></description>
When trying to select the description element in xpath...
<xsl:copy-of select="description/*"/>
....Im getting uneven results. I would like get everything inside the
description elements, but if I have no markup inside the description
elements nothing is returned. If my description node is:
<description>this is a <b>test</b></description>
then only "test" is returned. What is the correct way to get the varying
stuff inside the description elements?
thanks in advance