I've tried this, but it's not getting me there either:
<cfscript>
file_log.xmlRoot.XmlChildren[i] = XmlElemNew(file_log, "File");
file_log.xmlRoot.Collection.File[i].XmlText =
"#selectedElements[i].XmlAttributes.id#.pdf";
</cfscript>
H.
> -----Original Message-----
> From: Owens, Howard [SMTP:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 4:13 PM
> To: CF-Talk
> Subject: RE: Dynamically populating an XML document
>
> Thanks, but ...
>
> That won't work for me because I wind up with a loop inside a loop,
> looping
> over the same elements.
>
> I need to dynamically increase the size of my structure with each loop and
> output after the loop exists.
>
> I guess I'm thinking about this wrong, and I need to use an array of
> structures.
>
> H.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4