G
gregmcmullinjr
Hi All,
I would like to use XSLT to replace all <u> nodes that are children of
a <b> node with a new <heading> node. Also, if the <b> node has no
other children than remove it as well.
For example:
This would be some <b><u>Text</u></b>. It could <b> also maybe be like
<u>this</u>...</b>
to
This would be some <heading>Text</heading>. It could <b> also maybe be
like <heading>this</heading>...</b>
I've been trying something like:
<xsl:template match="//b">
...
</xsl:template>
with no success.
Could someone point me in the right direction?
Thanks!
I would like to use XSLT to replace all <u> nodes that are children of
a <b> node with a new <heading> node. Also, if the <b> node has no
other children than remove it as well.
For example:
This would be some <b><u>Text</u></b>. It could <b> also maybe be like
<u>this</u>...</b>
to
This would be some <heading>Text</heading>. It could <b> also maybe be
like <heading>this</heading>...</b>
I've been trying something like:
<xsl:template match="//b">
...
</xsl:template>
with no success.
Could someone point me in the right direction?
Thanks!