Manipulating an XSL Style Sheet

Finally, we need to output a message to our users to let them know the product was successfully added to their orders. When we do this, however, we want to ensure that we use the same format as the rest of the site.

We've gone to great lengths to modularize our style sheets. We've even pulled our main interface elements out into a separate style sheet, topinclude.xsl. What we want to do now is use topinclude.xsl, but change it slightly so the result looks similar to Figure 5.6. topinclude.xsl, you might remember, looks similar to Listing 5.19.

Figure 5.6. The final results page is displayed.

Listing 5.19. topinclude.xsl ...

Get XML and Java™ from scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.