Hello,

For my web app I would like to have two different output formats for certain
requests: PDF and HTML.  I've already done PDF (via FOP) but would like to
know the best way in generating HTML.

For example, given this document:

<person>
<name>
        <firstName>...</firstName>
        <lastName>...</lastName>
</name>
<address>...</address>
...
</person>

I see two possibilities:

1) Create an XSL stylesheet and run Xalan on the server to generate the
HTML. 

2) Use the JSTL XML tags within a JSP to place the document elements.

I'm guessing (1) is faster, but (2) is more maintainable...I'm wondering
what the experiences of others on this list have been.

Thanks,
Glen

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to