Download test xml files (>6.84Mb): data.rar (archived - 406kb)

Expression \ Action Small (3.67Kb) Medium (185Kb) Big (6.66Mb)
Linq to XML XPath Linq to XML XPath Linq to XML XPath
/Category
/Category/Products
/Category/Products/Product
/Category/Products/Product[Price > 3]
//Product
//Products/Product[1]
//Products/Product[last()]
//Product/RRP | //Product/Price
//Product/*
/Category[@id < 1000]
/Category[@id < 1000]/Products/Product[@id < 1000]
/Category[contains(@name,'Jewellery')]
/Category/Products/Product[contains(@name,'Pearl')]
/Category/Products/Product[contains(Description,'diamante')]