Loading ...
Sorry, an error occurred while loading the content.

44683how can we set the responseSchema object for complicated xml? (XHRDataSource)

Expand Messages
  • zedan_gu
    Feb 4, 2009
      I use XHRDataSource to get my remote data, but the returned xml like
      below:
      <?xml version="1.0" encoding="UTF-8"?>
      <root>
      <a><aa id="1"/><aa id="2"/></a>
      <b><bb id="1"/><bb id="2"/></b>
      <c><cc id="1"><ccc id="1"/><ccc id="2"/>
      <cc id="2"/><ccc id="3"/><ccc id="4"/>
      </c>
      </root>

      if we want to get the node named aa, we can set resultNode="aa";
      field=[{key:"id}]. But if we want to get all the xml data, how can we
      set the responseSchema object ?

      thx.
    • Show all 3 messages in this topic