xsl-list
[Top] [All Lists]

RE: RE: DTD within an XML document

2003-04-07 11:48:06
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>