This is a question that will have a simple answer. If only I knew more about 
XQuery...
 
If I run the following line in CQ:
xdmp:zip-get(doc("Contract.docx"), "customXml/item1.xml")
I get:
<Customer>     <Date>2008-11-15T00:00:00</Date>      <CompanyName>Bebop 
Corporation</CompanyName>      <FirstName>Erick</FirstName>      
<LastName>Trojan</LastName>      <SSN>1111-22-3333</SSN>      <Address>Av. 
Revolucion 841, DF, CP 03910, Mexico</Address>      <ContactTitle>Test 
Manager</ContactTitle>      <Phone>+52 (55) 6666-66666</Phone>  </Customer>
 
How should I express a query that essentially says: for each docx file in the 
DB, get me its customXml/item1.xml part, if it has one, and the <Date> element 
in it is greater than 1/1/2008.
 
Does my question make sense? Thanks!
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to