Beginning XML.
Material type: TextPublisher: Somerset : John Wiley & Sons, Incorporated, 2012Copyright date: ©2012Edition: 5th edDescription: 1 online resource (868 pages)Content type: text Media type: computer Carrier type: online resourceISBN: 9781118226124Subject(s): XML (Document markup language)Genre/Form: Electronic books.Additional physical formats: Print version:: Beginning XMLDDC classification: 006.7/4 LOC classification: QA76.76.H94 -- F39 2012ebOnline resources: Click to ViewIntro -- Beginning XML -- About the Authors -- About the Technical Editor -- Credits -- Acknowledgments -- Contents -- Introduction -- Who this Book is for -- What this Book Covers -- How this Book is Structured -- What You Need to Use this Book -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- Part I: Introducing XML -- Chapter 1: What is XML? -- Steps Leading up to XML: Data Representation and Markups -- Binary Files -- Text Files -- A Brief History of Markup -- The Birth of XML -- More Advantages of XML -- XML Rules -- Hierarchical Data Representation -- Interoperability -- XML in Practice -- Data Versus Document -- XML Scenarios -- XML Technologies -- Summary -- Chapter 2: Well-Formed XML -- What Does Well-Formed Mean? -- Creating XML in a Text Editor -- Forbidden Characters -- XML Prolog -- Creating Elements -- Attributes -- Element and Attribute Content -- Processing Instructions -- CDATA Sections -- Advanced XML Parsing -- XML Equivalence -- Whitespace Handling -- Error Handling -- The XML Infoset -- The Document Information Item -- Element Information Items -- Attribute Information Items -- Processing Instruction Information Items -- Character Information Item -- Comment Information Item -- Namespace Information Item -- The Document Type Declaration Information Item -- Unexpanded Entity Reference Information Item -- Unparsed Entity Information Item -- Notation Information Item -- Summary -- Chapter 3: XML Namespaces -- Defining Namespaces -- Why Do You Need Namespaces? -- How Do You Choose a Namespace? -- URLs, URIs, and URNs -- Creating Your First Namespace -- How to Declare a Namespace -- How Exactly Does Scope Work? -- Declaring More Than One Namespace -- Changing a Namespace Declaration -- Namespace Usage in the Real World -- XML Schema -- Documents with Multiple Namespaces -- When to Use and Not Use Namespaces.
When Namespaces are Needed -- When Namespaces Are Not Needed -- Versioning and Namespaces -- Common Namespaces -- The XML Namespace -- The XMLNS Namespace -- The XML Schema Namespace -- The XSLT Namespace -- The SOAP Namespaces -- The WSDL Namespace -- The Atom Namespace -- The MathML Namespace -- The Docbook Namespace -- Summary -- Part II: Validation -- Chapter 4: Document Type Definitions -- What Are Document Type Definitions? -- Working with DTDs -- Using jEdit -- The Document Type Declaration in Detail -- Sharing DTDs -- Anatomy of a DTD -- Element Declarations -- Attribute Declarations -- Entity Declarations -- DTD Limitations -- Summary -- Chapter 5: XML Schemas -- Benefits of XML Schemas -- XML Schemas Use XML Syntax -- XML Schema Namespace Support -- XML Schema Data Types -- XML Schema Content Models -- XML Schema Specifications -- XML Schemas in Practice -- Defining XML Schemas -- Declarations -- Declarations -- Mixed Content -- Declarations -- Declarations -- An XML Schema for Contacts -- Data Types -- Declarations -- Creating a Schema from Multiple Documents -- Declarations -- Declarations -- Documenting XML Schemas -- XML Schema 1.1 -- Relaxed Rules -- -- Summary -- Chapter 6: RELAX NG and Schematron -- Why Do You Need More Ways of Validating XML? -- Setting Up Your Environment -- Using RELAX NG -- Understanding the Basics of RELAX NG -- Understanding RELAX NG's Compact Syntax -- Converting Between the Two RELAX NG Formats -- Constraining Content -- Reusing Code in RELAX NG Schema -- Using Schematron -- Understanding the Basics of Schematron -- Choosing a Version of Schematron -- Understanding the Basic Process -- Writing Basic Rules in Schematron -- Creating a Schematron Document -- Adding More Information to Messages -- Constraining Values in Schematron.
Handling Co-Constraints in Schematron -- Using Schematron from Within XML Schema -- Summary -- Part III: Processing -- Chapter 7: Extracting Data From XML -- Document Models: Representing XML in Memory -- Meet the Models: DOM, XDM, and PSVI -- A Sample DOM Tree -- DOM Node Types -- DOM Node Lists -- The Limitations of DOM -- The XPath Language -- XPath Basics -- XPath Predicates: The Full Story -- XPath Steps and Axes -- XPath Expressions -- Variables in XPath Expressions -- New Expressions in XPath 2 -- XPath Functions -- XPath Set Operations -- XPath and Namespaces -- Summary -- Chapter 8: XSLT -- What XSLT Is Used For -- XSLT as a Declarative Language -- How Is XSLT a Functional Language? -- Setting Up Your XSLT Development Environment -- Setting Up Saxon for .NET -- Setting Up Saxon for Java -- Foundational XSLT Elements -- The Element -- The Element -- The Element -- The Element -- The Element -- Push-Processing versus Pull-Processing -- The Role of XPath in XSLT -- Using Named Templates -- The Element -- The document() Function in XSLT -- Conditional Logic -- The element -- The Element -- and Elements -- Reusing Code in XSLT -- The Element -- The Element -- The Mode Attribute -- Understanding Built-In Templates and Built-In Rules -- Using XSLT 2.0 -- Understanding Data Types in XSLT 2.0 -- Creating User-Defined Functions -- Creating Multiple Output Documents -- Using the collection() Function -- Grouping in XSLT 2.0 -- Handling Non-XML Input with XSLT 2.0 -- XSLT and XPath 3.0: What's Coming Next? -- Summary -- Part IV: Databases -- Chapter 9: XQuery -- XQuery, XPath, and XSLT -- XQuery and XSLT -- XQuery and XPath -- XQuery in Practice.
Standalone XQuery Applications -- Part of SQL -- Callable from Java or Other Languages -- A Native-XML Server -- XQuery Anywhere -- Building Blocks of XQuery -- FLWOR Expressions, Modules, and Functions -- XQuery Expressions Do Not Have a Default Context -- The Anatomy of a Query Expression -- The Version Declaration -- The Query Prolog -- The Query Body -- Some Optional XQuery Features -- XQuery and XPath Full Text -- The XQuery Update Facility -- XQuery Scripting Extension -- Coming in XQuery 3.0 -- Grouping and Windowing -- The count Clause -- Try and Catch -- switch Expressions -- Function Items and Higher Order Functions -- JSON Features -- XQuery, Linked Data, and the Semantic Web -- Summary -- Chapter 10: XML and Databases -- Understanding Why Databases Need to Handle XML -- Analyzing which XML Features are Needed in a Database -- Retrieving Documents -- Retrieving Data from Documents -- Updating XML Documents -- Displaying Relational Data as XML -- Presenting XML as Relational Data -- Using MySQL with XML -- Installing MySQL -- Adding Information in MySQL -- Querying MySQL -- Updating XML in MySQL -- Usability of XML in MySQL -- Client-Side XML Support -- Using SQL Server with XML -- Installing SQL Server -- Presenting Relational Data as XML -- Understanding the xml Data Type -- Creating Indexes with the xml Data Type -- W3C XML Schema in SQL Server -- Dealing with Namespaced Documents -- Using eXist with XML -- Downloading and Installing eXist -- Interacting with eXist -- Summary -- Part V: Programming -- Chapter 11: Event-Driven Programming -- Understanding Sequential Processing -- Using SAX in Sequential Processing -- Preparing to Run the Examples -- Receiving SAX Events -- Handling Invalid Content -- Using the DTDHandler Interface -- EntityResolver Interface -- Understanding Features and Properties -- Using XmlReader.
Using XmlReaderSettings -- Controlling External Resources -- Summary -- Chapter 12: LINQ to XML -- What Is LINQ? -- Why You Need LINQ to XML -- Using LINQ to XML -- Creating Documents -- Creating Documents with Namespaces -- Creating Documents with Prefixed Namespaces -- Extracting Data from an XML Document -- Modifying Documents -- Adding Content to a Document -- Removing Content from a Document -- Updating and Replacing Existing Content in a Document -- Transforming Documents -- Using VB.NET XML Features -- Using VB.NET XML Literals -- Understanding Axis Properties in VB.NET -- Managing Namespaces in VB.NET -- Summary -- Part VI: Communication -- Chapter 13: RSS, ATOM, and Content Syndication -- Syndication -- XML Syndication -- Syndication Systems -- Format Anatomy -- Working with News Feeds -- Newsreaders -- Data Quality -- A Simple Aggregator -- Modeling Feeds -- Program Flow -- Implementation -- Extending the Aggregator -- Transforming RSS with XSLT -- Generating a Feed from Existing Data -- Processing Feed Data for Display -- Browser Processing -- Preprocessing Feed Data -- Reviewing the Different Formats -- Useful Resources -- Summary -- Chapter 14: Web Services -- What Is an RPC? -- RPC Protocols -- COM and DCOM -- COBRA and IIOP -- Java RMI -- The New RPC Protocol: Web Services -- The Same Origin Policy -- Understanding XML-RPC -- Choosing a Network Transport -- Understanding REST Services -- The Web Services Stack -- SOAP -- WSDL -- UDDI -- Surrounding Specifications -- Summary -- Chapter 15: SOAP and WSDL -- Laying the Groundwork -- The New RPC Protocol: SOAP -- Comparing SOAP to REST -- Basic SOAP Messages -- More Complex SOAP Interactions -- Defining Web Services: WSDL -- -- -- -- -- -- -- Other Bindings -- Summary -- Chapter 16: AJAX -- AJAX Overview.
AJAX Provides Feedback.
A complete update covering the many advances to the XML language The XML language has become the standard for writing documents on the Internet and is constantly improving and evolving. This new edition covers all the many new XML-based technologies that have appeared since the previous edition four years ago, providing you with an up-to-date introductory guide and reference. Packed with real-world code examples, best practices, and in-depth coverage of the most important and relevant topics, this authoritative resource explores both the advantages and disadvantages of XML and addresses the most current standards and uses of XML. Features the most updated content built on audience feedback from the previous edition as well as the vast knowledge from XML developer teams Boasts new chapters on RELAX NG and Schematron, XML functionality in databases, LINQ to XML, Jabber and XMLPP, XHTML, HTML5, and more Offers in-depth coverage on extracting data from XML and updated material on Web Services Beginning XML, Fifth Edition delivers the most important aspects of XML in regard to what it is, how it works, what technologies surround it, and how it can best be used in a variety of situations.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2018. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
There are no comments on this title.