Transform External Example
This example shows you how use an Xml document and an Xslt document that are located elsewhere in your system, either as a Smartsite item or on disk.
Smartsite SXML | Copy Code |
---|---|
<se:transform> <se:parameters> <se:parameter name="xmllocation">19763</se:parameter> <se:parameter name="xsltlocation">19764</se:parameter> </se:parameters> </se:transform> |
Example Result | Copy Code |
---|---|
<html> <body> <h2>My collection of books</h2> <table border="1"> <tr bgcolor="#9acd32"> <th align="left">Title</th> <th align="left">Author</th> </tr> <tr> <td>Writing a number as the sum of two squares.</td> <td>Edsger W. Dijkstra</td> </tr> <tr> <td>Computer Networks</td> <td>Andrew S. Tanenbaum</td> </tr> </table> </body> </html> |