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

RE: RE: Avoid copying of namespace declarations of the

Subject: RE: RE: Avoid copying of namespace declarations of the XSL
From: cknell@xxxxxxxxxx
Date: Mon, 12 May 2003 10:04:55 -0500
avoid copying namespace attribute nodes
Sorry. I'd didn't read your message carefully before responding.
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     cknell@xxxxxxxxxx
Sent:     Mon, 12 May 2003 07:32:26 -0500
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  RE:  Avoid copying of namespace declarations of the XSL

Add this attribute to your stylesheet element:
exclude-result-prefixes=" ...". Replace the elipsis with a whitespace-separated list of namespace prefixes you want to remove from the result tree.
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Ram UGroups <ram_ugroups@xxxxxxxxx>
Sent:     Sun, 11 May 2003 21:20:28 -0700 (PDT)
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:   Avoid copying of namespace declarations of the XSL

Hello,

Is there a way to avoid getting the namespace
definitions copied into the result xml file using XSLT
? I have read lots of threads on here about a similar
problem but in all those cases, the input xml file had
namespace declarations which were being copied over
and <xsl:copy-of> was copying the whold node including
the namespace nodes.

But in my case, the input xml file does not have any
namespace declarations. I have a few namespace
declarations and adding some attributes in those
namespaces. Elements which have these attributes are
also getting the corresponding namespace declarations
copied over even though I have
"exclude-result-prefixes" attribute in the
<xsl:stylesheet> element.

Appreciate your help.

--Ram.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.