浏览器依赖xml? [英] browser dependent xml?

查看:91
本文介绍了浏览器依赖xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我有一种情况,我使用XML从数据库生成输出,通过perl应用程序生成
,然后转到浏览器。现在好像

浏览器以不同的方式解释创建的xml文件。


所以,我需要一种跨浏览器的方式来使用xml。任何人都可以直接告诉我

有关浏览器解释xml问题的信息。

(例如KDE浏览器(Konqueror)可以在html中嵌入xml而不是Windows上的
firefox不会这样做,导致浏览器依赖编码

这是我想尽可能避免的事情)


一些信息会有所帮助,谢谢'。

/ Greger

-
http://www.gh-webinteractive.com

解决方案

< blockquote> Bob Smith写道:

你好
我有一种情况,我使用XML从数据库生成输出,
通过perl应用程序,然后到浏览器。现在好像
浏览器以不同的方式解释创建的xml文件。

因此,我需要一种使用xml的跨浏览器方式。任何人都可以直接告诉我有关浏览器问题的信息以及他们对xml的解释。
(例如KDE浏览器(Konqueror)可以在html中嵌入xml而


我的意思是反过来,在xml中嵌入html ....对不起这个混乱

firefox在windows上没有那样做,导致浏览器依赖编码
这是我希望尽可能避免的事情)

一些信息会有所帮助,谢谢'。
/ Greger




-
http://www.gh-webinteractive.com


在文章< cr ********** @ phys-news1.kolumbus.fi>,

Bob Smith < GR **** @ gh-webinteractive.com>写道:

所以,我需要一种跨浏览器的方式来使用xml。任何人都可以直接告诉我有关浏览器问题的信息,以及他们对xml的解释。
(例如KDE浏览器(Konqueror)可以在html中嵌入xml,而



我的意思是反过来,在xml中嵌入html ....抱歉混淆

windows上的firefox不会那样做,导致浏览器依赖编码
这是我想尽可能避免的事情)




Firefox允许XHTML嵌入到通用XML中。 KHTML真的是否允许将标签汤嵌入到XML中?


无论如何,通过网络发送自己的XML词汇表实例是一个
与使用像XHTML这样的知名词汇相比,这是一个坏主意。


-

Henri Sivonen
hs ****** @ iki.fi
http://iki.fi/hsivonen/


Henri Sivonen写道:

文章< cr ********** @ phys-news1.kolumbus.fi>,
Bob Smith< gr **** @ gh-webinteractive.com> ;写道:

>所以,我需要一种使用xml的跨浏览器方式。任何人都可以直接
>关于浏览器问题的信息以及他们的解释
> xml。 (例如KDE浏览器(Konqueror)可以在
> html中嵌入xml而
我的意思是相反,将HTML嵌入到xml中....对不起
混淆

> windows上的firefox不会那样做,导致浏览器依赖编码
>这是我想尽可能避免的事情)



Firefox允许XHTML嵌入到通用XML中。 KHTML是否真的允许将标签汤嵌入到XML中?




Konqueror允许例如:

< some_chapter>

< a href ="链接到somplace">描述符< / a>

< / some_chapter>

....

konqueror可以渲染&解释一下,看起来不是一个好主意。

我正在寻找一个完全独立于浏览器的XML解决方案。


任何建议?


现在我将XML文件直接输出到浏览器。这是创建XML文件的另一种替代方法,并将它们交给一些模板化的

系统来为浏览器创建可视化内容吗?

TIA

/ Greger

无论如何,与使用像XHTML这样的知名词汇相比,通过网络发送自己的XML词汇表的实例是个坏主意。




-
http://www.gh-webinteractive.com


Hello
I have a situation where i use XML for generating output from a database,
through a perl application, and out to the browsers. Now it seems like
browsers interpret the created xml-files differently.

So, I need a cross-browser way of using xml. Can anyone please direct me to
information about issues with browsers wrt their interpretation of xml.
( For example the KDE browser ( Konqueror ) can embed xml in html while
firefox on windows doesn''t do that, leading to browser dependet coding
which is something I want to avoid as long as possible)

some info would be helpful, thank''s.
/Greger
--
http://www.gh-webinteractive.com

解决方案

Bob Smith wrote:

Hello
I have a situation where i use XML for generating output from a database,
through a perl application, and out to the browsers. Now it seems like
browsers interpret the created xml-files differently.

So, I need a cross-browser way of using xml. Can anyone please direct me
to information about issues with browsers wrt their interpretation of xml.
( For example the KDE browser ( Konqueror ) can embed xml in html while
I meant the other way around, embed html in xml....sorry for the confusion
firefox on windows doesn''t do that, leading to browser dependent coding
which is something I want to avoid as long as possible)

some info would be helpful, thank''s.
/Greger



--
http://www.gh-webinteractive.com


In article <cr**********@phys-news1.kolumbus.fi>,
Bob Smith <gr****@gh-webinteractive.com> wrote:

So, I need a cross-browser way of using xml. Can anyone please direct me
to information about issues with browsers wrt their interpretation of xml.
( For example the KDE browser ( Konqueror ) can embed xml in html while



I meant the other way around, embed html in xml....sorry for the confusion

firefox on windows doesn''t do that, leading to browser dependent coding
which is something I want to avoid as long as possible)



Firefox allows XHTML to be embedded in generic XML. Does KHTML really
allow tag soup to be embedded in XML?

Anyway, sending instances of your own XML vocabulary over the wire is a
bad idea compared to using a well-known vocabulary like XHTML.

--
Henri Sivonen
hs******@iki.fi
http://iki.fi/hsivonen/


Henri Sivonen wrote:

In article <cr**********@phys-news1.kolumbus.fi>,
Bob Smith <gr****@gh-webinteractive.com> wrote:

> So, I need a cross-browser way of using xml. Can anyone please direct
> me to information about issues with browsers wrt their interpretation
> of xml. ( For example the KDE browser ( Konqueror ) can embed xml in
> html while
I meant the other way around, embed html in xml....sorry for the
confusion

> firefox on windows doesn''t do that, leading to browser dependent coding
> which is something I want to avoid as long as possible)



Firefox allows XHTML to be embedded in generic XML. Does KHTML really
allow tag soup to be embedded in XML?



Konqueror allows for example:
<some_chapter>
<a href="link to somplace">descriptor</a>
</some_chapter>
....
konqueror can render & interpret that, doesn''t seem like a good idea.
I''m looking for an XML solution that is completely browser independent.

any suggestions?

for now I output the XML files directly to the browsers. Is it a better
alternative to create the XML files, and hand them over to some templating
system to create visual stuff for the browser?
TIA
/Greger

Anyway, sending instances of your own XML vocabulary over the wire is a
bad idea compared to using a well-known vocabulary like XHTML.



--
http://www.gh-webinteractive.com


这篇关于浏览器依赖xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆