Re: [xsl] XML output in HTML

Subject: Re: [xsl] XML output in HTML
From: "Senthilkumaravelan K" <skumaravelan@xxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2008 11:30:39 -0700
Hi Martin,
yes, I want to render the XML  pretty-printed collapsible source view.
Thanks,
Senthil


On Tue, Mar 11, 2008 at 11:27 AM, Martin Honnen <Martin.Honnen@xxxxxx> wrote:
> 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