Abbreviating the descendant axis in XSLT

Say we have the following XML: [sourcecode language=’xml’] p1 p2 p3 [/sourcecode] The question is, what does the XPath expression //para[1] return? I originally expected it to select all the para elements and then return just the first one. In fact, what it returns is [sourcecode language=’xml’] p1 p3 [/sourcecode] This is because what the… Read More