val path: Path = PathBuilder.from(QName("parent") -> 0, QName("child") -> 2).build(Scope.Empty)
Note that the indexes are 0-based. Also note that the Scope passed to the build method must be invertible.
Otherwise the resolution of QNames can break the indexes of the path builder components.
Builder for
Path
instances.For example:
Note that the indexes are 0-based. Also note that the Scope passed to the
build
method must be invertible. Otherwise the resolution of QNames can break the indexes of the path builder components.