> I have an XML data island in my aspx web page. The XML includes a link
(processing instruction) to an XSL stylesheet. Is there any way on this
page to view the HTML, that results from the xsl transformation, as the
contents of, say, a div? I know I can do it if I display only the XML in IE, but I
don't know if I can do it as a fragment of an existing HTML page.
Yes you can. It will require some Javascript.
I don't have time to hack out a full example for you this morning as I'm off
for my Sat bike ride, but, take a look
at the example code from Chapter 7 of Glasshaus Practical XML For The Web.
http://support.apress.com/books.asp?bId=66&s=1 http://www.amazon.com/exec/obidos/AS...151086/nova-20
In this chapter I demonstrate how to write this sort of stuff in a manner
that will work across both IE and the Netscape derriviatives.
Chreers
Chris
-------------------------------------------
Kognition Consulting Limited - Thought Meets Technology
Chris J.T. Auld - Managing Director
Microsoft MVP (Windows Mobile Devices)
Phone: +64 3 453 0064
Mobile: +64 21 500 239
Email:
ch***@kognition.co.nz