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

Re: Inline DTD in stylesheet

  • From: Wayne Steele <xmlmaster@h...>
  • To: xmldude@b..., xml-dev@l...
  • Date: Fri, 13 Apr 2001 10:53:59 -0700

inline dtd

Sadly, DTDs seem to be second class citizens for most XML specs. XSLT is no 
exception.

I don't know of an easy way to do it, but perhaps a kludge could be found.

Are you trying to:
   1. Always output the same Internal DTD subset; or
   2. Create a custom Internal DTD subset through XSLT

Also, is there a reason you can't use an External DTD subset?

-Wayne Steele


>From: Kevin Burges <xmldude@b...>
>Reply-To: Kevin Burges <xmldude@b...>
>To: xml-dev <xml-dev@l...>
>Subject: Inline DTD in stylesheet
>Date: Thu, 12 Apr 2001 12:36:47 +0100
>
>
>I'm trying to create a simple stylesheet which extracts a list
>of field names and field references from an XML document. I want the
>XSL output to have an inline DTD so I can validate the output (using
>ID/IDREF)
>
>How can I get the stylesheet to generate the DTD in the output file?
>I've tried just including the DTD within the root stylesheet template,
>but no joy.
>
>Surely this must be a trivial problem?
>
>--
>May the flares be with you,
>  Kevin                   mailto:xmldude@b...
>
>+++++++++++++ Cool music - http://mp3.com/marshan
>++ Attitude Rock Webzine - http://burieddreams.com/attitude

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.