[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: 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
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: [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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.