Opened 16 years ago

Closed 16 years ago

#906 closed defect (worksforme)

xml parse to json doesn't seem to parse attributes

Reported by: coms Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.3
Keywords: xml json parse attributes Cc:
Blocked By: Blocking:


If I take the example from the manual:

{{{<foo bar="bard">

<baz xyzzy="xyzzyd"/>


and try using dojo.xml.Parse() to parse to a JSON object, I do indeed get a JSON object with all the element tags, but it contains no attributes.

Change History (1)

comment:1 Changed 16 years ago by dylan

Resolution: worksforme
Status: newclosed

They are there, just somewhat non-intuitively nested. Details are available at

Note: See TracTickets for help on using tickets.