[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



