XML Web Documents From Scratch
Jesse Liberty, Mike Kraley
Abstract
Jesse Liberty, Mike Kraley
Abstract
Introduction. Getting Started with XML. Document Re-Purposing. Print Versus Online. Re-Purposing. Real-World Examples. How This Book Came About. The Design Pattern. What Is XML and Why Do I Care? XML In Context. XML Simplifies SGML. What Is XML Like? XML Tag Attributes. What Is XSL? Analysis and Design of Our Project. Biblio Tech. Use-Case Analysis. Visualization. A Journey of Small Steps. What I Won't Show in the Project. Next Steps. Moving from HTML to XHTML. Analysis. Conceptualization. Use Cases. Converting to HTML. From Word to HTML. Well-Formed HTML. Fixing Up the HTML. Documents and DOMs. DOMs Versus DOMs. Converting Word to XHTML. Inside Word2XHTML. Recursion. Writing the Close Tag. Stepping Through the Code. Examining the Input. Habeas Corpus. Let 'Er Rip. Next Steps. Validating the Document with the Document. Type Definition. From XHTML to XML. Making the Structure Explicit. Ensuring the Validity of XML Documents. Updating The DTD. Validating Parser. Goals of the Transformation. The Constraints We Want to Enforce. Removing HTML We Don't Need. Marking Code Lines. Spaceruns and Tabs. Marking Sidebars and Notes. Breaking Out Sections. Passing Through the Remaining HTML. Creating the DTD. Parameter Entities. What the DTD Has Told Us. Next Steps. Transformation with XSL---eXtensible. Stylesheet Language. Inputs and Outputs. Invoking the Methods. Loading the XSL. XSL In Detail. Namespace. Templates, Filters, and Patterns. Template Matching. Finding Unknown Tags. Building the DOM. Parsing the XSL. Running XHTML to XML. Next Steps. Manipulating the Document Object Model. Examining the Intermediate File. Examining the Intermediate File in Detail. Creating Sections. The Definition of a Section. XHTML to XML Transformation---Second Step. The Object-Oriented Perspective. The Document and the DOM. Collecting Sections: Strategy. Collecting Sections: Implementation. Creating the Section ID. Creating a Processing Instruction. Creating the Hierarchy. Creating the Top Level Element. Locating Elements. Siblings and Aunts. Code Blocks. Inserting the New Element. Notelines. Next Steps. Storing, Rendering, and Displaying The Stories. Finding Stories from the Inside Out. Start with the D-Level Stories. Implementing Persistence. Writing the Stories to the Database. Inserting the Story. Creating the Database. What We've Accomplished. Displaying the Story. Converting to HTML. Retrieving a Story from the Database. Instantiating the Input XML DOMDocument. Using XSL to Render HTML. The XML to HTML Stylesheet. Implementing the XSL Transformation. Getting Started. The HTML Header. Handling Sections. Rendering Code. Handling Notes. Inline Code. Vanilla HTML. Spaceruns and Tabs. Special Characters. Handling Production Directives. The Document Summary. Next Steps. Creating Components Using XML and XSL with DHTML. Strategy. Re-Creating the Hierarchy. ShowTOC.ASP. Transforming the XML to the Table of Contents. Building the TOC in HTML. Creating the HTML from XML Using XSL. Creating the Listing Elements. Skinning Cats. From XML to XML. From XML to HTML. Next Steps. Building the Application and Adding Missing Functionality. The Application. Listing Stories. Down-Level Browsers and Clipping Code. Examining the Application in Detail. StoryList.asp. Implementing XSL for Down-Level Browsers. Implementing CodeBlocks. Creating Codeblocks in HTML. Creating the HTML with XSL. Next Steps. Using XSL Helper for Creation and Maintenance of XSL Documents. Facilitating XSL Creation. Implementing XSL Helper. What Refresh() Does. How Refresh() Works. Pick Up the Parameters. Display the Input XML and the XSL Stylesheet. Do the Transformations. Display the Results. Displaying XML with HTML. Leaf Elements. Elements with Descendents. Matching Processing Instructions. Matching Other Elements. Matching Attributes. The Top of the Stylesheet. Examining the Results. Editing and Saving Changes. Next Steps. Review of Technologies and Techniques. A Look Back at What We've Done. Transforming from HTML to XHTML. Transforming from XHTML to XML. Using XML and XSL to Display the Stories. Client-Side XSL. You Ain't Seen Nothin' Yet. Next Steps. Appendix A Recommended Reading. Visual Basic. ASP. JavaScript. ADO. Transact SQL & SQL Server. MTS, COM & COM+, Enterprise Applications. ActiveX and ATL. Web Design and User Interface Design. XML. Distributed Internet Applications. Object-Oriented Analysis and Design and Patterns. Index.
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Introduction. Getting Started with XML. Document Re-Purposing. Print Versus Online. Re-Purposing. Real-World Examples. How This Book Came About. The Design Pattern. What Is XML and Why Do I Care? XML In Context. XML Simplifies SGML. What Is XML Like? XML Tag Attributes. What Is XSL? Analysis and Design of Our Project. Biblio Tech. Use-Case Analysis. Visualization. A Journey of Small Steps. What I Won't Show in the Project. Next Steps. Moving from HTML to XHTML. Analysis. Conceptualization. Use Cases. Converting to HTML. From Word to HTML. Well-Formed HTML. Fixing Up the HTML. Documents and DOMs. DOMs Versus DOMs. Converting Word to XHTML. Inside Word2XHTML. Recursion. Writing the Close Tag. Stepping Through the Code. Examining the Input. Habeas Corpus. Let 'Er Rip. Next Steps. Validating the Document with the Document. Type Definition. From XHTML to XML. Making the Structure Explicit. Ensuring the Validity of XML Documents. Updating The DTD. Validating Parser. Goals of the Transformation. The Constraints We Want to Enforce. Removing HTML We Don't Need. Marking Code Lines. Spaceruns and Tabs. Marking Sidebars and Notes. Breaking Out Sections. Passing Through the Remaining HTML. Creating the DTD. Parameter Entities. What the DTD Has Told Us. Next Steps. Transformation with XSL---eXtensible. Stylesheet Language. Inputs and Outputs. Invoking the Methods. Loading the XSL. XSL In Detail. Namespace. Templates, Filters, and Patterns. Template Matching. Finding Unknown Tags. Building the DOM. Parsing the XSL. Running XHTML to XML. Next Steps. Manipulating the Document Object Model. Examining the Intermediate File. Examining the Intermediate File in Detail. Creating Sections. The Definition of a Section. XHTML to XML Transformation---Second Step. The Object-Oriented Perspective. The Document and the DOM. Collecting Sections: Strategy. Collecting Sections: Implementation. Creating the Section ID. Creating a Processing Instruction. Creating the Hierarchy. Creating the Top Level Element. Locating Elements. Siblings and Aunts. Code Blocks. Inserting the New Element. Notelines. Next Steps. Storing, Rendering, and Displaying The Stories. Finding Stories from the Inside Out. Start with the D-Level Stories. Implementing Persistence. Writing the Stories to the Database. Inserting the Story. Creating the Database. What We've Accomplished. Displaying the Story. Converting to HTML. Retrieving a Story from the Database. Instantiating the Input XML DOMDocument. Using XSL to Render HTML. The XML to HTML Stylesheet. Implementing the XSL Transformation. Getting Started. The HTML Header. Handling Sections. Rendering Code. Handling Notes. Inline Code. Vanilla HTML. Spaceruns and Tabs. Special Characters. Handling Production Directives. The Document Summary. Next Steps. Creating Components Using XML and XSL with DHTML. Strategy. Re-Creating the Hierarchy. ShowTOC.ASP. Transforming the XML to the Table of Contents. Building the TOC in HTML. Creating the HTML from XML Using XSL. Creating the Listing Elements. Skinning Cats. From XML to XML. From XML to HTML. Next Steps. Building the Application and Adding Missing Functionality. The Application. Listing Stories. Down-Level Browsers and Clipping Code. Examining the Application in Detail. StoryList.asp. Implementing XSL for Down-Level Browsers. Implementing CodeBlocks. Creating Codeblocks in HTML. Creating the HTML with XSL. Next Steps. Using XSL Helper for Creation and Maintenance of XSL Documents. Facilitating XSL Creation. Implementing XSL Helper. What Refresh() Does. How Refresh() Works. Pick Up the Parameters. Display the Input XML and the XSL Stylesheet. Do the Transformations. Display the Results. Displaying XML with HTML. Leaf Elements. Elements with Descendents. Matching Processing Instructions. Matching Other Elements. Matching Attributes. The Top of the Stylesheet. Examining the Results. Editing and Saving Changes. Next Steps. Review of Technologies and Techniques. A Look Back at What We've Done. Transforming from HTML to XHTML. Transforming from XHTML to XML. Using XML and XSL to Display the Stories. Client-Side XSL. You Ain't Seen Nothin' Yet. Next Steps. Appendix A Recommended Reading. Visual Basic. ASP. JavaScript. ADO. Transact SQL & SQL Server. MTS, COM & COM+, Enterprise Applications. ActiveX and ATL. Web Design and User Interface Design. XML. Distributed Internet Applications. Object-Oriented Analysis and Design and Patterns. Index.
Key concepts: Computer science, XML validation, XHTML, SGML, Programming language, Simple API for XML, Document Structure Description, XML