RE: [xsl] Measure the length of an XML document in bytes

Subject: RE: [xsl] Measure the length of an XML document in bytes
From: "Khorasani, Houman" <houman_khorasani@xxxxxxxxxxxxxx>
Date: Mon, 8 Aug 2005 10:18:50 +0100
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: [xsl] 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

Current Thread