Re: [xsl] XSL DOCTYPE

Subject: Re: [xsl] 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] XSL DOCTYPE
    • c p - Tue, 8 Mar 2005 10:21:01 -0800 (PST)
      • Michael Kay - Tue, 8 Mar 2005 21:45:17 -0000
      • Kevin Rodgers - Tue, 8 Mar 2005 15:13:03 -0700 <=