 |
 |
 |
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: [xsl] 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
|
 | 



|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |