[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Unwanted namespace declaration in output
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
|
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
|