trait OtherNodeTypes extends Axis
Little depature from standard, rather than duplicate all of the \ and \\ nodes, just a simple \\*() comment() will do
NOTE these have a large performance hit as the must sort and filter the results in order to get doc order. Better to use specific nodes avoiding \\ etc, then use the s for simple functions, sutext etc for simple useful. Additionally using the non simple versions incurs the cost of adding adjacent text node processing as per standard datamodel (all adjacent text nodes are joined and any resulting nodes that are "the zero-length string" are removed).
TODO xpath adjacent text node handling
- Alphabetic
- By Inheritance
- OtherNodeTypes
- Axis
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type T <: Iterable[xml.XmlPath]
- Definition Classes
- Axis
Abstract Value Members
- abstract val cbf: CanBuildFrom[T, xml.XmlPath, T]
- Definition Classes
- Axis
- abstract def empty: Iterable[xml.XmlPath]
- Definition Classes
- Axis
- abstract def just(only: xml.XmlPath): Iterable[xml.XmlPath]
- Definition Classes
- Axis
- abstract def newThis(xpathInfo: XPathInfo): XPath[T]
- Definition Classes
- Axis
- abstract val path: XPathInfo
- Definition Classes
- Axis
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ===(textValue: => String): XPath[T]
simple test for string equality
simple test for string equality
- Definition Classes
- Axis
- def \: XPath[T]
simply forwards the current context, element\item specific versions exist that step downwards in document order
simply forwards the current context, element\item specific versions exist that step downwards in document order
- Definition Classes
- Axis
- def \+: XPath[T]
all children unpacked, normal xpath requires the context in E1/E2, which hugely complicates things, so \ is this, \+ is \ in the case where unpacking is needed which just leaves \* varieties for elements.
all children unpacked, normal xpath requires the context in E1/E2, which hugely complicates things, so \ is this, \+ is \ in the case where unpacking is needed which just leaves \* varieties for elements.
- Definition Classes
- Axis
- def \\: XPath[T]
All descendants, uses XPathInfo eager to choose an implementation
All descendants, uses XPathInfo eager to choose an implementation
- Definition Classes
- Axis
- def \^: XPath[T]
Parents of these paths
Parents of these paths
- Definition Classes
- Axis
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cdata: xml.XPath[T]
all cdata child elements
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def comment: xml.XPath[T]
all commnent child elements
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def filter(pred: (xml.XmlPath) => Boolean): XPath[T]
filter through the current matches
filter through the current matches
- Definition Classes
- Axis
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last_<(n: => Int): XPath[T]
Equivalent to [last() < n]
Equivalent to [last() < n]
- Definition Classes
- Axis
- def last_==(n: => Int): XPath[T]
Equivalent to [last() = n]
Equivalent to [last() = n]
- Definition Classes
- Axis
- def last_>(n: => Int): XPath[T]
Equivalent to [last() > n]
Equivalent to [last() > n]
- Definition Classes
- Axis
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pi: xml.XPath[T]
all pi child elements
- def pos(pos: => Int): XPath[T]
1 index based, per spec, but unsure if it should be
1 index based, per spec, but unsure if it should be
- Definition Classes
- Axis
- def pos_<(pos: => Int): XPath[T]
Equivalent to [position() < pos]
Equivalent to [position() < pos]
- Definition Classes
- Axis
- def pos_==(p: => Int): XPath[T]
- Definition Classes
- Axis
- def pos_>(pos: => Int): XPath[T]
Equivalent to [position() > pos]
Equivalent to [position() > pos]
- Definition Classes
- Axis
- def pos_eq_last: XPath[T]
Equivalent to position() = last()
Equivalent to position() = last()
- Definition Classes
- Axis
- def process(newNodes: Iterable[Iterable[xml.XmlPath]], info: XPathInfo = path): XPath[T]
- Definition Classes
- Axis
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text: xml.XPath[T]
all text child elements - xpath standard way, including cdata nodes, filtered to join adjacent text nodes
- def textOnly: xml.XPath[T]
all text child elements - not including cdata nodes, neither sorted nor dup filtered
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def xfilter(f: (Iterable[xml.XmlPath]) => Boolean): XPath[T]
- Definition Classes
- Axis
- final def xflatMap(f: (Iterable[xml.XmlPath]) => Iterable[Iterable[xml.XmlPath]]): XPath[T]
x prefixed to avoid disturbing the use of an xpath as an iterable
x prefixed to avoid disturbing the use of an xpath as an iterable
- Definition Classes
- Axis
- final def xlast(onN: (Int) => Boolean): XPath[T]
- Attributes
- protected
- Definition Classes
- Axis
- final def xmap(f: (Iterable[xml.XmlPath]) => Iterable[xml.XmlPath]): XPath[T]
- Definition Classes
- Axis