>
> ok, i have a bunch of string based html stored in standard ascii text 
> file.  how do i convert that string html into standard web2py html helper 
> objects?  thanx in advance, lucas


with open(<source>) as myfile:
    tag = TAG(myfile.read())

Every element defined in the source will map to  a generic helper built 
with the TAG factory, but you could re-build the tree reading each 
element's tag in a loop.
 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to