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

RE: Ignore the DTD

Subject: RE: Ignore the DTD
From: bryan.s.schnabel@xxxxxxxxxxxxxx
Date: Fri, 12 Jan 2001 11:29:02 -0800
xsl dtd skip
Thank you.  Now it makes perfect sense.  It was my desired result that was
flawed.  If the DTD assigns a default value to an attribute, and an instance
has an occurrence of that element without the attribute, it is assumed the
attribute is there with the default value.

I should not forget basic XML.  Thanks for the clue.

Bryan

-----Original Message-----
From: Eric van der Vlist [mailto:vdv@xxxxxxxxxxxx]
Sent: Friday, January 12, 2001 10:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Ignore the DTD


bryan.s.schnabel@xxxxxxxxxxxxxx wrote:
> 
> > I cannot change the way the instances come to me. Is there a way I can
> > stop the processor from referencing the DTD?

Beyond the XSLT issue, there is a semantic flaw if you need to
differentiate null from default values as defined in the DTD ;) ...

If it's not the case, you can just test that the 3 values of the
attribute are not all equal to their default values.

Otherwise, if you do need to force the parser to skip the DTD and if you
are using a SAX parser, you can implement a specific entity resolver
that will skip this DTD...

Eric

> > Thanks,
> >
> > Bryan
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.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


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.