[xsl] Re: Unable to View the XSL Output in Browser in Altova XML Spy

Subject: [xsl] Re: Unable to View the XSL Output in Browser in Altova XML Spy
From: Rashi Bhardwaj <rashi.bhardwaj@xxxxxxxxx>
Date: Fri, 12 Nov 2010 12:35:55 +0530
Hello Charlton,

I got a error...that there is some incomplete tags in <head> tag. And
I have called the js in <head> tag, the js may be the reason. Is there
anyway to avoid that js error??

But the same xsl is working fine on my test machine....so there may be
some other reason.....??

Thanks for ur feedback...

Regards,
Rashi

> Date: Thu, 11 Nov 2010 12:28:55 -0000
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> From: "W Charlton" <XSLList@xxxxxxxxxx>
> Subject: RE: [xsl] Unable to View the XSL Output in Browser in Altova XML Spy
> Message-ID: <2C71CC85D9A04648B3FEFAB0CE9B6AA5@Optiplex>
>
> Rashi,
>
> When you say "Altova doesn't allow me to open it in browser tab", what
> happens, do you just see a blank page or do you get an error?
>
> First check that you have <xsl:output method="html" indent="yes"
> encoding="ISO-8859-1"/> at the top of your stylesheet, this will force the
> renderer to create an HTML page rather than an XML page, which is the
> default behaviour.
>
> If you see a blank page it is possibly because you have a javascript link
> which is closed (as it would be in XML) and the browser will not be able to
> continue processing the page, just a guess.
>
> If you have a javascript link it needs to have a closing element as below.
> <script type="text/javascript" src="/path/yourfile.js" ></script>
> If the transform produces <script type="text/javascript"
> src="/path/yourfile.js" /> then the page will not display.
>
> William Charlton
> The yMonda team
> yMonda Limited
> w: www.ymonda.net
>
> -----Original Message-----
> From: Rashi Bhardwaj [mailto:rashi.bhardwaj@xxxxxxxxx]
> Sent: 11 November 2010 10:43
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Unable to View the XSL Output in Browser in Altova XML Spy
>
> Hi All,
>
> Could anyone please help me in a silly issue I am facing while
> debugging the xsl transformation. I want to view the by xsl output in
> run time (while debugging), but as some html tags are not properly
> closed, Altova dosen't allow me to open it in browser tab.
>
> Though the same thing is working fine on our test machine. But when I
> try at my machine it is not allowing me to open it while debugging the
> XSL.
>
> Please help me out.
>
> Regards,
> Rashi Bhardwaj

Current Thread