Little doc bug #191

merged 1 commit into from Aug 2, 2011

2 participants


At the moment, ->root returns the root of the document, not the root element.
That's why ->root and ->at(':root') are not the same. The nomenclature however is a bit confusing throughout the different xml specs (XML, XPath, XSLT etc.), with XPath having the best definitions (my colleague believes ;)) with calling all these things "nodes" and only elements "elements" (
The bug is - it does not return an element for the moment.
For a discussion on that topic, refer to


@kraih kraih merged commit e2411b5 into kraih:master Aug 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment