Permalink
Browse files

Merge pull request #4 from ashtuchkin/master

Update "even more complex example"
  • Loading branch information...
2 parents 8458325 + eea166f commit ed66ba77a3aecb3a1d2dddf66748ec63610b7de7 @dylang committed Feb 28, 2013
Showing with 0 additions and 11 deletions.
  1. +0 −11 readme.md
View
@@ -100,17 +100,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">

0 comments on commit ed66ba7

Please sign in to comment.