O'Reilly logo

XML and Java™ from scratch by Nicholas Chase

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required