|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to "copy" a DTD reference?
Yes, I do mean DOCTYPE declaration's.
And I suspected as much, but I was unsure. Good thing I've also got xsd versions of my DTD's as well. I'm at the point of deciding if I want to continue to try to support the transforms of XML that maintain the DTD references in the output. Since theres no simple parser/transformer solution I'm starting to feel emphatically "no". -thanks guys, Mark J.Pietschmann wrote: > > Not easily. You can specify a public and system id for a DTD to be > referenced in a DOCTYPE decl in the result using xsl:output, but there > is no way to retrieve them from the input from within the style sheet. > You can't use the usual trick of passing the values as parameters > either, because (AFAIK) xsl:output properties are constants. Some > processors allow the values to be AVTs, check whether it works with > yours. > > If you use the XSLT from Java (JAXP), you could try to get the > input DTD from an entity resolver and use it to set the output > properties of the transformer object. > > J.Pietschmann Wendell Piez wrote: Hi Mark, 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
|

Cart








