OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XPath/XQuery/XSLT fn:node() question

On 28/02/2012 18:06, David Lee wrote:
220256FDE771B74FB662165BC562CF590D454233@CH1PRD0802MB107.namprd08.prod.outlook.com" 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
220256FDE771B74FB662165BC562CF590D454233@CH1PRD0802MB107.namprd08.prod.outlook.com" type="cite">


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


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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS