Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: RE: [xsl] DTD

From: "tinku" <amegha1@-------------->
To:
Date: 5/1/2002 12:18:00 AM
Thanks for the answer.



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



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



-------
Tinku

On Wed, 01 May 2002 Michael Kay wrote :
XSLT doesn't generate a DTD for the result tree. It would serve 
no useful

purpose.



When you do a transformation, you typically have in mind the 
structure of

the XML you want to generate. If you want to validate that the 
result

document actually conforms to this structure, you can add a 
DOCTYPE

declaration to the output file using <xsl:output>. The 
responsibility of

producing output that is actually valid according to the target 
DTD falls

entirely on the stylesheet author.



Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----

> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx

> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of 
tinku

> Sent: 01 May 2002 07:40

> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx

> Subject: [xsl] DTD

>

>

> Hi,

>

>     XSLT is used to transform an input XML tree into a result 
XML

> tree. Input XML tree has a DTD on which it is validated. But 
when

> we transform an input XML tree, XSLT produces a new XML tree 
which

> is completely different from the input tree. I wonder, how 
XSLT

> generates a new DTD for that result tree?.

>

> Thanks.

> 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




_________________________________________________________

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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

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.

.
.

transparent

transparent