How we will use XSchemas and XPATHs
Monday, March 29, 2010
4:06 PM
How we will use XSchemas and XPATHs
We will use XSchemas to ensure that data is valid before processing. 
We will use XPATHs mainly as conditionals, e.g.,  "sale[@fruit]", which is "true" iff the referenced nodeset is non-empty.
We will write simple conditional statements in XPATH, e.g., "sum(@customers) &gt; 3" to guide our "logic".