XML file using XSL doesn't work?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

21. May 2010, 18:42:12

Jiri

Posts: 623

XML file using XSL doesn't work?

Hi all interested,
I chosen previously wrong subject so maybe someone can help me under this new one?
I am asking this on behalf of my friend because I don't use XSL transformations at all and therefore has no knowledge what could be wrong.
Let me describe first. In attached files you can find working example under other browsers. XML file uses XSL template to display content. Can someone please know why it doesn't work in Opera but works elsewhere?
Here are those files:
frameset.xml
frameset.xsl

Thanks for any hint.

26. May 2010, 08:53:17

Opera Software

pavel-studeny

Posts: 4

When looking at the DOM structure with Dragonfly, it seems that the transformation itself is correct:

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>frameset test</title>
</head>
<frameset cols="300,*">
<frame name="goo" src="http://www.opera.com"/>
<frame name="you" src="http://www.opera.com"/>
</frameset>
</html>

When I copy&pasted this to an HTML file, it actually displayed what you wanted to.

However, the computed style of the transformed xml looks weird:
height: 0px;
left: 0px;
right: 0px;
top: -15px;
width: 0px;
May be you could try to set an exact position and see if it helps.

Forums » Opera for Windows/Mac/Linux » Opera browser