System.Dom Namespace

Classes

public class Attr
public class BuildIndexVisitor
public class CDataSection
public abstract class CharacterData
public class Comment
public class Document Represents an in-memory XML or XHTML document.
public class DocumentFragment
public class DomDocumentHandler
public class DomException Thrown when an error is detected during manipulation of a Document .
public class Element
public class ElementsByTagNameVisitor
public class EntityReference
public abstract class Node
public class NodeList
public class NodeOp
public abstract class ParentNode
public class ProcessingInstruction
public class Text
public class Visitor

Functions

public String<uchar> AttrValueEscape(const String<uchar>& attributeValue, uchar delimiter)
public String<uchar> AxisName(Axis axis)
public String<uchar> MakeXmlAttrValue(const String<uchar>& attributeValue)
public UniquePtr<Document> ParseDocument(const String<uchar>& content, const String<char>& systemId) Parses a UTF-32 encoded XML string to a Document and returns it.
public UniquePtr<Document> ParseDocument(const String<uchar>& content, const String<char>& systemId, Flags flags)
public UniquePtr<Document> ReadDocument(const String<char>& fileName) Parses a UTF-8 encoded XML file to a Document and returns it.
public UniquePtr<Document> ReadDocument(const String<char>& fileName, Flags flags)
public String<uchar> XmlCharDataEscape(const String<uchar>& charData)
public inline Flags operator&(Flags flags, Flags flag)
public inline Flags operator|(Flags flags, Flags flag)
public inline Flags operator~(Flags flags)

Enumerated Types

public enum Axis
public enum Flags
public enum NodeType

Function Details

AttrValueEscape Function

public String<uchar> AttrValueEscape(const String<uchar>& attributeValue, uchar delimiter)

Definition
Line 217 of System.Dom/Element.cm


AxisName Function

public String<uchar> AxisName(Axis axis)

Definition
Line 591 of System.Dom/Node.cm


MakeXmlAttrValue Function

public String<uchar> MakeXmlAttrValue(const String<uchar>& attributeValue)

Definition
Line 240 of System.Dom/Element.cm


ParseDocument Function

public UniquePtr<Document> ParseDocument(const String<uchar>& content, const String<char>& systemId)

Parses a UTF-32 encoded XML string to a Document and returns it.

The given systemId parameter is used for error reporting only and will occur in the possible error message. If the XML string is not syntactically valid, the function throws an ParsingException exception. If the XML string is not otherwise well-formed, the function throws an XmlProcessingException exception.

Definition
Line 157 of System.Dom/Parser.cm


ParseDocument Function

public UniquePtr<Document> ParseDocument(const String<uchar>& content, const String<char>& systemId, Flags flags)

Definition
Line 161 of System.Dom/Parser.cm


ReadDocument Function

public UniquePtr<Document> ReadDocument(const String<char>& fileName)

Parses a UTF-8 encoded XML file to a Document and returns it.

If the XML file is not syntactically valid, the function throws an ParsingException exception. If the XML file is not otherwise well-formed, the function throws an XmlProcessingException exception.

Definition
Line 172 of System.Dom/Parser.cm


ReadDocument Function

public UniquePtr<Document> ReadDocument(const String<char>& fileName, Flags flags)

Definition
Line 176 of System.Dom/Parser.cm


XmlCharDataEscape Function

public String<uchar> XmlCharDataEscape(const String<uchar>& charData)

Definition
Line 194 of System.Dom/CharacterData.cm


operator& Function

public inline Flags operator&(Flags flags, Flags flag)

Definition
Line 14 of System.Dom/Parser.cm


operator| Function

public inline Flags operator|(Flags flags, Flags flag)

Definition
Line 18 of System.Dom/Parser.cm


operator~ Function

public inline Flags operator~(Flags flags)

Definition
Line 22 of System.Dom/Parser.cm