Jump to content
Nytro

Hacking XPath 2.0

Recommended Posts

Posted

Hacking XPath 2.0

Introducing XPath

XPath 1.0 is a well-supported and fairly old query language for selecting nodes in an XML document

and returning a computed value from the selected nodes. There are plenty of libraries implementing

full or basic support for XPath 1.0 in a huge variety of languages including Java, C/C++, Python, C#,

Haskell, JavaScript and Perl.

Using XPath 1.0 you can write simplistic queries that filter nodes within a single specified XML

document. For example, given the following XML document shown below it would be trivial to check

if a user existed and authenticate them based upon a supplied username and password.

Download:

http://t.co/LUKlB73jhy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...