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

Re: How to select only the attributes present in the s

Subject: Re: How to select only the attributes present in the source document
From: "Peter Stark" <pstark@xxxxxxxxx>
Date: Wed, 23 May 2001 12:16:27 +0200
xslt attribute present
> On Wednesday 23 May 2001 11:21, Peter Stark wrote:
> > How can I specify that <xsl:copy-of select="@*" /> should NOT select and
> > copy default attributes (from the DTD) into the result document?
> >
> > I want only the attributes that are present in the instance (source
> > document).
> >
>

Ingo Schildmann wrote:
>
> You would have to convince the XML parser not to validate the document, so
> that the DTD is ignored. The XSLT processor doesn't get any information
> whether the attribute value comes from the document or the DTD.
>
>

Ok, that is what I suspected. Thanks. Unfortunately, there is no XSLT
processor I am aware of that can turn off XML validation before
transformation.


PS


 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.