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

specifying DOCTYPE DTD for XSL transformation

Subject: specifying DOCTYPE DTD for XSL transformation
From: "Volkmann, Mark" <Mark.Volkmann@xxxxxxxxxxxxx>
Date: Wed, 29 Sep 1999 15:36:27 -0500
specifying doctype
Title: specifying DOCTYPE DTD for XSL transformation

Sorry if this message is a repeat.  I sent it before I was officially added to the mailing list and so didn't see any replies.

I've combed the XSL specs. and can't find a way to do this.

I have an XSL style sheet that transforms an XML document to another XML document.
Is there a way to specify the DOCTYPE of the resulting XML document in the XSL?

There are many reasons to need this capability.
My immediate need is to be able to pick up attribute defaults from the DTD.

P.S.  The following template rule does not work in IE5.

  <xsl:template match="/">
    <xsl:text disable-output-escaping="yes">
      <![CDATA[
        <!DOCTYPE portfolio SYSTEM "Table.dtd">
      ]]>
    </xsl:text>
    <xsl:apply-templates select="child"/>
  </xsl:template>

--
 __  __
/  \/  \        Object Computing, Inc.
\      / ark    (314)589-1617 pager
 \    /         (314)955-8123 A.G.Edwards
  \  / olkmann  (314)579-0066 OCI
   \/           volkmann@xxxxxxxxxx

Current Thread

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.