Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
XML Hacks
SPECIAL OFFER: Upgrade this ebook with O’Reilly A Note Regarding Supplemental Files 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
1. Looking at XML Documents
Hacks #1-10 Hack #1. 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
Hack #2. Display an XML Document in a Web Browser Hack #3. Apply Style to an XML Document with CSS
Processing Instructions Cascading Style Sheets Applying a Stylesheet to an XML Document See Also
Hack #4. Use Character and Entity References
Character References
The xml:lang attribute
Entity References
Hack #5. Examine XML Documents in Text Editors
Vim Emacs with nXML See Also
Hack #6. Explore XML Documents in Graphical Editors
xmlspy xRay2 <oXygen/> See Also
Hack #7. Choose Tools for Creating an XML Vocabulary
Well-Formedness, Validation, and Schemas
DTD Other schema languages
Namespaces See Also
Hack #8. Test XML Documents Online
RUWF RXP Brown University’s Validation Form
Hack #9. Test XML Documents from the Command Line
RXP xmlvalid xmllint xmlwf
Hack #10. Run Java Programs that Process XML
JAR Files The Java Classpath Using a JAR File as an Executable on Windows 2000 or XP
2. Creating XML Documents
Hacks #11-30 Hack #11. Edit XML Documents with <oXygen/> Hack #12. 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
Hack #13. Edit XML with Vim
Basic Configuration Syntax Highlighting Indentation Folding Automation See Also
Hack #14. Edit XML Documents with Microsoft Word 2003
Attaching Schemas to Word Using XSLT with Word 2003 Saving Word 2003 Files as XML See Also
Hack #15. Work with XML in Microsoft Excel 2003
See Also
Hack #16. Work with XML in Microsoft Access 2003
See Also
Hack #17. Convert Microsoft Office Files, Old or New, to XML
DocBook
Hack #18. Create an XML Document from a Text File with xmlspy
See Also
Hack #19. Convert Text to XML with Uphill
Trying It Out How the Code Works
The markup class The uphill class
Summary See Also
Hack #20. Create Well-Formed XML with Minimal Manual Tagging Using an SGML Parser
From HTML to XML Marking Up the Names of People See Also
Hack #21. Create an XML Document from a CSV File
See Also
Hack #22. Convert an HTML Document to XHTML with HTML Tidy Hack #23. Transform Documents with XQuery
See Also
Hack #24. 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
Hack #25. Include Text and Documents with Entities
Unparsed Entities and Notations
Hack #26. Include External Documents with XInclude
See Also
Hack #27. Encode XML Documents
ISO/IEC 8859 UTF-8 and UTF-16
The Byte Order Mark
See Also
Hack #28. Explore XLink and XML
XML Base XLink Other XLink Functionality
Extended links XLink linkbases
See Also
Hack #29. What’s the Diff? Diff XML Documents
DecisionSoft’s xmldiff DeltaXML’s XML Comparator IBM’s XML Diff and Merge Tool See Also
Hack #30. Look at XML Documents Through the Lens of the XML Information Set
3. Transforming XML Documents
Hacks #31-58 Hack #31. Understand the Anatomy of an XSLT Stylesheet
The Document Element Templates
Using apply-templates A literal result element The attribute value template The copy-of and copy elements
Hack #32. Transform an XML Document with a Command-Line Processor
Saxon
Instant Saxon Full Java version of Saxon
Xalan MSXSL
Hack #33. Transform an XML Document Within a Graphical Editor
xmlspy xRay2 <oXygen/> See Also
Hack #34. Analyze Nodes with TreeViewer Hack #35. Explore a Document Tree with the xmllint Shell
xmllint Shell Commands
Hack #36. View Documents as Tables Using Generic CSS or XSLT Hack #37. Generate an XSLT Identity Stylesheet with Relaxer Hack #38. Pretty-Print XML Using a Generic Identity Stylesheet and Xalan Hack #39. Create a Text File from an XML Document
Built-in Templates
Hack #40. Convert Attributes to Elements and Elements to Attributes
Element-to-Attribute Conversion Attribute-to-Element Conversion See Also
Hack #41. Convert XML to CSV
See Also
Hack #42. Create and Process SpreadsheetML Hack #43. Choose Your Output Format in XSLT Hack #44. Transform Your iTunes Library File Hack #45. Generate Multiple Output Documents with XSLT 2.0 Hack #46. Generate XML from MySQL Hack #47. Generate PDF Documents from XML and CSS Hack #48. Process XML Documents with XSL-FO and FOP
XSL-FO Basics Generating a PDF See Also
Hack #49. Process HTML with XSLT Using TagSoup
Using TagSoup and TSaxon
Hack #50. Build Results with Literal Result and Instruction Elements
Literal Result Elements and Literal Text Instruction Elements
Hack #51. Write Push and Pull Stylesheets Hack #52. Perform Math with XSLT Hack #53. Transform XML Documents with grep and sed
grep sed See Also
Hack #54. Generate SVG with XSLT
See Also
Hack #55. Dither Scatterplots with XSLT and SVG Hack #56. Use Lookup Tables with XSLT to Translate FIPS Codes
The FIPS Code Example Putting the Lookup Table in the Stylesheet Running the Hack
Hack #57. Grouping in XSLT 1.0 and 2.0
Grouping with XSLT 1.0 Grouping with XSLT 2.0 See Also
Hack #58. Use EXSLT Extensions
EXSLT’s date:date( ), date:time( ), and math:lowest( ) Functions EXSLT’s exsl:node-set Function See Also
4. XML Vocabularies
Hacks #59-67 Hack #59. Use XML Namespaces in an XML Vocabulary
See Also
Hack #60. Create an RDDL Document
See Also
Hack #61. Create and Validate an XHTML 1.0 Document
See Also
Hack #62. Create Books, Technical Manuals, and Papers in XML with DocBook
See Also
Hack #63. Create a SOAP 1.2 Document
See Also
Hack #64. Identify Yourself with FOAF
The FOAF Vocabulary Personal Metadata Identifying Marks It’s Who You Know Finer-Grained Relationships Image Is Everything Publishing FOAF Data See Also
Hack #65. Unravel the OpenOffice File Format
See Also
Hack #66. Render Graphics with SVG
See Also
Hack #67. Use XForms in Your XML Documents
Anatomy of an XForms Document Simple Approaches to Trying Out XForms A Working Example See Also
5. Defining XML Vocabularies with Schema Languages
Hacks #68-79 Hack #68. Validate an XML Document with a DTD
External Subset
The text declaration Element type declarations and content models Attribute-list declarations
Internal Subset
Using an internal subset and an external subset together
Parameter Entities Other Things That Can Go in a DTD
Comments Conditional sections Unparsed entities and notations
Hack #69. Validate an XML Document with XML Schema
A Quick Introduction to XML Schema Validation with XML Schema Tools
XSD Schema Validator
xmllint xsv Other XML Schema Features See Also
Hack #70. Validate Multiple Documents Against an XML Schema at Once Hack #71. Check the Integrity of a W3C Schema Hack #72. Validate an XML Document with RELAX NG
XML Syntax
xmllint Jing A more complex RELAX NG schema
Compact Syntax
Jing with compact syntax RNV A more complex RELAX NG schema in compact syntax
See Also
Hack #73. Create a DTD from an Instance
Trang Relaxer DTDGenerator xmlspy
Hack #74. Create an XML Schema Document from an Instance or DTD
LuMriX.net’s DTD2XS Microsoft XSD Inference 1.0 Trang Relaxer xmlspy
Hack #75. Create a RELAX NG Schema from an Instance
Trang (XML Syntax) Relaxer (XML Syntax) Trang (Compact Syntax)
Hack #76. Convert a RELAX NG Schema to XML Schema Hack #77. Use RELAX NG and Schematron Together to Validate Business Rules
Pulling Schematron Out of RELAX NG See Also
Hack #78. Use RELAX NG to Generate DTD Customizations
Generating an RNC Schema
Flattening your DTD Generating an RNC schema from your flattened DTD
Creating an RNC Schema Customization File Compiling Your Customization File Converting Your RNC Customization File to RNG XML Syntax Using incelim.xsl to Compile Your RNG Customization File Generating Your DTD Subset
Hack #79. Generate Instances Based on Schemas
Generating an Instance with xmlspy Generating an Instance with the Sun Instance Generator See Also
6. RSS and Atom
Hacks #80-90 Hack #80. Subscribe to RSS Feeds
Radio UserLand AmphetaDesk NewsGator See Also
Hack #81. Create an RSS 0.91 Document Hack #82. Create an RSS 1.0 Document
See Also
Hack #83. Create an RSS 2.0 Document
See Also
Hack #84. Create an Atom Document
Feed Entries See Also
Hack #85. Validate RSS and Atom Documents
See Also
Hack #86. Create RSS with XML::RSS
See Also
Hack #87. Syndicate Content with Movable Type
Syndicating the Whole Post Including Trackback Links Creating Specialized Feeds Category Feeds Syndicating Comments
Hack #88. Post RSS Headlines on Your Site
The Code Running the Hack
Hack #89. Create RSS 0.91 Feeds from Google Hack #90. Syndicate a List of Books from Amazon with RSS and ASP
What You Need The Code Running the Hack
7. Advanced XML Hacks
Hacks #91-100 Hack #91. Pipeline XML with Ant
Validating an XML Document The Jing Task An XML Pipeline Example See Also
Hack #92. Use Elements Instead of Entities to Avoid the “amp Explosion Problem”
See Also
Hack #93. Use Cocoon to Create a Well-Formed View of a Web Page, Then Scrape It for Data
Cocoon in 60 Seconds Running the Hack Extending the Hack
Hack #94. From Wiki to XML, Through SGML
SGML: A Language for Describing Wikis An SGML Document Type for Wiki Which Wiki? Wiki as SGML
Hack #95. Create Well-Formed XML with JavaScript
The Element Function Adding Attributes Extending the Hack Creating Large Chunks of XML See Also
Hack #96. Inspect and Edit XML Documents with the Document Object Model
DOM Inspector Python’s minidom DOM in Java See Also
Hack #97. Processing XML with SAX
A Little Help from SAX See Also
Hack #98. Process XML with C#
Getting C# Writing an XML Document with XmlTextWriter Reading XML See Also
Hack #99. Generate Code from XML
Using Relaxer to Generate Java Using xmlspy to Generate C# See Also
Hack #100. Create Well-Formed XML with Genx
Setting Up Genx Compiling Genx A First Example Declare Markup for Better Performance
Index About the Author Colophon SPECIAL OFFER: Upgrade this ebook with O’Reilly
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion