xsl-list
[Top] [All Lists]

RE: Measure the length of an XML document in bytes

2005-08-08 02:18:50
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(_at_)johanneberg(_dot_)com] 
Sent: 05 August 2005 18:04
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>