[OpenLayers-Trac] [OpenLayers] #1323: No controls, text over image in Firefox when using XSL/XML
OpenLayers
trac at openlayers.org
Tue Feb 5 15:39:55 EST 2008
#1323: No controls, text over image in Firefox when using XSL/XML
-------------------------------+--------------------------------------------
Reporter: openlayers | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.6 Release
Component: Control | Version: 2.5
Keywords: Firefox, xsl, xml | State:
-------------------------------+--------------------------------------------
We are using XSL stylesheets to display formatted XML which includes calls
to Openlayers. This works without problems in IE but not in Firefox. To
compare, please see the link below in IE and Firefox:
http://portal.lizardtech.com/lizardtech/iserv/calcrgn?cat=12012939890897&item
=/iserv-catalog-
index&wid=600&hei=500&props=item(Name,Description),cat(Name,Description)&style=samples/ajax.xsl&plugin=false
The pan and zoom controls can be fixed by changing all instances of
{{{
document.body
}}}
to
{{{
document.getElementsByTagName( 'body' )[0]
}}}
I am not certain how to remove the XML text over the image. Perhaps
someone there knows what might be happening.
I have attached our xsl code. The xml our server returns can be nabbed by
viewing the source in the link above. Please let me know if you need
anything else from me.
-Robert
rparker is my email username @lizardtech.com
--
Ticket URL: <http://trac.openlayers.org/ticket/1323>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list