Qore XML Module  1.1
 All Classes Namespaces Functions Variables Groups
Qore::Xml Namespace Reference

Qore::Xml namespace. More...

Namespaces

namespace  Option
 Qore::Xml::Option namespace.

Classes

class  XmlDoc
 The XmlDoc class provides access to a parsed XML document by wrapping a C xmlDocPtr from libxml2 More...
class  XmlNode
 The XmlNode class provides information about the components of an XML document. More...
class  XmlReader
 The XmlReader class allows XML strings to be iterated and parsed piecewise. More...
class  XmlRpcClient
 The XmlRpcClient class provides easy access to XML-RPC web services. More...

Functions

string makeFormattedXMLFragment (hash h, *string encoding)
 serializes a hash into an XML string with whitespace formatting but without an XML header
nothing makeFormattedXMLFragment ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
string makeFormattedXMLString (string key, hash h, *string encoding)
 serializes a hash into an XML string with whitespace formatting and with an XML header
string makeFormattedXMLString (hash h, *string encoding)
 serializes a hash into an XML string with whitespace formatting and with an XML header
string makeXMLFragment (hash h, *string encoding)
 serializes a hash into an XML string without whitespace formatting and without an XML header
nothing makeXMLFragment ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
string makeXMLString (string key, hash h, *string encoding)
 serializes a hash into an XML string without whitespace formatting but with an XML header
string makeXMLString (hash h, *string encoding)
 serializes a hash into an XML string without whitespace formatting but with an XML header
hash parseXML (string xml, *string encoding)
 Parses an XML string and returns a Qore hash structure.
nothing parseXML ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
hash parseXMLAsData (string xml, *string encoding)
 Parses an XML string as data (does not necessarily preserve key order) and returns a Qore hash structure.
nothing parseXMLAsData ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
hash parseXMLAsDataWithRelaxNG (string xml, string relaxng, *string encoding)
 Parses an XML string as data (does not preserve hash order with out-of-order duplicate keys: collapses all to the same list), validates the XML string against a RelaxNG schema string, and returns a Qore hash structure.
hash parseXMLAsDataWithSchema (string xml, string xsd, *string encoding)
 Parses an XML string as data (does not preserve hash order with out-of-order duplicate keys: collapses all to the same list), validates the XML string against an XSD schema string, and returns a Qore hash structure.
hash parseXMLWithRelaxNG (string xml, string relaxng, *string encoding)
 Parses an XML string, validates the XML string against a RelaxNG schema string, and returns a Qore hash structure.
hash parseXMLWithSchema (string xml, string xsd, *string encoding)
 Parses an XML string, validates the XML string against an XSD schema string, and returns a Qore hash structure.
string makeFormattedXMLRPCCallString (string method,...)
 Serializes the argument into an XML string in XML-RPC call format with whitespace formatting.
string makeFormattedXMLRPCCallStringArgs (string method, any argv)
 Serializes the argument into an XML string in XML-RPC call format with whitespace formatting.
string makeFormattedXMLRPCCallStringArgsWithEncoding (string encoding, string method, any argv)
 Serializes the argument into an XML string in XML-RPC call format with whitespace formatting.
string makeFormattedXMLRPCCallStringWithEncoding (string encoding, string method,...)
 Serializes the argument into an XML string in XML-RPC call format with whitespace formatting with an explicit encoding.
string makeFormattedXMLRPCFaultResponseString (softint code, string msg)
 Serializes the argument into an XML string in XML-RPC fault response format with whitespace formatting.
string makeFormattedXMLRPCFaultResponseStringWithEncoding (string encoding, softint code, string msg)
 Serializes the argument into an XML string in XML-RPC fault response format with whitespace formatting with an explicit output encoding.
string makeFormattedXMLRPCResponseString (...)
 Serializes the arguments into an XML string formatted for an XML-RPC response with whitespace formatting.
string makeFormattedXMLRPCResponseStringWithEncoding (string encoding,...)
 Serializes the arguments into an XML string formatted for an XML-RPC response with whitespace formatting and with an explicit output encoding.
*string makeFormattedXMLRPCValueString (any value, *string encoding)
 Serializes the arguments into an XML string in XML-RPC value format with whitespace formatting but without an XML header.
string makeXMLRPCCallString (string method,...)
 Serializes the argument into an XML string in XML-RPC call format without whitespace formatting.
string makeXMLRPCCallStringArgs (string method, any args)
 Serializes the argument into an XML string in XML-RPC call format without whitespace formatting.
string makeXMLRPCCallStringArgsWithEncoding (string encoding, string method, any args)
 Serializes the argument into an XML string in XML-RPC call format without whitespace formatting with an explicit encoding.
string makeXMLRPCCallStringWithEncoding (string encoding, string method,...)
 Serializes the argument into an XML string in XML-RPC call format without whitespace formatting with an explicit encoding.
string makeXMLRPCFaultResponseString (softint code, string msg)
 Serializes the argument into an XML string in XML-RPC fault response format without whitespace formatting.
string makeXMLRPCFaultResponseStringWithEncoding (string encoding, softint code, string msg)
 Serializes the argument into an XML string in XML-RPC fault response format without whitespace formatting with an explicit output encoding.
string makeXMLRPCResponseString (...)
 Serializes the arguments into an XML string formatted for an XML-RPC response without whitespace formatting.
string makeXMLRPCResponseStringWithEncoding (string encoding,...)
 Serializes the arguments into an XML string formatted for an XML-RPC response without whitespace formatting and with an explicit output encoding.
*string makeXMLRPCValueString (any value, *string encoding)
 Serializes the arguments into an XML string in XML-RPC value format without whitespace formatting and without an XML header.
hash parseXMLRPCCall (string xml, *string encoding)
 Deserializies an XML-RPC call string, returning a Qore data structure representing the call information.
nothing parseXMLRPCCall ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
hash parseXMLRPCResponse (string xml, *string encoding)
 Deserializies an XML-RPC response string, returning a Qore data structure representing the response information.
nothing parseXMLRPCResponse ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
any parseXMLRPCValue (string xml, *string encoding)
 Deserializies an XML-RPC value string and returns a Qore data structure representing the information.
nothing parseXMLRPCValue ()
 This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.

Variables

const ElementTypeMap
 gives a map from element type codes to symbolic names
const XML_ATTRIBUTE_DECL = XML_ATTRIBUTE_DECL
 Indicates an attribute declaration.
const XML_ATTRIBUTE_NODE = XML_ATTRIBUTE_NODE
 Indicates an attribute.
const XML_CDATA_SECTION_NODE = XML_CDATA_SECTION_NODE
 Indicates CDATA: unparsed character data.
const XML_COMMENT_NODE = XML_COMMENT_NODE
 Indicates a comment.
const XML_DOCB_DOCUMENT_NODE = XML_DOCB_DOCUMENT_NODE
 Indicates a docbook document element.
const XML_DOCUMENT_FRAG_NODE = XML_DOCUMENT_FRAG_NODE
 Indicates a document fragment.
const XML_DOCUMENT_NODE = XML_DOCUMENT_NODE
 Indicates a document.
const XML_DOCUMENT_TYPE_NODE = XML_DOCUMENT_TYPE_NODE
 Indicates a document type.
const XML_DTD_NODE = XML_DTD_NODE
 Indicates a DTD.
const XML_ELEMENT_DECL = XML_ELEMENT_DECL
 Indicates an element declaration.
const XML_ELEMENT_NODE = XML_ELEMENT_NODE
 Indicates an element.
const XML_ENTITY_DECL = XML_ENTITY_DECL
 Indicates an entity declaration.
const XML_ENTITY_NODE = XML_ENTITY_NODE
 Indicates an entity.
const XML_ENTITY_REF_NODE = XML_ENTITY_REF_NODE
 Indicates an entity reference.
const XML_HTML_DOCUMENT_NODE = XML_HTML_DOCUMENT_NODE
 Indicates an HTML document.
const XML_NAMESPACE_DECL = XML_NAMESPACE_DECL
 Indicates a namespace declaration.
const XML_NOTATION_NODE = XML_NOTATION_NODE
 Indicates a DTD notation.
const XML_PI_NODE = XML_PI_NODE
 Indicates a processing instruction.
const XML_TEXT_NODE = XML_TEXT_NODE
 Indicates text.
const XML_XINCLUDE_END = XML_XINCLUDE_END
 Indicates an XML xinclude end element.
const XML_XINCLUDE_START = XML_XINCLUDE_START
 Indicates an XML xinclude start element.
const NodeTypeMap
 provides a map from node type values to symbolic names
const XML_NODE_TYPE_ATTRIBUTE = XML_READER_TYPE_ATTRIBUTE
 Indicates an attribute node.
const XML_NODE_TYPE_CDATA = XML_READER_TYPE_CDATA
 Indicates a CDATA node: unparsed character data.
const XML_NODE_TYPE_COMMENT = XML_READER_TYPE_COMMENT
 Indicates an XML comment.
const XML_NODE_TYPE_DOCUMENT = XML_READER_TYPE_DOCUMENT
 Indicates a document node.
const XML_NODE_TYPE_DOCUMENT_FRAGMENT = XML_READER_TYPE_DOCUMENT_FRAGMENT
 Indicates a document fragment node.
const XML_NODE_TYPE_DOCUMENT_TYPE = XML_READER_TYPE_DOCUMENT_TYPE
 Indicates a document type node.
const XML_NODE_TYPE_ELEMENT = XML_READER_TYPE_ELEMENT
 Indicates an XML element.
const XML_NODE_TYPE_END_ELEMENT = XML_READER_TYPE_END_ELEMENT
 Indicates an end element node.
const XML_NODE_TYPE_END_ENTITY = XML_READER_TYPE_END_ENTITY
 Indicates an end entity node.
const XML_NODE_TYPE_ENTITY = XML_READER_TYPE_ENTITY
 Indicates an entity reference node.
const XML_NODE_TYPE_ENTITY_REFERENCE = XML_READER_TYPE_ENTITY_REFERENCE
 Indicates an entity reference node.
const XML_NODE_TYPE_NONE = XML_READER_TYPE_NONE
 Indicates no node is available.
const XML_NODE_TYPE_NOTATION = XML_READER_TYPE_NOTATION
 Indicates a notation node.
const XML_NODE_TYPE_PROCESSING_INSTRUCTION = XML_READER_TYPE_PROCESSING_INSTRUCTION
 Indicates an XML processing instruction.
const XML_NODE_TYPE_SIGNIFICANT_WHITESPACE = XML_READER_TYPE_SIGNIFICANT_WHITESPACE
 Indicates a significant whitespace node.
const XML_NODE_TYPE_TEXT = XML_READER_TYPE_TEXT
 Indicates a text node.
const XML_NODE_TYPE_WHITESPACE = XML_READER_TYPE_WHITESPACE
 Indicates a whitespace node.
const XML_NODE_TYPE_XML_DECLARATION = XML_READER_TYPE_XML_DECLARATION
 Indicates an XML declaration node.

Detailed Description

Qore::Xml namespace.