Subject: RE: RE: DTD within an XML document
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 7 Apr 2003 19:48:06 +0100
|
> Hi,
> I've been trying to find a solution to this for the last two
> days so I would really appreciate if someone could give me
> some help. The problem is simple: I need to write a
> stylesheet that outputs something like:
>
> <!DOCTYPE test SYSTEM [
> ...entities definition...
> ]>
>
Since a result tree cannot contain entity references, there's not much
point in having a DTD containing entity definitions, which is why XSLT
provides no facility for this.
You could try the saxon:doctype extension.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|