in scala.xml
class HasKeyValue

`class` HasKeyValue
  `extends` java.lang.Object
  `with` scala.ScalaObject

  use this class to match on (unprefixed) attribute values

  val hasName = new HasKeyValue("name") node match { case Node("foo", hasName(x), _) => x // foo had attribute with key "name" and with value x }

Constructor Summary
| `def` this (key: java.lang.String)

Def Summary
| `def` unapplySeq (x: scala.xml.MetaData) : scala.Option[scala.Seq[scala.xml.Node]]

Constructor Detail

`def` this (key: java.lang.String)

Def Detail

`def` unapplySeq (x: scala.xml.MetaData): scala.Option[scala.Seq[scala.xml.Node]]