RTFBOTE, Reba. unsubscribe notices at the bottom.
christopher olive cto, vp of web development, vp it security atnet solutions, inc. 410.931.4092 http://www.atnetsolutions.com -----Original Message----- From: Reba [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 4:03 PM To: CF-Talk Subject: RE: parsing CFML UH OH! THERE IS A PROBLEM WITH WHAT I'M ASSUMING CAME FROM THE CFHUB SITE. I JUST TRIED TO SIGN UP AND NOW I AM GETTING ALL THESE EMAILS! -----Original Message----- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 3:49 PM To: CF-Talk Subject: Re: parsing CFML You can use a tool like soXML. But is your CFML valid XML? Do you close your cfsets, for example? ----- Original Message ----- From: "James Sleeman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 9:51 PM Subject: parsing CFML > Hi all, > this is a bit of a strange request I guess. I want to parse CFML > files like they were XML files, so that I can access the structure of > the (well formed, no overlapping with html etc) cfml. For example, so > that I can do something like.... > > <CF_PARSECF FILE="mycf.cfm"> > <CFLOOP FROM="1" TO="#parsecf.recordCount#" INDEX="i"> > <CFIF parsecf[i].tag eq "CFCASE"> > I just saw a cfcase, it's value was > <CFOUTPUT>#parsecf[i].value#</CFOUTPUT> and the content of this cfcase > is <CFOUTPUT>#parsecf[i].contents#</CFOUTPUT>... > <CFLOOP FROM="1" TO="#parsecf[i].parsecf.recordcount#" INDEX="j"> > ..... etc ..... > </CFLOOP> > </CFIF> > </CFLOOP> > > has anybody done anything like this ?? > > --- > James Sleeman > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists