[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: feature request
> xsl:output permits me to specify the doctype-public and > doctype-system, but it doesn't allow me to specify > any internal dtd additions (I'm particularly thinking of > entity additions). > > Because of this I need to kludge it with > <xsl:text disable-output-escaping="yes"> > to get the entity in > But your output won't contain any entity references unless you have even more such kludges, so removing this one kludge wouldn't help much would it? If you need a local subset it is probably more convenient in xsl to instead have a top level dtd file that you specify in doctype-system that has anyother local modifications and then brings in in your `public' DTD as an external entity. If you don't mind using an extension element you can write out this file using xt:output or similiar, if its contents depend on the source document. So rather than <!DOCTYPE xxx SYSTEM "a.dtd" [ <!ELEMENT new ....> ]> <xxx> do <!DOCTYPE xxx SYSTEM "new-a.dtd"> <xxx> and write out new-a.dtd to look like <!ELEMENT new ....> ... <!ENTITY % original-a SYSTEM "a.dtd"> %original-a; David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|