Random photo
Loading...
Domains for sale
|
September 9, 2003Sweet piece of code
//Whoohaa!
XPathExpression expr = nav.Compile("set:distinct(//author)");
expr.SetContext(new ExsltContext(doc.NameTable));
XPathNodeIterator authors = nav.Select(expr);
while (authors.MoveNext())
Console.WriteLine(authors.Current.Value);
EXSLT's set:distinct in XPath-only selection. Sweet.Coming soon, watch announcements! September 9, 2003 5:18 PM
| #.NET
Comments
Illustrates how EXSLt function scan be used in XPath-only environment. Posted by: Oleg Tkachenko at October 7, 2003 3:27 PMSorry to pose the stupid question. But what does that piece of code accomplish ? Posted by: Karthik at October 5, 2003 4:24 AMGreat news Oleg!!! I'm looking forward this enhancements to make them available in Schematron.NET too! Posted by: Daniel Cazzulino at September 16, 2003 8:52 PMPost a comment
|