Over 10 Million Study Resources Now at Your Fingertips


Download as :
Rating : ⭐⭐⭐⭐⭐
Price : $10.99
Language:EN
Pages: 2

The first handles errors globally

440

Chapter 14

<xsl:import href=”xsql-error.xsl”/>

Notice that you are doing an import this time, not an include. The reasoning is that you can override the default template on a page-by-page basis. For instance, if this error comes up in prod-search.xsl, you know that it was caused by a bad search string. You can put the following template in prod-search.xsl to handle the error:

Building XSQL Web Applications 441

Hey! Don’t use single quotes in your searches. They aren’t allowed.

</xsl:template>

Figure 14.17 Default behavior with error handling template.

How It Works
Login account
Login Your Account
Add to cart
Add to Cart
Payment
Make payment
Document download
Download File
PageId: ELIC734868
img
Uploaded by :
8dm3kROx
Page 1 Preview
the first handles errors globally
Sell Your Old Documents & Earn Wallet Balance