Hi all,
I am trying to parse out numerous <div> tags on pages that are output by <cfhttp> in a loop. Code I have so far(just CFHTTP part) is;
<cfloop query="listPages">
<cfhttp method="Get" url="
<cfoutput>#CFHTTP.FileContent#</cfoutput>
<br class="pagebreak">
</cfloop>
The pages retrived by cfhttp have different # of <div> tags depends on the pages. I like to have some code that see all the <div> tags on each page and remove them all. Could anyone help me with coding? Thanks a lot.
I am trying to parse out numerous <div> tags on pages that are output by <cfhttp> in a loop. Code I have so far(just CFHTTP part) is;
<cfloop query="listPages">
<cfhttp method="Get" url="
http://test.com/test.cfm?user=#listPages.user#&cat=#listPages.cat_id#&page=#listPages.page_id#"
resolveurl="yes"><cfoutput>#CFHTTP.FileContent#</cfoutput>
<br class="pagebreak">
</cfloop>
The pages retrived by cfhttp have different # of <div> tags depends on the pages. I like to have some code that see all the <div> tags on each page and remove them all. Could anyone help me with coding? Thanks a lot.