You need to be logged in to post in the forums. If you do not have an account, please sign up first.
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.
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.
<!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.