Re: [xsl] simple xsl:processing-instruction question

Subject: Re: [xsl] simple xsl:processing-instruction question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 8 Nov 2005 14:21:50 GMT
Also, your input file isn't well formed, some of the indentation appears
to be with byte 160 which is a latin1 no breaking space, but this file
will default to utf8 encoding.

Once that's fixed the file loads into IE without error but the second
transformation doesn't run, IE pretty much always assumes te houtput of
xslt is html and passes it straight to the renderer. An xml-stylesheet
at the top of the output has no effect, as teh output is not parsed as XML.

If you need to chain transformations starting from
xml-processing-instruction you need the firsttransform to write out an
html file that contains a script block which then calls msxsml from
javascript, you can then have much more control over what happens to the
output.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread