W3C home > Mailing lists > Public > www-archive@w3.org > September 2008

Re: javax.xml.transform and HTML

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 3 Sep 2008 10:48:11 +0300
Cc: www-archive@w3.org
Message-Id: <B761EC64-5CA5-473B-A8F2-7393B3DB20F1@iki.fi>
To: Julian Reschke <julian.reschke@gmx.de>

On Sep 3, 2008, at 09:41, Julian Reschke wrote:

> Henri Sivonen wrote:
>> Hi,
>> On Sep 2, 2008, at 14:38, Julian Reschke wrote:
>>> I just checked my last project where I needed to produce HTML from  
>>> Java -- turns out that it falls into the same category, as it uses  
>>> javax.xml.transform just for the purpose of serializing to HTML.  
>>> Note that this is *not* XSLT, just usage of a standard JDK method  
>>> to produce HTML.
>> How can one use javax.xml.transform as a mere serializer? Can that  
>> be done without the expense of using an identity transform?
> Yes.
> I did attach sample code, didn't I?

Oops. I didn't realize there was content after the signature.

Is this commonly used? It's a rather unobvious use of a transform  

Henri Sivonen
Received on Wednesday, 3 September 2008 07:49:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:26 UTC