xsl-list
[Top] [All Lists]

Re: [xsl] XML output in HTML

2008-03-11 11:10:15
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>
--~--

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