Subject: RE: [xsl] Modern web site design with XML and XSLT From: Scott Trenda <Scott.Trenda@xxxxxxxx> Date: Wed, 06 Jan 2010 13:33:38 -0500 |
Quick off-topic question on this note - does anyone know what non-Mozilla browsers return for a transformToDocument call from a processor with <xsl:output method="text"/>? I can't imagine it'd be a <transformiix:result> node for non-Transformiix processors, but other browsers seem to have followed Mozilla's Javascript XSLTProcessor() implementation down to the letter, so I'm curious what they do in this case. (Is there an official W3C recommendation for the XSLTProcessor interface yet?) ~ Scott -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Wednesday, January 06, 2010 12:25 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Modern web site design with XML and XSLT > Unless someone knows of a browser that supports <xsl:output/> ? firefox supports it if transform is intiated from javascript, not sure of xml-stylesheet pi https://developer.mozilla.org/en/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations var newDocument = processor.transformToDocument(domToBeTransformed); The resultant object is an HTMLDocument if the output method of the stylesheet is html, an XMLDocument for xml, and for output method text an XMLDocument with a single root element <transformiix:result> with the text as a child. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Modern web site design wi, COUTHURES Alain | Thread | [xsl] Unparsed-text-available retur, Brian Newman |
[xsl] URI Resolution for document(', Roger L. Cauvin | Date | RE: [xsl] URI Resolution for docume, Michael Kay |
Month |