juno.xml.core Module

Licence
See licence.txt for use and distribution terms.

enum XmlNodeType;

Specifies the type of the node.

None

An unsupported node.

Element

An element (for example, <item>).

Attribute

An attribute (for example, id='123').

Text

The text content of a node.

CDATA

A CDATA section (for example, <![CDATA[my escaped text]]>).

EntityReference

A reference to an entity (for example, #).

Entity

An entity declaration (for example, <!ENTITY...>).

ProcessingInstruction

A processing instruction (for example, <?pi test?>).

Comment

A comment (for example, <!-- my comment -->).

Document

A document object that provides access to the entire XML document.

DocumentType

The doucment type declaration (for example, <!DOCTYPE...>).

DocumentFragment

A document fragment.

Notation

A notation in the document type declaration (for example, <!NOTATION...>).

Whitespace

White space between markup.

SignificantWhitespace

White space between markup in a mixed content model.

EndElement

An end element tag (for example, </item>).

EndEntity

The end of an entity.

XmlDeclaration

The XML declaration (for example, <?xml version='1.0'?>).

class XmlException: object.Exception;

Detailed information about the last exception.

this(string message = null, int lineNumber = 0, int linePosition = 0, string sourceUri = null);

Initializes a new instance with a specified error message, line number, line position and XML file location.

final int lineNumber();

Gets the line number indicating where the error occurred.

final int linePosition();

Gets the line position indicating where the error occurred.