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

unwanted xmlns="" attribute

Subject: unwanted xmlns="" attribute
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Fri, 01 Oct 2004 15:47:16 +0100
xmlns attribute
In my including file I have:

<xsl:template match="test">
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<xsl:apply-templates select="." mode="testy"/>
</rdf:RDF>
</xsl:template>


In my included file I have:

<xsl:template match="test" mode="testy">
	<help/>
</xsl:template>

My output comes out as:

<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<help xmlns=""/>
</rdf:RDF>



I do not want the xmlns="" attribute to appear on the help element. I have tried numerous permutations using the exclude-result-prefixes on xsl:stylesheet to no avail. I am using MSXML 3. Can anyone advise?


_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

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.