xsl-list
[Top] [All Lists]

Re: [xsl] XML output in HTML

2008-03-11 11:23:11
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(_dot_)Honnen(_at_)gmx(_dot_)de> 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/

 --~------------------------------------------------------------------
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
 To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
 or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
 --~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>