nedcomp hosting homepage

Producten en Diensten
Dedicated servers
Datacenter informatie
Partners, resellers
Helpdesk informatie
Technische docs, tools
Support homepage
ASP componenten
Praktische ASP, ASP.NET
Visual route server
Whois (domein gegevens)
Software documentatie
Whitepapers
Zoeken
Nedcomp / algemeen

Zoeken
 

Copyright © Nedcomp Hosting
Telefoon nr :   +31 184 670111
Fax nummer :   +31 184 631384
E-mailadres :   info@nedcomp.nl
 

Microsoft XML Core Services (MSXML) 4.0 - XPath Reference

id Function

Selects elements by their unique ID.

node-set id(object)

Remarks

When the argument is of type node-set, the result is the union of the result of applying id() to the string value of each of the nodes in the node-set argument.

When the argument is of any other type, it is converted to a string and then split into a white space–separated list of tokens (white space is any sequence of characters matching the production); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.

The following selects the element with the unique ID "mysample":

id("mysample")

The following selects the fifth para child of the element with unique ID "mysample":

id("mysample")/child::para[position()=5]

See Also

Data Types in Schemas | XDR Schema Data Types Reference | XML Data Types Reference


Download de SDK