all groups > dotnet xml > april 2007 >
You're in the

dotnet xml

group:

Random XPath generator


Random XPath generator rsotolongo NO[at]SPAM gmail.com
4/27/2007 5:13:47 AM
dotnet xml: I need generate randoms XPath expressions to make queries to XML
documents.

Someone can help me to find a component (class) that auto generate
XPath expressions???.

Maybe, someone can say me where to start???.
Re: Random XPath generator Bjoern Hoehrmann
4/27/2007 3:00:31 PM
* rsotolongo@gmail.com wrote in microsoft.public.dotnet.xml:
[quoted text, click to view]

Could you be more specific? Generating random expression should be easy
(you could use standard tools to generate strings from regular express-
ions and filter out malformed expressions, or tools that do this for the
context-free XPath language directly), but it is unlikely that many of
the random expressions would resolve to anything but an empty node set.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
AddThis Social Bookmark Button