Wildcard selector which passes all nodes unmodified.
Wildcard selector which passes all nodes unmodified. This is analogous
to the "_"
selector syntax in scala.xml
. For example: ns \ * \ "name"
Pimps the convert
method onto any object for which there exists a conversion
into Anti-XML.
Pimps the convert
method onto any object for which there exists a conversion
into Anti-XML. Note that this conversion is an implicit value, statically
enforced and thus shouldn't be the source of any collision issues. It should
actually be possible to have another implicit conversion in scope which
pimps the convert
method without seeing conflicts.
Non-node selector which finds exclusively com.codecommit.antixml.Text
nodes and pulls out their String
content.
Non-node selector which finds exclusively com.codecommit.antixml.Text
nodes and pulls out their String
content. Unlike most selectors, the
result of using this selector is not a com.codecommit.antixml.Group, but
a generic scala.collection.Traversable[String]
. This selector can
be used to emulate the NodeSeq#text
method provided by scala.xml
. For
example: ns \\ text mkString
(this is analogous, but not quite equivalent
to calling ns.text
in scala.xml
).
Allow these to be mixed in where needed, instead of having to import the package object.