|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: end-tag minimization problem?
--tth: 1184 It seems highly implausible that any stylesheet will produce different results for <a></a> and for <a/>, because mainstream XML parsers report both these things to the "application" (in this case, the XSLT processor) in exactly the same way. So you'll need to provide some convincing evidence. Michael Kay http://www.saxonica.com/ There's the real world, and then there's Seattle.... <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output encoding="utf-8"/> <xsl:template match="/"> <a/> <a></a> </xsl:template> </xsl:stylesheet> $ msxsl.exe empty.xsl empty.xsl <?xml version="1.0" encoding="utf-8"?><a /><a></a> msxsl preserves (sometimes, if it feels like it) the style of empty element used in the source. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
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
|

Cart








