Home Products Consulting About Us White Papers Careers Contact Us Tutorials
 

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

Tutorials - How To Use XPath to Set and Get Attribute Values
Page 2 of 3

If there a multiple attributes with the same name, then an accessor expression may evaluate to multiple values. When this occurs, Tectonic stores these values in an array. Continuing with the example from page one, let’s consider an element “parts” with a number of “part” children, each one of has a “dimen” element expressing the part’s dimensions.

 

 

We can use an accessor expression to obtain the “units” values of all parts…

 

 

and display those values like so:

 


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

Move On To Next Step - "Setting an Attribute Value with an Accessor"

Go Back To Previous Step

View Entire Code Sample

Read a Detailed Product Description

Read about Delve and XPath expressions in detail

Browse Product White Papers

 
Home Products Consulting About Us White Papers Careers Contact Us Tutorials