Here's another example, given my current schema... This one performs an
insert.
<query>
<element source="local/cart/addresses"
xpath="/address"
replace="true" />
<where>
<!-- element source is the default -->
<match xpath="/[EMAIL PROTECTED]'Tom Bradford'" />
<match xpath="/[EMAIL PROTECTED]'work'" />
<!-- this one narrows the target set -->
<match source="local/cart/orders"
xpath="/[EMAIL PROTECTED]'12345']" />
</where>
<insert target="local/cart/orders"
xpath="/order/shipto" />
</query>
Same style applies to a delete and update, except that a delete
shouldn't require a input set.
--Tom
begin:vcard
n:Bradford;Tom
tel;fax:(480) 947-2280
tel;work:(480) 421-1233
x-mozilla-html:FALSE
url:http://www.dbxmlgroup.com/bradford.html
org:<b>The dbXML Group, L.L.C.</b>;<a href="http://www.dbxmlgroup.com/"><img src="http://www.dbxmlgroup.com/images/dbxmllogo.gif" border="0"></a>
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Software Architect
adr;quoted-printable:;;6900 East Camelback Road=0D=0ASuite 700;Scottsdale;AZ;85251;USA
x-mozilla-cpt:;5184
fn:Tom Bradford
end:vcard