13.07.2015 Views

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14: XMLFigure 14-3bYou’ve just seen what including both the XML declaration and the XML stylesheet declaration doesto an XML document. In the following Try It Out, you’ll update the Spicy Thai Peanut Sauce recipe presentedin Example 14-1 so that it has an XML declaration and a reference to an XML style sheet.Try It OutAdding an XML Declaration and <strong>Style</strong> DeclarationExample 14-2. The steps below add an XML declaration and style sheet reference to the Spicy Thai PeanutSauce recipe document.1. Open Example_14-1.xml and add the following modifications:2. Save this file as Example_14-2.xml3. Create a blank style sheet and save it as Example_14-2.css. This results in the output depictedin Figure 14-4.513

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!