|
|
|
|
|
|
| |
XSLT Tutorial
Putting it all together, client side
Now we have our XML, we have our XSLT - but how do we put it all
together to display it in our HTML page?
This example demonstrates client side code, which is only supported
from IE5 browsers.
For a simple transformation, in our HTML page, we need to create a
Domdocument for the XML and the XSL file.
The Domdocument has a 'transformNode' method, which takes the
XSL DomDocument provided and returns a string of the transformed XML.
Open
Worksheet 8 for example of transforming your XML
|
|
|
|
|
|
|
|
|