[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xslt 1.1 xsl:document
> I don't understand what you mean by this. I have nested two > xsl:result-document elements in an XSLT 2 document - the > outer one has doctype-public and doctype-system attributes. > The inner one doesn't have these attributes and the file > created by the inner one doesn't inherit the doctype from the > outer one which is the behaviour I'm looking for. I'm using Saxon 8.x > > So where exactly does the problem still exist and are there > any potential pitfalls in using this methodology? There's no inheritance between nested xsl:result-document instructions in 2.0, but an analagous problem occurs if you have a named output definition (xsl:output name="x") and reference this from xsl:result-document; you can then override most of the serialization attributes in the xsl:result-document instruction, but you can't reset doctype-system and doctype-public to "absent". Michael Kay http://www.saxonica.com/
|
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
|