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

RE: DTD

Subject: RE: DTD
From: "Dion Houston" <dionh@xxxxxxxxxxxxx>
Date: Wed, 1 May 2002 02:59:10 -0700
RE:  DTD
Hi Tinku:

(anyone else on the list please correct me if I'm wrong)

XSLT doesn't do anything at all with DTD's other than to allow you to
specify one on an output file.

In the case of a DTD present in an XML file, XSLT won't see it, and
therefore has no ability to copy it (not to mention, XSLT works with
source _xml_ files, not DTD)

In the case of default value, entities, etc, the DOM (or underlying
document model) expands out the values.  Therefore if you have a default
value of "default" for an attribute "bar" on element "foo", XSLT sees

<foo bar="default"/>

If your source contains:

<foo/>

And if you do a copy of that element, your output will be:

<foo bar="default"/>

HTH!

Dion

-----Original Message-----
From: tinku [mailto:amegha1@xxxxxxxxxxxxxx] 
Sent: Wednesday, May 01, 2002 2:33 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  DTD

hi,

Does XSLT processor modifies the DTD present in the original input 
file?

How does the XSLT processor restores the default values present in 
the DTD in the input file?

-------
Tinku



_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs


 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
  • DTD
    • tinku - Wed, 1 May 2002 02:42:47 -0400 (EDT)
      • <Possible follow-ups>
      • tinku - Wed, 1 May 2002 04:17:36 -0400 (EDT)
      • tinku - Wed, 1 May 2002 05:31:39 -0400 (EDT)
      • Dion Houston - Wed, 1 May 2002 05:53:39 -0400 (EDT) <=

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.