Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML data islands in firefox

Status
Not open for further replies.

retrodans

Programmer
Dec 13, 2005
15
GB
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
 
Data Islands = BAD

XSL = GOOD

How do you wish to display your XML file?

Jon

"I don't regret this, but I both rue and lament it.
 
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?
 
>I heard there is a proble with data islands in firefox
What have you heard? and what have you done sofar?

The problem is we do/can not answer a question as big and as hollow. Or maybe you are so advanced that we are not able to answer...

Good or bad, data island,... everything has a reason to exist.
 
What technologies are you competent in?

Jon

"I don't regret this, but I both rue and lament it.
 
I suggest you try doing it with XSL. Its not v complicated and I'm sure you'll be able to pick it up easy.


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:

Client-side with javascript or Server-side with ASP

If you post your XML, I can give you an example stylesheet.

Jon

"I don't regret this, but I both rue and lament it.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top