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

RE: DTD

Subject: RE: DTD
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 1 May 2002 08:55:29 +0100
result document add dtd
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:  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


Current Thread
  • DTD
    • tinku - Wed, 1 May 2002 02:42:47 -0400 (EDT)
      • Michael Kay - Wed, 1 May 2002 03:48:28 -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.