Home Products Consulting About Us White Papers Careers Contact Us Tutorials
 

 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)

Tutorials - How To Use a Built-In Function in XPath
Page 1 of 2

XPath puts a number of built-in functions at our disposal. They are generally for purposes such as formatting expression results and building filters with complex clauses that cannot be expressed using operators alone. In this lesson we’ll take a look at a couple of these functions.

Let’s say we have a document with data associating a number of parents with their children.

 

 

What if we want to obtain a list of all parents with sons? If we’re satisfied with just viewing those parents’ then something like this will do…

 

 

… but what if we would like to see both the first and last name of each parent produced by the expression? This is where XPath functions come in. We’ll using the XPath concatenation function, “concat” to create values that include both “lname” and “fname” content.

 


 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
Next Step

Move On To Next Step - "Using the ‘Count’ Function"

Read a Detailed Product Description

Read About Delve and XPath in Detail

Browse Product White Papers

 
Home Products Consulting About Us White Papers Careers Contact Us Tutorials