xsl-list
[Top] [All Lists]

Re: [xsl] XML output in HTML

2008-03-11 11:28:30
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/

--~------------------------------------------------------------------
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>