Re: [xsl] XML output in HTML

Subject: Re: [xsl] XML output in HTML
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 11 Mar 2008 19:27:56 +0100
Senthilkumaravelan K wrote:

Now ,I tried with  <xsl:copy-of select="req"/> and my output has all
the nodes and attributes .
How Do I display in the browser in XML format.

Well your stylesheet creates a HTML document and if the browser parses and renders a HTML document then it does not know about an element named 'req' so it ignores it and its attributes and just renders any text children.
How does "XML format" look in your view? Do you want to render the XML the way Internet Explorer or Firefox do, in a pretty-printed collapsible source view?


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread