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

Unwanted namespace declaration in output

Subject: Unwanted namespace declaration in output
From: cknell@xxxxxxxxxx
Date: Tue, 28 Feb 2006 17:00:01 -0500
unwanted namespace
My <xslt:stylesheet> has this namespace declaration:

xmlns:xs="http://www.w3.org/2001/XMLSchema"

I need this because I want to do some arithmetic with some parameters in this template:

<xsl:template match="name">
  <xsl:param name="current-reqs" as="xs:integer" />
  <xsl:param name="new-reqs" as="xs:integer" />
  <xsl:param name="deleted-reqs" as="xs:integer" />
 .... stuff goes here ...
</xsl:template>

but I don't want the namespace declaration to be repeated in my output.

Example:

 <changes xmlns:xs="http://www.w3.org/2001/XMLSchema">

When I add the "exclude-result-prefixes='xs'" attribute to my <xsl:stylesheet> element, instead of producing output I get this error:

"XTDE0700: No value supplied for required parameter"

Please, what I am missing?

-- 
Charles Knell
cknell@xxxxxxxxxx - email

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.