RE: Measure the length of an XML document in bytes
Hi Mauritz, Yeah my mistake; it has to point to the namespace, not to the element name. Thank you so much, it is working now. And thanks to everyone else too for helping me in this topic. :) Regards Houman -----Original Message----- From: Mauritz Jeanson [mailto:mj@xxxxxxxxxxxxxxx] Sent: 05 August 2005 18:04 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Measure the length of an XML document in bytes > -----Original Message----- > From: Khorasani, Houman > > <xsl:element name="OrderRequest"> > > Becomes in the output: > <OrderRequest xmlns:my-class="xalan://ELSPackage.XMLGetFileSize"> > > How do I prevent that each XML tag retrieves this namespace? > > I tried to solve it in this way, but it doesn't work: > > <xsl:stylesheet version="1.0" > xmlns:my-class="xalan://ELSPackage.XMLGetFileSize" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > exclude-result-prefixes="OrderRequest"> Change to exclude-result-prefixes="my-class" /MJ
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