473,325 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

XML as part of HTML in different browsers

XML as part of HTML in different browsers

In one folder are few files
- XML - file with data
- HTML - file with static text
- XSL - file for transformation XML data into HTML
- CSS - CascadeStyleSheet

+-HTML----------------------------+
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| |
| |
+---------------------------------+

Sample of this problem can be founded at http://www.open.hr/~ekonerg/xml

When I browse it with
- IE6 - it works fine
- opera - NO
- Netscape 6.2 - NO
- Mozilla FireFox- NO

I made it with MS IE 6.0 but I want to be browsable with other web browsers.
Idea is to put it on CD (some kind of CD Catalog) and make posible to anyone
who has any kind of web browser to view context.
Jul 20 '05 #1
2 1756


Econ wrote:
XML as part of HTML in different browsers

In one folder are few files
- XML - file with data
- HTML - file with static text
- XSL - file for transformation XML data into HTML
- CSS - CascadeStyleSheet

+-HTML----------------------------+
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| |
| |
+---------------------------------+

Sample of this problem can be founded at http://www.open.hr/~ekonerg/xml

When I browse it with
- IE6 - it works fine
- opera - NO
- Netscape 6.2 - NO
- Mozilla FireFox- NO

I made it with MS IE 6.0 but I want to be browsable with other web browsers.
Idea is to put it on CD (some kind of CD Catalog) and make posible to anyone
who has any kind of web browser to view context.


Opera 7 doesn't have any support for XSLT 1.0 so with Opera there is no
way to do the XSLT transformation of the XML.
Mozilla 1.0 and later, Netscape 7.x, FireFox have XSLT 1.0 support but
scripting it is different to scripting it in IE, see the Sarissa library at
http://sarissa.sourceforge.net/
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2


Econ wrote:
XML as part of HTML in different browsers

In one folder are few files
- XML - file with data
- HTML - file with static text
- XSL - file for transformation XML data into HTML
- CSS - CascadeStyleSheet

+-HTML----------------------------+
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| some static text |
| blah blah |
| |
| +-XML---------------------+ |
| | | |
| | data which are presented| |
| | using XSL | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +-------------------------+ |
| |
| |
| |
+---------------------------------+

Sample of this problem can be founded at http://www.open.hr/~ekonerg/xml
You are using an <xml> element in HTML which is not defined in HTML 4.01
as supported by browsers like Opera 7 or Netscape 7 or Mozilla.
When I browse it with
- IE6 - it works fine
- opera - NO
- Netscape 6.2 - NO
- Mozilla FireFox- NO
Opera doesn't have any XSLT 1.0 support so for Opera users you would
have to perform the transformation of XML to HTML before you deliver the
files.

Mozilla 1.0 and later, Netscape 7.x, FireFox all have XSLT 1.0 support
but scripting it is different to scripting XSLT in MSIE/Win, the Sarissa
library should ease your task, see
http://sarissa.sourceforge.net/
I made it with MS IE 6.0 but I want to be browsable with other web browsers.
Idea is to put it on CD (some kind of CD Catalog) and make posible to anyone
who has any kind of web browser to view context.


but generally if you prepare a CD I see no reason why you could not do
your transformations of XML to HTML before you make the CD.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ludwig77 | last post by:
When I was first taught html several years ago, I was taught that the following tags are standard for any html formatted message: <HTML> <HEAD> </HEAD> </BODY> </HTML> In fact, I was taught...
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
81
by: sinister | last post by:
I wanted to spiff up my overly spartan homepage, and started using some CSS templates I found on a couple of weblogs. It looks fine in my browser (IE 6.0), but it doesn't print right. I tested...
8
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at...
8
by: Ed Isenberg | last post by:
I notice that a lot of Web pages have an icon that is displayed preceding the URL in the place in the browser where the URL is displayed. When I bookmark or add this to Favorites the icon is also...
9
by: Jason Gogela | last post by:
Does anyone out there know why I should care whether a <span> is nested in a <p> or vice versa? What is the bennafit of adhering to this standard? It seems to me that regardless of which way you...
22
by: PSN | last post by:
Hi all, Can some one help me if it is possible to refresh a part of a page, without reloading the whole page. Let's say, i want to add a small message box to my webpage. After writing a message,...
2
by: Andrew Neiderer | last post by:
This is simple HTML, Java but I am really confused. I include the code since it is so small - ---------------------------------------------------------------------------- -- test.html -- ...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.