xsl-list
[Top] [All Lists]

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

2010-11-12 01:06:12
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
From: "W Charlton" <XSLList(_at_)ymonda(_dot_)net>
Subject: RE: [xsl] Unable to View the XSL Output in Browser in Altova XML Spy
Message-ID: <2C71CC85D9A04648B3FEFAB0CE9B6AA5(_at_)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(_dot_)bhardwaj(_at_)gmail(_dot_)com]
Sent: 11 November 2010 10:43
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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


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