使用XML和关系数据库 [英] Using XML and a relational database
问题描述
大家好,
我正在为我编写的应用程序开发一个接口系统。这个
接口将连接到其他系统以共享信息。我想
使用
xml和xsl来一般性地描述每个接口。我遇到的麻烦是b $ b,看起来如果你用xml导出表格,那么就不可能将bml表文件以层次结构的方式组合在一起。我可以
以编程方式执行此操作,但我想用xsl执行此操作,以便知识数据库中的知识数据不在代码中,而是在xsl中。我可以为转储表和sql语句编写通用代码
。但格式化应该是通用的。
可以这样做是xsl?
Hello all,
I am developing an interface system for an application I was written. This
interface will connect to other system to share information. I would like
to use
xml and xsl to generically describe each interface. The trouble I am having
is that it seem that if you export in xml by table then it is impossible to
combine the xml tables files back together in a hierarchical fashion. I can
do it programmatically but I would like to do it with xsl so that knowledge
of the database is not in the code but in the xsl. I can write generic code
for dumping tables and sql statements. But formatting should be generic.
Can this be done is xsl?
推荐答案
在2003-08-30 07: 19:56 -0400,comcast < J。****** @ comcast.net>说:
On 2003-08-30 07:19:56 -0400, "comcast" <j.******@comcast.net> said:
大家好,
我正在为我编写的应用程序开发一个接口系统。这个
接口将连接到其他系统以共享信息。我想
使用xml和xsl来一般性地描述每个接口。我遇到的麻烦是,似乎如果你按表格导出xml那么就不可能将xml表文件以分层方式组合在一起。我可以通过编程方式进行,但我想用xsl来做,这样数据库的知识不在代码中,而是在xsl中。我可以编写用于转储表和sql语句的通用代码。但格式化应该是通用的。
这可以完成xsl吗?
Hello all,
I am developing an interface system for an application I was written. This
interface will connect to other system to share information. I would like
to use
xml and xsl to generically describe each interface. The trouble I am having
is that it seem that if you export in xml by table then it is impossible to
combine the xml tables files back together in a hierarchical fashion. I can
do it programmatically but I would like to do it with xsl so that knowledge
of the database is not in the code but in the xsl. I can write generic code
for dumping tables and sql statements. But formatting should be generic.
Can this be done is xsl?
为什么使用XML的关系数据库?我们有一个原生的XML
数据库可以解决你的问题。
-greg
__________________________________________________ ___________________
Gregory Burd
产品经理 gb *** @ sleepycat.com
Sleepycat Software,Inc。 http://www.sleepycat.com /
Why are you using a relational database for XML? We have a native XML
database that could solve your problems.
-greg
__________________________________________________ ___________________
Gregory Burd
Product Manager gb***@sleepycat.com
Sleepycat Software, Inc. http://www.sleepycat.com/
" Gregory Burd" < GB *** @ sleepycat.com>在消息中写道
news:2004102017210016807%gburd @ sleepycatcom ...
"Gregory Burd" <gb***@sleepycat.com> wrote in message
news:2004102017210016807%gburd@sleepycatcom...
为什么使用XML的关系数据库?我们有一个可以解决您问题的原生XML数据库。
Why are you using a relational database for XML? We have a native XML
database that could solve your problems.
因为XML数据库(本机或非本机)用词不当?
Because "XML database (native or not)" is misnomer?
2004年10月20日星期三17:21:00 -0400,Gregory Burd< gb *** @ sleepycat.com>
写道:
On Wed, 20 Oct 2004 17:21:00 -0400, Gregory Burd <gb***@sleepycat.com>
wrote:
在2003-08-30 07:19:56 -0400,comcast < J。****** @ comcast.net>说:
On 2003-08-30 07:19:56 -0400, "comcast" <j.******@comcast.net> said:
大家好,
我正在为我编写的应用程序开发一个接口系统。这个
接口将连接到其他系统以共享信息。我想
使用xml和xsl来一般性地描述每个接口。我遇到的麻烦是,似乎如果你按表格导出xml那么就不可能将xml表文件以分层方式组合在一起。我可以通过编程方式进行,但我想用xsl来做,这样数据库的知识不在代码中,而是在xsl中。我可以编写用于转储表和sql语句的通用代码。但格式化应该是通用的。
这可以做到xsl吗?
Hello all,
I am developing an interface system for an application I was written. This
interface will connect to other system to share information. I would like
to use
xml and xsl to generically describe each interface. The trouble I am having
is that it seem that if you export in xml by table then it is impossible to
combine the xml tables files back together in a hierarchical fashion. I can
do it programmatically but I would like to do it with xsl so that knowledge
of the database is not in the code but in the xsl. I can write generic code
for dumping tables and sql statements. But formatting should be generic.
Can this be done is xsl?
你问的是错误的问题。考虑到任何任务的XML时,你应该问的问题总是一样的:XML是否适合这个任务?
这个任务?答案也总是一样的:不。
为什么使用XML的关系数据库?我们有一个原生的XML
数据库可以解决你的问题。
You are asking the wrong question. The question you should ask when
considering XML for any task is always the same: "Is XML suited to
this task?" The answer is also always the same: "No."
Why are you using a relational database for XML? We have a native XML
database that could solve your problems.
单词告诉我。
Lemming < br $> b $ b -
好奇心*可能*杀死了薛定谔的猫。
Words fail me.
Lemming
--
Curiosity *may* have killed Schrodinger''s cat.
这篇关于使用XML和关系数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!