A while ago I did a crude thing using XMLParse() on an HTML document, but it was a low success rate-- so much junk can sneak into HTML that it only succeeded on about 1/3 of the docs I threw at it. Ben Nadel demonstrated a promising technique on his blog, though-- check it out: http://www.bennadel.com/blog/779-Parsing-HTML-Tag-Data-Into-A-ColdFusion-Structure.htm
<http://www.bennadel.com/blog/779-Parsing-HTML-Tag-Data-Into-A-ColdFusion-Structure.htm> -CPC On Wed, Mar 24, 2010 at 10:17 AM, Steve Parks <[email protected]>wrote: > Has anyone used any CFCs or functions to parse an html document into a CF > Struct or something to that extent? I want to be able to read in html files > and parse through different tags and read their insideHTML value as well as > their attributes similar to how you would look at objects in a JS DOM. I > know how to do this on the client side with JS, but want to be able to apply > server side logic. > > > > -Steve > > > > Steve Parks > > Adept Developer Consulting, Inc. > > [email protected] > > > > > -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en To unsubscribe from this group, send email to houcfug+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
