Using XML Tools
- Introduction to InterSystems XML Tools
- Representing Object Data in XML
- Creating Arbitrary XML
- Accessing Data
- Modifying XML
- The SAX Parser
- Additional XML Tools
- Considerations When Using the XML Tools
- Reading and Validating XML Documents
- Basic Techniques
- Checking That the Document Is Well-Formed
- Checking That the Document Follows Its Schema or DTD
- Using %XML.TextReader
- Reading Arbitrary XML
- Node Types
- Node Properties
- Argument Lists for the Parse Methods
- Navigating the Document
- Performing Validation
- Examples: Namespace Reporting
- Importing XML into Objects
- Overview
- Importing Objects
- Checking for Required Elements and Attributes
- Handling Unexpected Elements and Attributes
- Controlling How Empty Elements and Attributes Are Imported
- Other Useful Methods
- Reader Properties
- Redefining How the Reader Handles Correlated Objects
- Additional Examples
- Representing an XML Document as a DOM
- Opening an XML Document as a DOM
- Getting the Namespaces of the DOM
- Navigating Nodes of the DOM
- DOM Node Types
- Getting Information about the Current Node
- Basic Methods for Examining Attributes
- Additional Methods for Examining Attributes
- Creating or Editing a DOM
- Writing XML Output from a DOM
- Writing XML Output from Objects: Basics
- Writing XML Output from Objects: Details
- Specifying the Character Set
- Writing the Prolog
- Specifying a Default Namespace
- Adding Namespace Declarations
- Writing the Root Element
- Generating an XML Element
- Controlling the Use of Namespaces
- Controlling the Appearance of Namespace Assignments
- Controlling How Empty Strings ("") Are Exported
- Exporting Type Information
- Generating SOAP-Encoded XML
- Controlling Unswizzling After Export
- Controlling the Closing of Elements
- Other Options
- Additional Example
- Encrypting XML Documents
- Signing XML Documents
- About Digitally Signed Documents
- Creating a Digitally Signed XML Document
- Validating a Digital Signature
- Variation: Digital Signature That References an ID
- Evaluating XPath Expressions
- Overview of Evaluating XPath Expressions
- Argument Lists When Creating an XPATH Document
- Evaluating XPath Expressions
- Using the XPath Results
- Examples
- Performing XSLT Transformations
- Overview of Performing XSLT Transformations in InterSystems IRIS
- Starting, Stopping, and Configuring the XSLT Gateway
- Reusing an XSLT Gateway Server Connection
- Troubleshooting an XSLT Gateway Server Connection
- Creating a Compiled Stylesheet
- Performing an XSLT Transform
- Examples
- Customizing the Error Handling
- Specifying Parameters for Use by the Stylesheet
- Adding and Using XSLT Extension Functions
- Customizing How the InterSystems SAX Parser Is Used
- About the InterSystems IRIS SAX Parser
- Parser Options
- Specifying the Parser Options
- Setting the Parser Flags
- Specifying the Event Mask
- Specifying a Schema Document
- Disabling Entity Resolution
- Performing Custom Entity Resolution
- Creating a Custom Content Handler
- Using HTTPS
- Generating Classes from XML Schemas
- Generating the Classes
- Default Data Types
- Property Keywords for the Generated Properties
- Parameters for the Generated Properties
- Adjusting the Generated Classes for the Extremely Long Strings
- Generating XML Schemas from Classes
- Examining Namespaces and Classes
- XML Standards
- XML Background