XSLT: Move An XML Element into Another Element

We will detail how we can move an XML element into another element using XSLT. Input Following is the example input that we will work with. We will...

Continue Reading

Identity Template using XSLT

1. Overview In this tutorial, we'll look at the identity template. Identity template or identity transformation takes the input XML and writes to o...

Continue Reading

XPath: Select Sibling Nodes

1. Overview In this tutorial, we're going to look at selecting sibling nodes. The sibling axes include preceding-sibling:: and following-sibling::....

Continue Reading

XPath: Select Preceeding or Following Nodes

The preceding and following axes have the potential to select a large number of nodes, because they consider all nodes that come before (after) the...

Continue Reading

XPath: Select Parent or Ancestor Nodes

The parent axis (parent::) refers to the parent of the context node. The expression parent::X should not be confused with ../X. The former will pro...

Continue Reading

XPath: Select Child or Descendant Nodes

The child axis is the default axis in XPath. This means one does not need to use the child:: axis specification. One can reach deeper into the XML ...

Continue Reading