OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: XPATH query Take 2



Mike Rowley suggested a simplified XPATH query syntax assuming a
specific logical derived documents that define content and meta data
together in one document. The result is the following simpler XPATH
query.

** If we assume that there is a (logicial) derived document for managed
objects.

/ManagedObject[@name="*IBM*"]

/ManagedObject[classification//automotive
               %OR% classification/geography//tokyo]

/ManagedObject[package/foo]


** This query may be useable against actual XML that is stored in the
repository.

//ManagedObject[@uuid =
/classification[@targetObjRef=/ClassificationNode[@name="Industry"]

/ClassificationNode[@name="Automotive"]]/@sourceUUID]



--
Regards,
Farrukh

begin:vcard 
n:Najmi;Farrukh
tel;work:781-442-0703
x-mozilla-html:FALSE
url:www.sun.com
org:Sun Microsystems;Java Software
adr:;;1 Network Dr. MS BUR02-302;Burlington;MA;01803-0902;USA
version:2.1
email;internet:najmi@east.sun.com
fn:Farrukh Najmi
end:vcard


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC