This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: propagating entities definitions into resulting XML
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: propagating entities definitions into resulting XML
- From: "DuCharme, Robert" <Robert dot DuCharme at moodys dot com>
- Date: Fri, 21 Jul 2000 14:56:04 -0400
- Reply-To: xsl-list at mulberrytech dot com
>Does anybody know how I could this, then :
>Have an file with my entities included (by a parameter file entity) in my
>result XML doc ?
>Would something like this work, for example :
><!DOCTYPE test SYSTEM "test.dtd" [
> <!ENTITY % myent PUBLIC "-//ME//MYENT//EN" "myent.ent">
> %myent;
>]>
Using an output element like this
<xsl:output method="xml" doctype-system="test.dtd"/>
you could output
<!DOCTYPE test SYSTEM "test.dtd">
but I know of no way to output an internal DTD subset (the stuff in the
square brackets) with it. If test.dtd includes a general parameter entity
reference to myent.ent, that may serve your needs.
Bob DuCharme www.snee.com/bob <bob@
snee.com> "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list