There's no standard SDO API, but we have a Tuscany utility method which is 
used in the implementation of Java serialization:

DataObjectUtil.getXPath(DataObject dataObject)

Frank.




Ole Ersoy <[EMAIL PROTECTED]> 
04/17/2007 02:50 PM
Please respond to
tuscany-dev@ws.apache.org


To
tuscany-dev@ws.apache.org
cc

Subject
[XPATH] Getting a DataObject's Path?






Hi,

I've been looking at the SDO Specification
and Javadocs trying to figure out how to get a dataobject's
path (Relative to it's root).

Something like:

String path = DataGraph.getPath(dataObject);

Which would return something like:

"//company/employees[2]/"

Thoughts?

Thanks,
- Ole



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to