zio.blocks.schema.xml.XmlPatch
See theXmlPatch companion object
An immutable patch for XML modification operations.
XmlPatch provides a composable way to modify XML documents with operations similar to JSON Patch but tailored for XML's structure. Patches can be composed using ++ and applied to XML values using apply.
Value parameters
ops
The sequence of patch operations to apply
Attributes
Companion
object
Source
XmlPatch.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Product
trait Equals
trait Matchable
class Any
Show all
Members list
Composes two patches. The result applies this patch first, then that patch.
Composes two patches. The result applies this patch first, then that patch.
Value parameters
that
The patch to apply after this one
Attributes
Returns
A new patch that applies both patches in sequence
Source
XmlPatch.scala
Applies this patch to an XML value.
Applies this patch to an XML value.
Value parameters
xml
The XML value to patch
Attributes
Returns
Either an error or the patched XML value
Source
XmlPatch.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
Inherited from:
Product
Source
Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
Returns
in the default implementation, an Iterator[Any]
Inherited from:
Product
Source
Product.scala