http://qs321.pair.com?node_id=747864


in reply to Re: How do you create sub-nodes with XML::Smart
in thread How do you create sub-nodes with XML::Smart

Duly noted on the code tags. I did try the code you posted but it still have me this output:
$XML->{JOB}{NAME} = $job_name; $XML->{JOB}{DESC}[0] = $desc; $XML->{JOB}{DATA}[0] = $data; $XML->{JOB}{WHO}[0] = $who; <JOB NAME="Jonname" DESC="Description" DATA="Data..."/>
I would have thought that it would have given me something like this:
<JOB NAME="Name"> <DESC>Description</DESC> <DATA>Data</DATA> ...... </JOB>
...but it did not. Any other ideas? I have definitely looked over the CPAN site and I didn't see anything that answered my question. Thanks!