| Sign In/My Account | View Cart |
| Article: |
Exploring E4X with Ruby | |
| Subject: | Nice Idea | |
| Date: | 2004-09-12 09:13:40 | |
| From: | jherr2002 | |
|
Response to: Nice Idea
|
||
|
Sounds like you need to add the new tree to the root element as opposed to the document. For example:
|
||
Showing messages 1 through 4 of 4.
Nice Ideafoo.-bar or foo.-(bar).
Nice Idea
readxmlmethod was not using the document's root to create theNodeWrapper, as thexmlmethod was. Once I added ".root" to the end of the argument toNodeWrapper.new, I had no more test failures.