[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Running XSL through StylusStudio
Hi, Im running an xsl using stylusstudio and Im having a different output compared to the one I get running saxon using the command line. I have an xsl that uses a character-map which simply escapes the ampersand character. <?xml version='1.0'?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:character-map name="map"> <xsl:output-character character="&" string="&"/> </xsl:character-map> <xsl:output method="xml" encoding="UTF-8" use-character-maps="map"/> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="*"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> And using this xml as source: <?xml version="1.0" encoding="UTF-8"?> <root> <data>&test;</data> </root> Using saxon in the command line I get: <?xml version="1.0" encoding="UTF-8"?> <root> <data>&test;</data> </root> But using stylusstudio (using saxon as the xslt processor) I get this: <?xml version="1.0" encoding="UTF-8"?> <root> <data>&test;</data> </root> What seem's to be the problem here??? Jeff Sese
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|