Results 1 to 2 of 2

Thread: DomQuery.select question

  1. #1

    Default DomQuery.select question

    Hi,

    Quick question on DomQuery.select

    what does this return exactly?

    I'm running a select on an xml file, I select all the children of an element

    Code:
    recordDefinition = Ext.DomQuery.select(this.meta.recordDefinition + ' / *', data);
    but I get an array with 13 elements (in the xml file, there's 6 children for the element...)
    I tried to use some reflection to find out what the other objects were, and they seem to be objects containing extra information (some of the properties where previous child etc)

    Is it normal to get these objects? I just need the 6 elements that are defined in the xml.
    any way around this?
    (the xml file is valid btw)


    Cheers

  2. #2

    Default

    bump

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •