XML Hacks: 100 Industrial-Strength Tips and Tools 9781449397753, 1449397751, 9780596007119, 0-596-00711-6

Developers and system administrators alike are uncovering the true power of XML, the Extensible Markup Language that ena

484 117 3MB

English Pages 482 Year 2010

Report DMCA / Copyright

DOWNLOAD FILE

XML Hacks: 100 Industrial-Strength Tips and Tools
 9781449397753, 1449397751, 9780596007119, 0-596-00711-6

Table of contents :
Content: 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
Looking at XML Documents
Read an XML Document
The XML Declaration
Version information
The encoding declaration
The standalone declaration
Comments
Elements
Mixed content
Attributes
Character references
CDATA Sections
See Also
Display an XML Document in a Web Browser
Apply Style to an XML Document with CSS
Processing Instructions
Cascading Style Sheets. Applying a Stylesheet to an XML DocumentSee Also
Use Character and Entity References
Character References
The xml:lang attribute
Entity References
Examine XML Documents in Text Editors
Vim
Emacs with nXML
See Also
Explore XML Documents in Graphical Editors
xmlspy
xRay2

See Also
Choose Tools for Creating an XML Vocabulary
Well-Formedness, Validation, and Schemas
DTD
Other schema languages
Namespaces
See Also
Test XML Documents Online
RUWF
RXP
Brown University's Validation Form
Test XML Documents from the Command Line
RXP
xmlvalid
xmllint
xmlwf. Run Java Programs that Process XMLJAR Files
The Java Classpath
Using a JAR File as an Executable on Windows 2000 or XP
Creating XML Documents
Edit XML Documents with
Edit XML Documents with Emacs and nXML
Spotting Validity Errors in Real Time
Getting Help with nXML
Using Context-Sensitive Completion
Making nXML Work Your Way
Entering and Displaying Special Characters
See Also
Edit XML with Vim
Basic Configuration
Syntax Highlighting
Indentation
Folding
Automation
See Also
Edit XML Documents with Microsoft Word 2003
Attaching Schemas to Word
Using XSLT with Word 2003. Saving Word 2003 Files as XMLSee Also
Work with XML in Microsoft Excel 2003
See Also
Work with XML in Microsoft Access 2003
See Also
Convert Microsoft Office Files, Old or New, to?XML
DocBook
Create an XML Document from a Text File with?xmlspy
See Also
Convert Text to XML with Uphill
Trying It Out
How the Code Works
The markup class
The uphill class
Summary
See Also
Create Well-Formed XML with Minimal Manual Tagging Using an SGML Parser
From HTML to XML
Marking Up the Names of People
See Also
Create an XML Document from a CSV File
See Also. Convert an HTML Document to XHTML with HTML TidyTransform Documents with XQuery
See Also
Execute an XQuery with Saxon
Executing XQuery from a File Using Saxon
Piping Queries to Saxon
Executing XQuery from Java Using XQJ
Executing XQuery on the Web
See Also
Include Text and Documents with Entities
Unparsed Entities and Notations
Include External Documents with XInclude
See Also
Encode XML Documents
ISO/IEC 8859
UTF-8 and UTF-16
The Byte Order Mark
See Also
Explore XLink and XML
XML Base
XLink
Other XLink Functionality
Extended links
XLink linkbases
See Also.

Polecaj historie