- From: Michael Kay <mike@s...>
- To: xml-dev@l...
- Date: Tue, 28 Feb 2012 18:30:51 +0000
On 28/02/2012 18:06, David Lee wrote:
220256FDE771B74FB662165BC562CF590D454233@C..."
type="cite">
I know that the fn:node() function does not select attributes but I cannot find any definitive reference to that.
There is no such function. node() is a node-test. It matches every
node. But if you use it as an axis step with the child axis, the
axis step only selects nodes on the child axis; and child is the
default axis if you don't specify an axis.
Michael Kay
Saxonica
220256FDE771B74FB662165BC562CF590D454233@C..."
type="cite">
http://www.w3.org/TR/xpath/#NT-AxisSpecifier
I read:
child::node() selects all the children of the context node, whatever their node type
But no reference to excluding attribute nodes.
Any suggestions ?
----------------------------------------
David A. Lee
dlee@c...<mailto:dlee@c...>
http://www.xmlsh.org
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|