[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: XSL DOCTYPE
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Tue, 8 Mar 2005 15:13:03 -0700
c. p. writes:
> I am doing a XML-to-XML transformation using XSL.  In
> the newly formed (target) xml, I would like to carry
> over any Doctype/entity declarations that existed in
> the old (source) xml.  Additionally in the newly
> formed (target) xml, I would like to add some
> additional entities.
> 
> Is there a way to do this?  Is it even possible?

You can generate a DOCTYPE declaration (excluding an internal DTD
subset, which is where the entity declarations are) by specifying the
doctype-public and/or doctype-system attributes of the xsl:output
instruction.

-- 
Kevin Rodgers

Current Thread
  • XSL DOCTYPE
    • c p - 8 Mar 2005 18:21:25 -0000
      • Michael Kay - 8 Mar 2005 21:45:49 -0000
      • Kevin Rodgers - 8 Mar 2005 22:17:04 -0000 <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member