Skip to content

Commit

Permalink
Update "even more complex example" to be what it really is.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtuchkin committed Apr 23, 2012
1 parent 57503fa commit eea166f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,6 @@ Everything should pass:
var example5 = [ { toys: [ { _attr: { decade: '80s', locale: 'US'} }, { toy: 'Transformers' } , { toy: [ { _attr: { knowing: 'half the battle' } }, 'GI Joe'] }, { toy: [ { name: 'He-man' }, { description: { _cdata: '<strong>Master of the Universe!</strong>'} } ] } ] } ];
console.log(XML(example5, true));
/*
<toys><toy>Transformers</toy><toy>GI Joe</toy><toy>He-man</toy></toys>
<toys>
<toy>Transformers</toy>
<toy>GI Joe</toy>
<toy>He-man</toy>
</toys>
<toys decade="80s" locale="US">
<toy>Transformers</toy>
<toy>GI Joe</toy>
<toy>He-man</toy>
</toys>
<toys decade="80s" locale="US">
<toy>Transformers</toy>
<toy knowing="half the battle">
Expand Down

0 comments on commit eea166f

Please sign in to comment.