This package contains element representations that contain the "context" of the element. That is, the elements
in this package are pairs of a root element and an element path (to the actual element itself).
An example of where such a representation can be useful is XML Schema. After all, to interpret an element definition
in an XML schema, we need context of the element definition to determine the target namespace, or to determine whether the
element definition is top level, etc.
Do not do this:
import eu.cdevreeze.yaidom.indexed._
Better is the following:
import eu.cdevreeze.yaidom.indexed
val indexedRootElm = indexed.Elem(rootElm)
This package contains element representations that contain the "context" of the element. That is, the elements in this package are pairs of a root element and an element path (to the actual element itself).
An example of where such a representation can be useful is XML Schema. After all, to interpret an element definition in an XML schema, we need context of the element definition to determine the target namespace, or to determine whether the element definition is top level, etc.
Do not do this:
import eu.cdevreeze.yaidom.indexed._
Better is the following: