| Sign In/My Account | View Cart |
| Article: |
Exploring E4X with Ruby | |
| Subject: | Nice Idea | |
| Date: | 2004-09-12 08:03:26 | |
| From: | joebagOdonuts | |
|
Can't seem to get it to work though. Get this error when trying to add the new account.
|
||
Showing messages 1 through 5 of 5.
Nice Ideareadxml method was not using the document's root to create the NodeWrapper, as the xml method was. Once I added ".root" to the end of the argument to NodeWrapper.new, I had no more test failures.
Nice Ideafoo.-bar or foo.-(bar).
Nice Idea
myDoc.myRoot << myNewTree;
</code>
As opposed to:
myDoc << myNewTree
</code>
If that doesn't work you can send me (jack_d_herrington@pobox.com) the code and I will take a look at it.