Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML as part of HTML in different browsers

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 8/4/2004 1:41:00 PM

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/



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent