generating HTML on server for conversion api
I am looking into the converstion api to generate pdf documents from HTML.
I have lot of complex HTML that should be generated dynamically.  What is the best way to generate complex HTML on appengine server so that, I can use it in the conversion api.

Asset asset = new Asset(
    "text/html", "<b>some data<b>".getBytes(), "testfile.html");

In the above the second param is the HTML.  What if I have complex HTML? What is a good way to generate the HTML, so that it is maintainable and readable. 

-Aswath
generating HTML on server for conversion api
===

I am looking into the converstion api to generate pdf documents from HTML.
I have lot of complex HTML that should be generated dynamically.  What is the best way to generate complex HTML on appengine server so that, I can use it in the conversion api.

Asset asset = new Asset(
    "text/html", "<b>some data<b>".getBytes(), "testfile.html");

In the above the second param is the HTML.  What if I have complex HTML? What is a good way to generate the HTML, so that it is maintainable and readable. 

-Aswath