[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Unable to View the XSL Output in Browser in Altova

Subject: RE: Unable to View the XSL Output in Browser in Altova XML Spy
From: "W Charlton" <XSLList@xxxxxxxxxx>
Date: Thu, 11 Nov 2010 12:28:55 -0000
RE:  Unable to View the XSL Output in Browser in Altova
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.