It's been rumoured that Mike Skowronski said:
> > OK, explain to me how to do this in your view of the world:  I have Ccode,
> > it is going to generate a table with N rows; I only know N at run time.
> > How do I create html/xml that will display properly?
> 
> > The (ugly but still the best I could think of) solution I picked was to
> > have the c code dump the N rows into a perl array, and then use perl
> > to loop & generate the table.  This seemed to give me the best of both
> > worlds: no html embedded in my c code, and no invent-your-own
> declarative
> > language  (I'd invented a declarative language for html embedding once
> > before, see www.teleportal.com for a working example).
> > 
> > Show me a better way ...
> > 
> 
> I have been making an XML application and have run across this problem
> as well. I have a tree that I populate in code. Utopia doesn't exist
> but at least you divided the code from the html. You didn't embedd the
> logic in the document, I see XML as a good tool for creating the skeleton
> of a GUI not the substance, you still need callbacks and that is where
> Python or some other programming language comes in.

Callbacks .. hmmm ... now that's an idea ... you've got an xml parser that
calls calbacks?  In c/c++ perhaps?

Have you looked at xpfe at mozilla.org?  check out htier "downloadable
chrome" concept ..

--linas

----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to