[Linux-cluster] ccsd patch to allow retrieval of child type + CDATA

Lon Hohberger lhh at redhat.com
Fri Aug 6 19:01:09 UTC 2004


This is so we have a way to figure out child types as well as the CDATA
value.

Ex:

<cluster>
  <nodes>
    <node name="foo">stuff</node>
  </nodes>
</cluster>

Old behavior: 

[root at red lhh]# ccs_test connect
Connect successful.
 Connection descriptor = 0
[root at red lhh]# ccs_test get 0 /cluster/nodes/child::*[1]
Get successful.
 Value = <stuff>

New behavior:

[root at red lhh]# ccs_test connect
Connect successful.
 Connection descriptor = 0
[root at red lhh]# ccs_test get 0 /cluster/nodes/child::*[1]
Get successful.
 Value = <node=stuff>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccsd-child.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20040806/ed863041/attachment.bin>


More information about the Linux-cluster mailing list