Skip to content

Loading…

Update "even more complex example" #4

Merged
merged 1 commit into from

2 participants

@ashtuchkin

Because it's really confusing and incorrect.

@dylang dylang merged commit ed66ba7 into dylang:master
@dylang
Owner

thanks @ashtuchkin, sorry I took so long to do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 0 additions and 11 deletions.
  1. +0 −11 readme.md
View
11 readme.md
@@ -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">
Something went wrong with that request. Please try again.