klyn.io.xml.dom.XMLDOMLocator.XMLDOMLocator
constructor

    public XMLDOMLocator(lineNumber as Int = -1, columnNumber as Int = -1, byteOffset as Int = -1, utf16Offset as Int = -1, relatedNode as Node = null, uri as String = null):

Description

Creates a location value.

Parameters

Parameter | Description
--- | ---
`lineNumber` | One-based line number, or -1.
`columnNumber` | One-based column number, or -1.
`byteOffset` | Byte offset, or -1.
`utf16Offset` | UTF-16 offset, or -1.
`relatedNode` | Related node, if any.
`uri` | Related URI, if any.

Example

    locator = XMLDOMLocator(uri="memory:/doc.xml")