[xsd-users] Re: Newbie question -- confused on simple point -- how to get the value of an item from my parsed document?

Boris Kolpackov boris at codesynthesis.com
Wed Feb 29 09:29:03 EST 2012


Hi Rich,

Cook, Rich <cook47 at llnl.gov> writes:

> Answered my own question. 
> The answer is 
> valuestr = *frame.imuLatitude(); 

BTW, this is covered in Chapter 4, "Working with Object Models" in the 
C++/Tree Mapping Getting Started Guide:

http://codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#4

Specifically, Section 4.1, "Attribute and Element Cardinalities" talks
about extracting value from optional elements and attributes.

Boris



More information about the xsd-users mailing list