Lucee Function Reference

htmlparse()

parse the given html (not only xhtml) as xml Object, work similar to xmlParse, but this function is very forgiving with the syntax..

Example

htmlparse(string html,[boolean caseSensitive]):xml

Category

HTML

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
html string  Yes A string or a variable that contains one, with HTML to be parsed  
caseSensitive boolean  No Maintains the case of document elements and attributes