Input XSLT Output

match “/*”

The “/*” Template matches the actual top Element. The count() is the number of first child Elements.

Now, both () and (.) return the name of that element.

The * refers to the node set comprised of the five first child Elements. The first child Element is <Id>. The last child Element is <ListOfObject>. The last descendant Element is <Description>.

Also, notice that “*” and “child::*” mean the same thing, so we'll only use “child::*” from now on.