Converts an Elem
to an ElemBuilder
, given a parent scope.
Converts an Elem
to an ElemBuilder
, given a parent scope.
The resulting (root) ElemBuilder
gets the following namespace declarations: parentScope.relativize(elm.scope)
.
Converts a Node
to a NodeBuilder
, given a parent scope.
Converts a Node
to a NodeBuilder
, given a parent scope.
The following must always hold: fromNode(node)(parentScope).build(parentScope)
"is structurally equal to" node