This title covers both the Microsoft and non-Microsoft approach to XML programming. It covers in detail aspects of XML such as, DTD's versus XML Schemas, CSS, XSL, Xlinks, Xpointers, XHTML, and parsing XML in Perl and Java.
Inside XML Summary
Inside XML by Steven Holzner
The XML explosion hardly needs any introduction-it's everywhere and there just seems to be no end to what can be done with XML. While writing to the W3C standards, and keeping up with the pace for corporate implementation, you, the programmer or web developer, will need a comprehensive guide to get you started and show you what XML and its related technologies can do. A thorough guide is imperative to success because you will need to know and understand the full scope of XML from day one in order to work with it successfully. With your time constraints and impossible project schedules, you need a comprehensive guide that fulfills your needs in one complete book. Inside XML is an anchor book that covers both the Microsoft and non-Microsoft approach to XML programming. It covers in detail the hot aspects of XML; such as, DTD's vs. XML Schemas, CSS, XSL, XSLT, Xlinks, Xpointers, XHTML, RDF, CDF, parsing XML in Perl and Java, and much more.
About Steven Holzner
Steven Holzner has been writing about XML about as long as XML has been around. He's written 63 books, all on programming topics, and selling well over a million copies. His books have been translated into 16 languages around the world and include a good number of industry bestsellers. He's a former contributing editor of PC Magazine, graduated from MIT, and received his Ph.D. at Cornell. He's been on the faculty of both MIT and Cornell.
Table of Contents
1. Essential XML. Markup Languages. What Does XML Look Like? What Does XML Look Like in a Browser? What's So Great About XML? Well-Formed XML Documents. Valid XML Documents. Parsing XML Yourself. XML Resources. XML Editors. XML Browsers. XML Parsers. XML Validators. CSS and XSL. XLinks and XPointers. URLs versus URIs. ASCII, Unicode, and the Universal Character System. XML Applications.
2. Creating Well-Formed XML Documents. The World Wide Web Consortium. What Is a Well-Formed XML Document? Markup and Character Data. The Prolog. The XML Declaration. Comments. Processing Instructions. Tags and Elements. The Root Element. Attributes. Building Well-Formed Document Structure. CDATA Sections. XML Namespaces. Infosets. Canonical XML.
3. Valid XML Documents: Creating Document Type Definitions. Creating Document Type Declarations. Creating Document Type Definitions. A DTD Example. External DTDs. Using Document Type Definitions with URLs. Public Document Type Definitions. Using Both Internal and External DTDs. Namespaces and DTDs. Validating Against a DTD.
4. DTDs: Entities and Attributes. Entities. Attributes. Creating Internal General Entities. Creating External General Entities. Building a Document from Pieces. Predefined General Entity References. Creating Internal Parameter Entities. External Parameter Entities. Using INCLUDE and IGNORE. All About Attributes. Embedding Non-XML Data in a Document. Embedding Multiple Unparsed Entities in a Document.
5. Creating XML Schemas. XML Schemas in Internet Explorer. W3C XML Schemas. Declaring Types and Elements. Specifying Attribute Constraints and Defaults. Creating Simple Types. Creating Empty Elements. Creating Mixed-Content Elements. Annotating Schemas. Creating Choices. Creating Sequences. Creating Attribute Groups. Creating all Groups. Schemas and Namespaces.
6. Understanding JavaScript. What Is JavaScript? JavaScript Is Object-Oriented. Programming in JavaScript.
7. Handling XML Documents with JavaScript. The W3C DOM. Loading XML Documents. Getting Elements by Name. Getting Attribute Values from XML Elements. Parsing XML Documents in Code. Handling Events While Loading XML Documents. Validating XML Documents with Internet Explorer. Scripting XML Elements. Editing XML Documents with Internet Explorer.
8. XML and Data Binding. Data Binding in Internet Explorer. Using Data Source Objects. XML and Hierarchical Data. Searching XML Data.
9. Cascading Style Sheets. Attaching Style Sheets to XML Documents. Selecting Elements in Style Sheet Rules. Creating Style Rules. Formal Style Property Specifications.
10. Understanding Java. Java Resources. Writing Java Programs. Creating Java Files. Creating Variables in Java. Creating Arrays in Java. Creating Strings in Java. Java Operators. Java Conditional Statements: if, if...else, switch. Java Loops: for, while, do...while. Declaring and Creating Objects. Creating Methods in Java. Creating Java Classes.
11. Java and the XML DOM. Getting XML for Java. Setting CLASSPATH. Creating a Parser. Displaying an Entire Document. Filtering XML Documents. Creating a Windowed Browser. Creating a Graphical Browser. Navigating in XML Documents. Modifying XML Documents.
12. Java and SAX. Working with SAX. Displaying an Entire Document. Filtering XML Documents. Creating a Windowed Browser. Creating a Graphical Browser. Navigating in XML Documents. Modifying XML Documents.
13. XSL Transformations. Using XSLT Style Sheets in XML Documents. Creating XSLT Style Sheets. Altering Document Structure Based on Input. Generating Comments with xsl:comment. Generating Text with xsl:text. Copying Nodes. Sorting Elements. Using xsl:if. Using xsl:choose. Controlling Output Type.
14. XSL Formatting Objects. Formatting an XML Document. Creating the XSLT Style Sheet. Transforming a Document into a Formatting Object Form. Creating a Formatted Document. XSL Formatting Objects.
15. XLinks and XPointers. Overview: Linking with XLinks and XPointers. All About XLinks. All About XPointers.