Skip to Main Content
Hack Proofing Your Web Applications
book

Hack Proofing Your Web Applications

by Syngress
June 2001
Intermediate to advanced content levelIntermediate to advanced
512 pages
18h 49m
English
Syngress
Content preview from Hack Proofing Your Web Applications
Securing XML • Chapter 8 351
<td>$<xsl:value-of select="pd:ProductPrice"/></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
Last but not least, we have code required to perform the XSL trans-
formation.The code is contained within the window onload event of
the following HTML document, as demonstrated in Figure 8.7. It will
load both the preceding XML document and XSL style sheet and then
transform the XML document using the XSL style sheet.The resulting
transformation is displayed within the <div> tag.
Figure 8.7 Products.html
<html>
<head>
<title>Product Listing</title>
<script language="javascript" for="window" event="onload">
var source = new ActiveXObject("Microsoft.XMLDOM"); ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developer's Guide to Web Application Security

Developer's Guide to Web Application Security

Michael Cross
The CERT® Oracle® Secure Coding Standard for Java™

The CERT® Oracle® Secure Coding Standard for Java™

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781928994312