XML Hacks

( 1 )

Overview

Developers and system administrators alike are uncovering the true power of XML, the Extensible Markup Language that enables data to be sent over the Internet from one computer platform to another or one application to another and retain its original format. Flexible enough to be customized for applications as diverse as web sites, electronic data interchange, voice mail systems, wireless devices, web services, and more, XML is quickly becoming ubiquitous.XML Hacks is a roll-up-your-sleeves guide that distills ...

See more details below
Paperback
$20.30
BN.com price
(Save 18%)$24.95 List Price
Other sellers (Paperback)
  • All (27) from $1.99   
  • New (8) from $10.96   
  • Used (19) from $1.99   
XML Hacks: 100 Industrial-Strength Tips and Tools

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$11.49
BN.com price
(Save 42%)$19.99 List Price

Overview

Developers and system administrators alike are uncovering the true power of XML, the Extensible Markup Language that enables data to be sent over the Internet from one computer platform to another or one application to another and retain its original format. Flexible enough to be customized for applications as diverse as web sites, electronic data interchange, voice mail systems, wireless devices, web services, and more, XML is quickly becoming ubiquitous.XML Hacks is a roll-up-your-sleeves guide that distills years of ingenious XML hacking into a complete set of practical tips, tricks, and tools for web developers, system administrators, and programmers who want to go far beyond basic tutorials to leverage the untapped power of XML.With plenty of useful real-world projects that illustrate how to define, read, create, and manipulate XML documents, XML Hacks shows readers how to put XML's power to work on the Internet and within productivity applications. Each Hack in this book can be read easily in a few minutes, saving programmers and administrators countless hours of searching for the right answer. And this is an O'Reilly Hacks book, so it's not just practical, imminently useful, and time-saving. It's also fun.From Anatomy of an XML Document to Exploring SOAP Messages XML Hacks shows you how to save time and accomplish more with fewer resources. If you want much more than the average XML user—to explore and experiment, do things you didn't know you could do with XML, discover clever shortcuts, and show off just a little—this invaluable book is a must-have.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Got a job to do with XML? Look it up in XML Hacks. Absorb the insights, review the examples, follow the instructions, and you’re done.

Some of the volumes in O’Reilly’s Hacks series take you into previously uncharted territory. This one focuses on 100 mainstream, core tasks: the stuff developers, content specialists, Web pros, and power users encounter most often. Some of it’s basic (but crucial to newcomers): styling XML documents with CSS, converting plain text files to XML with xmlspy, converting HTML to XHTML with HTML Tidy. Some of it’s sophisticated: using Cocoon; processing XML using DOM, SAX, Genx, or C#’s System.Xml namespace.

In between, Michael Fitzgerald covers the waterfront: transformations, vocabularies, schema languages, even RSS feeds. Simply put, this book is your shortcut to the XML solution you need today. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2003 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780596007119
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/26/2004
  • Series: Hacks Series
  • Edition number: 1
  • Pages: 480
  • Product dimensions: 6.02 (w) x 8.94 (h) x 1.00 (d)

Meet the Author

Michael Fitzgerald is a freelance writer and trainer specializing in XML and related technologies. He is the author of Building B2B Applications with XML and XSL Essentials, both published by John Wiley & Sons, and has published several articles for XML.com on the O'Reilly Network.

Read More Show Less

Table of Contents

Credits;
Author;
Contributors;
Preface;
Why XML Hacks?;
How This Book Is Organized;
Conventions Used in This Book;
Using Code Examples;
How to Contact Us;
Got a hack?;
Acknowledgments;
Chapter 1: Looking at XML Documents;
1.1 Hacks #1-10;
1 Read an XML Document;
2 Display an XML Document in a Web Browser;
3 Apply Style to an XML Document with CSS;
4 Use Character and Entity References;
5 Examine XML Documents in Text Editors;
6 Explore XML Documents in Graphical Editors;
7 Choose Tools for Creating an XML Vocabulary;
8 Test XML Documents Online;
9 Test XML Documents from the Command Line;
10 Run Java Programs that Process XML;
Chapter 2: Creating XML Documents;
2.1 Hacks #11-30;
11 Edit XML Documents with >/oXygen<;
12 Edit XML Documents with Emacs and nXML;
13 Edit XML with Vim;
14 Edit XML Documents with Microsoft Word 2003;
15 Work with XML in Microsoft Excel 2003;
16 Work with XML in Microsoft Access 2003;
17 Convert Microsoft Office Files, Old or New, to XML;
18 Create an XML Document from a Text File with xmlspy;
19 Convert Text to XML with Uphill;
20 Create Well-Formed XML with Minimal Manual Tagging Using an SGML Parser;
21 Create an XML Document from a CSV File;
22 Convert an HTML Document to XHTML with HTML Tidy;
23 Transform Documents with XQuery;
24 Execute an XQuery with Saxon;
25 Include Text and Documents with Entities;
26 Include External Documents with XInclude;
27 Encode XML Documents;
28 Explore XLink and XML;
29 What’s the Diff? Diff XML Documents;
30 Look at XML Documents Through the Lens of the XML Information Set;
Chapter 3: Transforming XML Documents;
3.1 Hacks #31-58;
31 Understand the Anatomy of an XSLT Stylesheet;
32 Transform an XML Document with a Command-Line Processor;
33 Transform an XML Document Within a Graphical Editor;
34 Analyze Nodes with TreeViewer;
35 Explore a Document Tree with the xmllint Shell;
36 View Documents as Tables Using Generic CSS or XSLT;
37 Generate an XSLT Identity Stylesheet with Relaxer;
38 Pretty-Print XML Using a Generic Identity Stylesheet and Xalan;
39 Create a Text File from an XML Document;
40 Convert Attributes to Elements and Elements to Attributes;
41 Convert XML to CSV;
42 Create and Process SpreadsheetML;
43 Choose Your Output Format in XSLT;
44 Transform Your iTunes Library File;
45 Generate Multiple Output Documents with XSLT 2.0;
46 Generate XML from MySQL;
47 Generate PDF Documents from XML and CSS;
48 Process XML Documents with XSL-FO and FOP;
49 Process HTML with XSLT Using TagSoup;
50 Build Results with Literal Result and Instruction Elements;
51 Write Push and Pull Stylesheets;
52 Perform Math with XSLT;
53 Transform XML Documents with grep and sed;
54 Generate SVG with XSLT;
55 Dither Scatterplots with XSLT and SVG;
56 Use Lookup Tables with XSLT to Translate FIPS Codes;
57 Grouping in XSLT 1.0 and 2.0;
58 Use EXSLT Extensions;
Chapter 4: XML Vocabularies;
4.1 Hacks #59-67;
59 Use XML Namespaces in an XML Vocabulary;
60 Create an RDDL Document;
61 Create and Validate an XHTML 1.0 Document;
62 Create Books, Technical Manuals, and Papers in XML with DocBook;
63 Create a SOAP 1.2 Document;
64 Identify Yourself with FOAF;
65 Unravel the OpenOffice File Format;
66 Render Graphics with SVG;
67 Use XForms in Your XML Documents;
Chapter 5: Defining XML Vocabularies with Schema Languages;
5.1 Hacks #68-79;
68 Validate an XML Document with a DTD;
69 Validate an XML Document with XML Schema;
70 Validate Multiple Documents Against an XML Schema at Once;
71 Check the Integrity of a W3C Schema;
72 Validate an XML Document with RELAX NG;
73 Create a DTD from an Instance;
74 Create an XML Schema Document from an Instance or DTD;
75 Create a RELAX NG Schema from an Instance;
76 Convert a RELAX NG Schema to XML Schema;
77 Use RELAX NG and Schematron Together to Validate Business Rules;
78 Use RELAX NG to Generate DTD Customizations;
79 Generate Instances Based on Schemas;
Chapter 6: RSS and Atom;
6.1 Hacks #80-90;
80 Subscribe to RSS Feeds;
81 Create an RSS 0.91 Document;
82 Create an RSS 1.0 Document;
83 Create an RSS 2.0 Document;
84 Create an Atom Document;
85 Validate RSS and Atom Documents;
86 Create RSS with XML::RSS;
87 Syndicate Content with Movable Type;
88 Post RSS Headlines on Your Site;
89 Create RSS 0.91 Feeds from Google;
90 Syndicate a List of Books from Amazon with RSS and ASP;
Chapter 7: Advanced XML Hacks;
7.1 Hacks #91-100;
91 Pipeline XML with Ant;
92 Use Elements Instead of Entities to Avoid the “amp Explosion Problem”;
93 Use Cocoon to Create a Well-Formed View of a Web Page, Then Scrape It for Data;
94 From Wiki to XML, Through SGML;
95 Create Well-Formed XML with JavaScript;
96 Inspect and Edit XML Documents with the Document Object Model;
97 Processing XML with SAX;
98 Process XML with C#;
99 Generate Code from XML;
100 Create Well-Formed XML with Genx;
Colophon;

Read More Show Less

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted August 22, 2004

    Very wide breadth of topics

    Very useful if you already deal with XML and need help with occasional tricky points. While you could try to learn XML from this book, I wouldn't suggest it. Whereas, if you already have some familiarity with DTDs, schemas and other topics like SOAP and Open Office, then the book is potentially far more useful. Perhaps the most intricate parts of the book deal with using XSLT to process XML documents. Trouble is, the XSLT usage can be very convoluted and non-obvious, unless you know it thoroughly. The hacks Fitzgerald describe that involve XSLT are neat. But, perhaps by necessity, they only hint at the depths beneath. Overall, the book shows the ever-growing scope of XML. From interacting with SQL databases to the Microsoft Office suite, to news feeds like RSS. The book is excellent motivation for gaining fluency in XML.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)