Chapter 9. XML Formatting Strategies

 

XML is like a VW Jetta: environmentally sensitive, slow, dependable, and terminally uncool. Lasts a lifetime.

 
 --Nat Torkington

As terminally uncool as XML may be perceived by some, one aspect of XML that certainly isn’t uncool is XML formatting. The reason is because you can dress up XML quite a bit by formatting it properly. There are two fundamentally different approaches to formatting XML documents, both of which you learn about in this hour and in the remainder of this part of the book. I’m referring to Cascading Style Sheets (CSS) and eXtensible Style Language (XSL). CSS is already in use around the Web as a means of formatting HTML web pages above and beyond the limited formatting capabilities of HTML. ...

Get Sams Teach Yourself XML in 24 Hours, Third Edition 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.