Re: javax.xml.transform and HTML

Henri Sivonen wrote:
> Oops. I didn't realize there was content after the signature.
> 
> Is this commonly used? It's a rather unobvious use of a transform package.

I know it's commonly used for serializing XML (actually, as far as I 
recall, it's the recommended way to do it when you have to rely on what 
the JDK includes). Once you know it's there and realize that it includes 
HTML serialization as well, it's kind of obvious to use it for that as well.

That being said, I don't recall whether it was recommended anywhere. And 
no, I don't know how common it is.

Is there a better alternative that doesn't require including additional 
packages?

BR, Julian

Received on Wednesday, 3 September 2008 08:11:46 UTC