From: Ian Macdonald Date: 2002-09-12T00:59:42+09:00 Subject: using REXML for XML document creation Hi, As an REXML beginner, I'm having trouble figuring out how to nest one element within another. Basically, I need something like this: Right now, I can create each element sequentially, but I'm having a hard time getting all the elements inside the element. Parsing an existing file is not a problem; I simply can't work out how to use REXML to _create_ such a file. The documentation doesn't discuss embedded in this way. All the examples feature unnested elements. I'm obviously missing something really basic here. Ian -- Ian Macdonald | Immature artists imitate, mature artists ian@caliban.org | steal. -- Lionel Trilling | | |