logo       

Re: Well-formed HTML as XSL output.: msg#00025

java.helma.antville.user

Subject: Re: Well-formed HTML as XSL output.


On Oct 23, 2007, at 3:31 PM, Edward L. Knoll wrote:

Is there a way to generate well-formed HTML as an XSL output?

By well-formed, I presume you mean in the XML sense (what's output by Xalan should be well-formed in the HTML sense).

We have a situation where we'd like to do conditional post- processing of HTML generated from an XSL transformation using an Xalan XSLT processor. That HTML conditional post-processing could be accomplished using XSL if the HTML were well-formed.

Some of the options that I can think of are (i) use output="xml" instead of output="html" (this may likely require some changes to your stylesheet) (ii) use HTML Tidy to convert HTML to XML or (iii) combine both of your transforms into one.

-- Santiago




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise