I have a complex XML file that I'm transforming into a simpler XML file.
<xsl:template match="/">
<root>
<xsl:for-each select="document/record">
<product>
<description>
<xsl:value-of
select="short_description"/>
<xsl:text>
</xsl:text>
</description>
</product>
</xsl:for-each>
</root>
</xsl:template>
My problem is that many of <description> elements contain ™ in
their content, and I need to replace all of these with •
I can't get my head around how to do this. I understand GREP, so if a
regular exp. needs to be built to do this, I can handle that. But I
can't figure out how to manipulate the content of elements with XSL.
Any help is appreciated. Thanks!
Keith Gilbert
Adobe Certified Instructor: ID, IC, AI, PS, AA
blog.gilbertconsulting.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--