Hi Tim,

> I understand your intentions, but I'd really hate to have to maintain
> code like this:
> > <cfset
> > myHTMLPage=createObject("component","xhtmlcomponents.xhtml.html").init(
> > )>
> > <cfset myHead=myHTMLPage.new("head")>
> > <cfset myTitle= myHead.new("title")>
> > <cfset myTitle.set_value("A page")>
> > <cfset myBody=myHTMLPage.new("body")>
> > <cfset myBody.set_Bgcolor("ff00ff")>
> > <cfset myH1=myBody.new("h1")>
> > <cfset myH1String=myH1.new("string")>
> > <cfset myH1String.set_value("Hello world!")>

A parsing fuction would be nice to parse existing html
templates and convert them to an object structure. This 
would avoid a lot of code.

Thanks

Martin


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to