ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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:



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.


1 to 1 of 1
  1. Nice Idea
    2004-10-15 12:22:16  HotFusionMan [View]

1 to 1 of 1