XPointer

sealed trait XPointer

XPointer, with sub-types for shorthand pointers and element scheme pointers.

XPointer, with sub-types for shorthand pointers and element scheme pointers.

Note that a locator href attribute may contain multiple element scheme pointers in succession. Method parseXPointers in the XPointer companion object can parse those successive XPointers.

Authors

Chris de Vreeze

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def addOneBasedChildElemIndex(oneBasedIndex: Int): XPointer

Returns the XPointer for the n-th child element (n >= 1) of this XPointer (assuming that the child element has no ID attribute). If this XPointer has an ID, the result will always be an IdChildSequencePointer. Otherwise the result will remain a ChildSequencePointer.

Returns the XPointer for the n-th child element (n >= 1) of this XPointer (assuming that the child element has no ID attribute). If this XPointer has an ID, the result will always be an IdChildSequencePointer. Otherwise the result will remain a ChildSequencePointer.