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 341
Figure 8.2 is an XSL style sheet that produces an HTML document.
Figure 8.2 XSL Style Sheet
<?xml version="1.0">
<xsl:template xmlns:xsl="uri.xsl">
<HTML>
<HEAD>
<TITLE>Product list</TITLE>
</HEAD>
<BODY>
<TABLE cellpadding="3" cellspacing="0" border="1">
<xsl:repeat for="Products/Product>
<TR>
<TD>
<xsl:get-value for="ProductName"/>
</TD>
<TD>
<xsl:get-value for="ProductPrice">
</TD></TR>
</xsl:repeat>
</TABLE>
</BODY>
</HTML>
</xsl:template>
When the XML document in Figure 8.1 is transformed using the
XSL style sheet in Figure 8.2, the HTML shown in Figure 8.3 is the
result.
www.syngress.com
137_hackapps_08 6/19/01 3:40 PM Page 341
342 Chapter ...
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