This is a sample of the XML answer:
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" encoding="ISO-8859-15"?>
- <items tot="1">
- <item iid="60dddfb31b978dc4c36d4475211e6672" key="fid" title=" C-nar.jpg">
- <node nType="icon" editable="false" key="thumb" width="720" height="576">[[url]]</node>
- <node nType="parent" editable="false">
- <subnode nType="value" editable="true" key="title" title="Titolo"> C-nar.jpg</subnode>
- <subnode nType="value" editable="true" key="caption" title="Descrizione">Amaro al Sapor di carciofo</subnode>
- <subnode nType="value" editable="false" key="link" title="Link">[[url]]</subnode>
- </node>
- <node nType="select" editable="true" key="uid" title="Proprietario">
- <option value="1" selected="true">Amministratore</option>
- <option value="10000001" selected="false">SuperAdmin</option>
- <option value="2" selected="false">Pongi</option>
- </node>
- <node nType="select-multi" editable="true" key="groups:::gid" title="Visibile ai gruppi">
- <option value="1" selected="true">Amministratori</option>
- <option value="2" selected="false">Reggio Emilia</option>
- <option value="3" selected="true">Pippo</option>
- <option value="4" selected="false">Newsletter</option>
- </node>
- <node nType="value" editable="false" key="fsize">61.826KB</node>
- <node nType="remove" editable="false"></node>
- </item>
- </items>
Firefox doesn't alert me of XML syntax errors, but when I'm going to traverse it through Javascript I can get the first childNodes (the <item> nodes) but everything below this level is parsed as a single #text node. How could it be?
I hope you can spot a big mistake in my xml.
Thanks everyone.