Package

quasar.physical.marklogic

xml

Permalink

package xml

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. xml
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class KeywordConfig(attributesKeyName: slamdata.Predef.String, textKeyName: slamdata.Predef.String) extends Product with Serializable

    Permalink

Value Members

  1. object Children

    Permalink

    Extract the child sequence from a node.

  2. object KeywordConfig extends Serializable

    Permalink
  3. object Leaf

    Permalink

    Matches a sequence devoid of Elem nodes.

  4. object LeafText

    Permalink

    Extracts all of the text from a leaf sequence.

  5. object SecureXML

    Permalink

    Provides methods for securely parsing XML documents, avoiding known DoS attacks.

    Provides methods for securely parsing XML documents, avoiding known DoS attacks.

    See also

    https://github.com/akka/akka/pull/17660/files#diff-3f57ed15f4aa764e53d971ec647b544fR47

    https://github.com/scala/scala-xml/issues/17

  6. def elements(nodes: Seq[Node]): Seq[Elem]

    Permalink
  7. object namespaces

    Permalink
  8. def qualifiedName(elem: Elem): slamdata.Predef.String

    Permalink
  9. def toData(elem: Elem, config: KeywordConfig): Data

    Permalink

    Example

    Example

    <foo type="baz" id="1"> <bar> <baz>37</baz> <bat>one</bat> <bat>two</bat> </bar> <quux>lorem ipsum</quux> </foo>

    { "foo": { "_attributes": { "type": "baz", "id": "1" }, "bar": { "baz": "37", "bat": ["one", "two"] }, "quux": "lorem ipsum" } }

  10. def toEJsonData(elem: Elem): Data

    Permalink

    Converts the given element to Data using EJson-compliant synthetic keys.

Inherited from AnyRef

Inherited from Any

Ungrouped