In order to figure out which elements are required you seed to also have a DTD which u use use to validate the xml, if you have this then you should be able to use th standard array of XML tags, soXML etc.
> -----Original Message----- > From: Justin MacCarthy [mailto:[EMAIL PROTECTED]] > Sent: 31 January 2003 17:18 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] Generating XML for testing purposes > > > > coldfusion? > > > > (cffile innit) > > > I don't have data to generate it from > > I want something > > that looks at the schema; > figures out which elements are required etc. > figures out the datatype; > generates a random string in the format of the datatype; > builds a xml file > > x 1000s > > Sure I chould do it in cf but maybe there is something out > there, its just for load testing etc. > > J > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] For human help, e-mail: > [EMAIL PROTECTED] > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
