[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Modern web site design with XML and XSLT


Subject: Re: [xsl] Modern web site design with XML and XSLT
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 6 Jan 2010 18:24:33 GMT

> 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
Keywords
xml