I want to display an XML file within a webpage, but it doesn't seem to work in firefox! I heard there is a proble with data islands in firefox, so does anyone know a way around it. I'm new to XML, so any help would be excellent.
Cheers all
Dan Duke
Well all I really want to be able to do is have my webpage show the information from the XML file, so all I have to update is the news in the XML!
But the basics first in getting the info from the XML into a styled webpage, I take it XSL is the way forward then?
The problem I fou nd with data islands is that they dont display in firefox, whereas the exact same page displays in IE. I was doing a tutorial which is here:
Basically, in an XSL stylesheet, you define rules (templates) about how you want the XML to be transformed. In your case, you'd want to transform it to HTML.
You need to learn how to make the stylesheet and also a bit of code to actually do the transformation. You have a couple of options:
Cheers, I think i'll have a go with the W3 tutorials on XSL and XSLT first, and if I have any problems i'll post them. Thanks a lost for your advice so far.
Dan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.