Re: [xsl] XML output in HTML

Subject: Re: [xsl] XML output in HTML
From: "Senthilkumaravelan K" <skumaravelan@xxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2008 11:22:43 -0700
Hi Martin,
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.

Regards,
Senthil

On Tue, Mar 11, 2008 at 11:09 AM, Martin Honnen <Martin.Honnen@xxxxxx> wrote:
> Senthilkumaravelan K wrote:
>
>  >                                       <xsl:for-each select="report/result">
>  >                                               <tr>
>  >                                                       <td>
>  >                                                                               <xsl:apply-templates select="req" />
>
>  If you want to copy the XML element to the output then use
>     <xsl:copy-of select="req"/>
>
>
>  On the other hand I am not sure I have understood what you want to
>  achieve as putting XML elements in an HTML document usually does not
>  make sense, the browser does not know how to deal with them.
>
>  --
>
>         Martin Honnen
>         http://JavaScript.FAQTs.com/

Current Thread