2009/7/29 Iñaki Baz Castillo <i...@aliax.net>: > However I would appreciate an example of usage since I don't fully > understand how to perform the query.
I think I got it, example: http://tools.ietf.org/html/rfc4825#section-7.10 http://tools.ietf.org/html/rfc4825#section-10 Let's suppose a query to fetch the namespaces for an element into the document stored in the server: {{{ GET /xcap-root/pres-rules/users/al...@domain.net/pres-rules/~~/ccpp:ruleset/ccpp:rule...@id=%22pres_whitelist%22%5d/ccpp:conditions/ccpp:identity/namespace::* ?xmlns(ccpp=urn:ietf:params:xml:ns:common-policy) HTTP/1.1 }}} It should retrieve from the server a reply containing the namespaces and prefixes '''of the stored document''' for the element requested: {{{ HTTP/1.1 200 OK Content-Type: application/xcap-ns+xml <identity xmlns:pr="urn:ietf:params:xml:ns:pres-rules" xmlns:cp="urn:ietf:params:xml:ns:common-policy" /> }}} With this data, the client could apply the correct namespace prefixes to the body of a PUT request (when creating/replacing an element instead of the whole document). Is this correct? -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors