XML for the World Wide Web is a sound guide to the basics

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

ANALYSIS
Many technical reference guides are so densely packed that finding the information you need is like hunting for the proverbial sewing implement among a stack of livestock feed. So I was happy to come across XML for the World Wide Web. Its refreshing approach and reader-friendly design make it easy to concentrate on the concepts being presented. If you have a free weekend and need to get a basic handle on XML, this is a good book to peruse. One of several Visual QuickStart Guides published by Peachpit Press, XML for the World Wide Web makes excellent use of page layout to make it easier to absorb the details. Each page is laid out into two columns. The outside column contains detailed explanations of the concepts. The inside column includes sample code to demonstrate the explanations. The demonstration code is highlighted in red, which makes it easier to grasp the related concept. A companion Web site offers extra tips and source code examples.
 

XML for the World Wide Web: Visual QuickStart Guide
By Elizabeth Castro
Peachpit Press

Date published: October 2000
Softcover; 272 pages
ISBN: 0201710986
Price: $15.99 at fatbrain.com


 
What this book covers
The book is divided into seven parts:
  • Part 1: XML
  • Part 2: DTDs
  • Part 3: XML Schema and Namespaces
  • Part 4: XSLT and XPath
  • Part 5: Cascading Style Sheets
  • Part 6: XLink and Xpointer
  • Appendices
In Part 1: XML, Castro introduces the basics, including elements, attributes, and values. In each section, she describes how to create the tags and offers some tips. For example, in a section on adding attributes, you learn how to add the values "English" and "Latin" to the attribute "Language." Among the tips for that topic: Attribute values must be in quotes, and no two attributes may have the same name. In Part 2: DTDs, you learn how to declare internal and external Document Type Definitions (DTDs), how to define elements and attributes, and how to create shortcuts for text and DTDs. The 65-page Part 3: XML Schema and Namespaces includes an overview of schemas written using the XML Schema language, which, according to Castro, "lets you define both global elements (that must be used in the same way throughout the XML document) and local elements (that can have a particular meaning in a particular context)." This section was particularly helpful to me in gaining an overall understanding of how to actually use XML. In Part 4: XSLT and XPath, you learn how to transform and format XML documents by creating templates using Extensible Stylesheet Language Transformations (XSLT) and gain an understanding of how to use XML's Path Language (XPath) to reduce the amount of code required. Part 5: Cascading Style Sheets is as good an overview on CSS as I've seen, whether you'll be using CSS with XML or HTML. Part 6: XLink and XPointer discusses links and images and identifies which are not supported on any major browsers as of the printing date of the book. Finally, the book includes appendices on XHTML, XML tools, special symbols, and colors in hex, all of which serve as nice references. Endangered data
Data throughout the book describes the subspecies of tigers, their native habitats, collective numbers, and threats. Author Elizabeth Castro bases all her examples on real facts, most of which come from the World Wildlife Fund Web site. "There are only 5,000 tigers left!" she mentions in the Colophon at the end of the book, urging readers, "conservationists or not," to help protect the planet. What this book doesn't cover
XML for The World Wide Web is best suited for a beginner with basic knowledge of HTML or for a developer who needs to cut to the chase and understand XML quickly. It doesn't cover more advanced XML concepts, such as SOAP, Simple API for XML (SAX), or Document Object Model (DOM). It also doesn't show you how to integrate XML with other languages, such as Java. For that, I'd reach for Java and XML, Second Edition by Brett McLaughlin, published by O'Reilly. (But then, as you might know from a previous review, I often reach for O'Reilly books, especially the In a Nutshell series.) A great start
The friendly design of this book, combined with its competent beginner's overview, makes it worth the purchase. Keep in mind, though, that to advance your knowledge into a real-world application, you'll likely need additional resources and learning time beyond what this book provides.

For a weekly round-up of the enterprise IT news, sign up for the
Enterpise newsletter. Find out what's where in the new Tech Update with our
Guided Tour. Tell us what you think in the
Enterprise Mailroom.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

UnderINK

I agree with the previous commenter wholeheartedly. I couldn't say it better myself. This is very 'Big Brother'. And while I agree with protecting...

2 hours ago by UnderINK on European e-identity plan to be unveiled this month
Simon Bisson and Mary Branscombe

Nice to see that Turing's idea of a general purpose computer doing once-hardware-powered tasks in software is now universal ;-) Mary

7 hours ago by Simon Bisson and Mary Branscombe on Software with everything
Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

11 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

15 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

16 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

18 hours ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

18 hours ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

20 hours ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

21 hours ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

22 hours ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

2 days ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

2 days ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

2 days ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

2 days ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

2 days ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

2 days ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

2 days ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

2 days ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT
Mispam

So what do you do when you can't boot into windows? Why can't I just hold Shift while I power up instead of having to boot into windows and click a...

2 days ago by Mispam on Windows 8 start-up speed forces USB boot workaround
apexwm

I've also seen that Mac OS X for Intel machines is supposed to run in VirtualBox, which would also be a nice solution. I've never tried it though.

2 days ago by apexwm on xTreme Triple Booting: Linux, Mac & Windows