Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Validation XSLT using XSLT 1.0 [Thread Next] Re: [xsl] Validation XSLT using XSLT 1.0To: Date: 7/3/2008 11:22:00 AM > Does anyone know of a tool that parses an XML document and > outputs it as ASCII replacing characters with named entities > instead of numeric entites? Named entites you'd probably have > to supply yourself? You can do that in XSLT 2.0 with an identity transformation, serializing the result using character maps. Michael Kay http://www.saxonica.com/ If you are using the usual ISO/HTML/MathML entity sets you can <xsl:import href="http://www.w3.org/2003/entities/2007/entitynamesmap.xsl"/> which defines an "w3c-entity-names" map that you can then refer to in xsl:output David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
