[JDEV] XPath Granularity in IQ
Adam Theo
adamtheo at theoretic.com
Mon Oct 29 01:32:09 CST 2001
Hi, all. I understand simple XPath granularity is capable in XDB's
"insert" action, and that it should not be too much work to extend this
granularity into "get" actions.
However, I'm wondering what the best place for this XPath would be in
the IQ message? as part of the namespace, as in
xmlns="jabber:iq:version?/os"? or as a separate attribute, such as
xmlns="jabber:iq:version" path="/os"?
I'm thinking in terms of parsing and retrieval efficiency. Is either way
"better" for XML parsers and the server itself to handle? My thoughts
are that the separate attribute would be best, since it already has the
elements separated, to be applied where-ever.
Thanks for your help.
--
/\ -- Adam Theo, Age 22, Tallahassee FL USA --
//\\ Theoretic Solutions (http://www.theoretic.com)
/____\ "Software, Internet Services and Advocacy"
/--||--\ Personal Website (http://www.theoretic.com/adamtheo)
|| Jabber Open IM (http://www.jabber.org)
|| Email & Jabber: adamtheo at theoretic.com
|| AIM: AdamTheo2000 ICQ: 3617306 Y!: AdamTheo2
"A free-market socialist computer geek patriotic American buddhist."
More information about the JDev
mailing list