ProcInstr
an XML node for processing instructions (PI)
an XML node for processing instructions (PI)
- Value Params
- proctext
text contained in this node, may not contain "?>"
- target
target name of this PI
- Authors
Burak Emir
Value members
Concrete methods
Inherited methods
Projection function, which returns elements of this
sequence based
on the string that
. Use:
Projection function, which returns elements of this
sequence based
on the string that
. Use:
this \ "foo"
to get a list of all children that are labelled with"foo"
;this \ "_"
to get a list of all child elements (wildcard);this \ "@foo"
to get the unprefixed attribute"foo"
ofthis
;this \ "@{uri}foo"
to get the prefixed attribute"pre:foo"
whose prefix"pre"
is resolved to the namespace"uri"
.
For attribute projections, the resulting scala.xml.NodeSeq attribute values are wrapped in a scala.xml.Group.
There is no support for searching a prefixed attribute by its literal prefix.
The document order is preserved.
- Inherited from
- NodeSeq
Convenience method which returns string text of the named attribute. Use:
Convenience method which returns string text of the named attribute. Use:
that \@ "foo"
to get the string text of attribute"foo"
;
- Inherited from
- NodeSeq
Projection function, which returns elements of this
sequence and of
all its subsequences, based on the string that
. Use:
Projection function, which returns elements of this
sequence and of
all its subsequences, based on the string that
. Use:
this \\ "foo" to get a list of all elements that are labelled with
"foo", including
this`;this \\ "_"
to get a list of all elements (wildcard), includingthis
;this \\ "@foo"
to get all unprefixed attributes"foo"
;this \\ "@{uri}foo"
to get all prefixed attribute"pre:foo"
whose prefix"pre"
is resolved to the namespace"uri"
.
For attribute projections, the resulting scala.xml.NodeSeq attribute values are wrapped in a scala.xml.Group.
There is no support for searching a prefixed attribute by its literal prefix.
The document order is preserved.
- Inherited from
- NodeSeq
- Inherited from
- StrictOptimizedSeqOps
Convenience method, looks up a prefixed attribute in attributes of this node.
Same as attributes.getValue(uri, this, key)
-
Convenience method, looks up a prefixed attribute in attributes of this node.
Same as attributes.getValue(uri, this, key)
-
- Value Params
- key
of queried attribute.
- uri
namespace of queried attribute (may not be null).
- Returns
value of
PrefixedAttribute
with given namespace and given key, otherwise'''null'''
.- Inherited from
- Node
Convenience method, looks up an unprefixed attribute in attributes of this node.
Same as attributes.getValue(key)
Convenience method, looks up an unprefixed attribute in attributes of this node.
Same as attributes.getValue(key)
- Value Params
- key
of queried attribute.
- Returns
value of
UnprefixedAttribute
with given key in attributes, if it exists, otherwisenull
.- Inherited from
- Node
String representation of this node
String representation of this node
- Value Params
- stripComments
if true, strips comment nodes from result
- Inherited from
- Node
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Inherited from
- IterableOnceOps
- Inherited from
- IterableOnceOps
Descendant axis (all descendants of this node, not including node itself) includes all text nodes, element nodes, comments and processing instructions.
Descendant axis (all descendants of this node, not including node itself) includes all text nodes, element nodes, comments and processing instructions.
- Inherited from
- Node
Descendant axis (all descendants of this node, including this node) includes all text nodes, element nodes, comments and processing instructions.
Descendant axis (all descendants of this node, including this node) includes all text nodes, element nodes, comments and processing instructions.
- Inherited from
- Node
- Definition Classes
- StrictOptimizedSeqOps -> StrictOptimizedSeqOps -> SeqOps
- Inherited from
- StrictOptimizedSeqOps
- Definition Classes
- ScalaVersionSpecificNodeSeq -> IterableOps
- Inherited from
- ScalaVersionSpecificNodeSeq
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- ScalaVersionSpecificNodeSeq -> IterableOps
- Inherited from
- ScalaVersionSpecificNodeSeq
Convenience method, same as scope.getURI(pre)
but additionally
checks if scope is '''null'''
.
Convenience method, same as scope.getURI(pre)
but additionally
checks if scope is '''null'''
.
- Value Params
- pre
the prefix whose namespace name we would like to obtain
- Returns
the namespace if
scope != null
and prefix was found, elsenull
- Inherited from
- Node
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.
- Inherited from
- SeqOps
- Inherited from
- SeqOps
- Inherited from
- SeqOps
used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5
used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5
- Inherited from
- Node
- Inherited from
- SeqOps
- Inherited from
- SeqOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
Appends qualified name of this node to StringBuilder
.
Appends qualified name of this node to StringBuilder
.
- Inherited from
- Node
always Node.EmptyNamespace
always Node.EmptyNamespace
- Definition Classes
- SpecialNode -> Node
- Inherited from
- SpecialNode
- Definition Classes
- ScalaVersionSpecificNodeSeq -> IterableOps
- Inherited from
- ScalaVersionSpecificNodeSeq
- Inherited from
- IterableOnceOps
Children which do not stringify to "" (needed for equality)
Children which do not stringify to "" (needed for equality)
- Inherited from
- Node
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
method returning the namespace bindings of this node. by default, this is TopScope, which means there are no namespace bindings except the predefined one for "xml".
method returning the namespace bindings of this node. by default, this is TopScope, which means there are no namespace bindings except the predefined one for "xml".
- Inherited from
- Node
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
returns a sequence consisting of only this node
returns a sequence consisting of only this node
- Inherited from
- Node
Returns a type symbol (e.g. DTD, XSD), default '''null'''
.
Returns a type symbol (e.g. DTD, XSD), default '''null'''
.
- Inherited from
- Node
Deprecated and Inherited methods
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- SeqOps
- Deprecated
- Inherited from
- IterableOps
- Deprecated
- Inherited from
- SeqOps
- Deprecated
- Inherited from
- Iterable
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps