由买买提看人间百态

topics

全部话题 - 话题: xml
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
c**w
发帖数: 3
1
这个offer已经50%揣到兜里了。但对方技术的头还要和我聊聊,算是附加的最后一关了。
幸亏朋友帮忙,知道了肯定会有一个关键的question like:
“Do you know XML? I need an engine building into a PHP page which can
take variables, process them through sub-functions for different tables
and parse the output in XML format for the charts”
我别的都好,但xml简直是naive级别。这两天抱着tutorial狂啃但还是满头雾水。
我大体思路是用php里的xml类解决?
哪位大牛明白给俺指点一下啊?二三句话能点点路子也好!
我bow我再bow
f***g
发帖数: 10
2
来自主题: Database版 - Oracle Bolstering XML In Its Database
March 19, 2002
Oracle Bolstering XML In Its Database
By Matt Hicks
Oracle Corp. will enhance its flagship 9i database with the ability to store,
manage and query XML documents within the same database as relational data.
The company's initiative to support XML in 9i, called Oracle XML DB, will be a
standard part of Release 2 of 9i, which is due for release this spring.
While officials wouldn't pinpoint a date, they said it would be out before
June 1. Oracle's Vice President of Server Technologi
r*******o
发帖数: 38
3
来自主题: Database版 - Import XML to SQL server problem
I kind of get a werid problem with import XML into SQL server database.
I have a XML file of an Apartment data. I need to import this file into SQL
server Database.
The xml file looks like the following:

LINCOLN PROPERTY COMPANY
799

8203 Southwestern Blvd.
Dallas
TX


I use ADO.Net to read the XML data into Dataset, then
d****u
发帖数: 275
4
来自主题: Database版 - 急问:导入XML文件到MySQL数据库
各位大侠,我需要将一堆xml数据导入mysql的数据库中,
xml文件名001,输入的表是mytable,xml文件以rootTag开始,
运行的情况是,我的表里边相应的column都更新了,但是没有任何数值;
请问这段script到底哪里出错了??非常感谢!!
LOAD DATA LOCAL INFILE 'H:\\XXX\\2011\\001.xml'
INTO TABLE mydatabase.mytable
LINES STARTING BY '' TERMINATED BY ''
(@award)
SET
AwardID = ExtractValue(@award, 'AwardID'),
FirstName = ExtractValue(@award, 'FirstName'),
LastName = ExtractValue(@award, 'LastName'),
EmailAddress= ExtractValue(@award, 'EmailAddress');
d*******n
发帖数: 109
5
来自主题: Database版 - XML format
我希望XML里面出现这样的格式:

1
XX

2107


但是我按如下方式写Code的时候出现的不对,请问有什么方法达到上面的格式。
select
'1' AS "MessageNo",
'XX' AS "MessageID"
(select a AS 'No'
from b where c = 1 for XML path('Load'),ELEMENTS)
for XML path('Message'),ELEMENTS
XML实在是把我搞糊涂了,
谢谢指教。
k****n
发帖数: 52
6
来自主题: DotNet版 - 请问:关于C#和XML的问题
需要用C#写一个GUI程序:从一个XML文件中读取数据(数据比较复杂,层层嵌套),然后
根据用户给定的参数,选择性的显示数据。
我打算根据XML结构,先设计相应的C# class,然后load/parse XML,把它转化成相应
的 C# objects,再根据用户给定参数,从C# objects里读出数据显示。
因为XML结构很复杂,这个过程很繁琐。请问有什么简便的方法吗?
多谢了先!
s*****w
发帖数: 215
7
来自主题: DotNet版 - XML转为Excel文件
不知道大家怎么做的,
我用的 Microsoft Object libary 的Com组建,和Microsoft interop做的。
有下面这样的code,用了Workbooks.OpenXML()方法和, Workbooks.SaveAS()方法。
但是这样做的问题在于,对于比较大的size的XML文件,比如90M,转换往往会死机,而
且如果node多,EXCEL不能超过256个column,不知道大家怎么handle这个问题的?
不知道有没有人用过XslCompiledTransform()方法,如果用的话,参数怎么设的?
如果假设node 不超过256个,用什么库里面什么方法比较有效?
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
using System.Reflection;
using System.Runtime.InteropServices;
using
c*****i
发帖数: 631
8
来自主题: EmergingNetworking版 - use xml to replace normal CLI?
好像是的,关键是xml的output和show cli的output完全不一样.需要另外的软件来
process xml的output. 另外现在好像也没有啥doc把xml request和show cli联系起来.
比如我知道一个show command,和它等同的xml request是啥.不知道有啥第3方的软件做
这些东西.
m******t
发帖数: 2416
9
来自主题: Java版 - Re: [转载] Re: why do u use XML?
The popularity of xml has multiple reasons:
1. technology wise, xml itself is a nice piece of technology.
The key point is it keeps
the data presentation in a very simple way, so simple that any system
that supports string manipulation can implement an xml parser.
The great benefits of this is it allows hetrogeneous systems to talk to
each other in an easy way.
2. politics wise, xml is a few only things that are supported by
almost all big players in this industry. The industry can't afford
to
g**********y
发帖数: 14569
10
来自主题: Java版 - 谁推荐一本XML的书?
我有三本:
* Inside XML
* Java & XML
* Professional XML
说实在的, 都不喜欢. 还不如读crimson.jar的Java API.
谁知道有什么简洁明了介绍XML技术的书吗?
xt
发帖数: 17532
11
来自主题: Java版 - 谁推荐一本XML的书?
XML for Dummies;
XML for Idoits;
XML for Blondes;
XML for F2's. hehe
c*******d
发帖数: 353
12
来自主题: Java版 - java & XML 2 example problem
In "Java & XML 2" I tried to follow the example
in Chapter 3. I downloaded the parser packages from apache website but I
couldn't find the mentioned xerces.jar file instead all evidence points to
xml-apis.jar. The code compiles ok but when I tried to run it, here is the
error message:
~/source_code/java/javaxml2/ch03/src]60: java -classpath
"../../lib/xerces-2_6_2/:." javaxml2.SAXTreeViewer ../xml/contents.xml
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at
org.x
l***r
发帖数: 459
13
来自主题: Java版 - [转载] a question on XML parser
Sorry, I guess I didn't describe the problem clearly. The xml file looks like
this:

"NCBI_BlastOutput.dtd">

...


"NCBI_BlastOutput.dtd">

...


"NCBI_BlastOutput.dtd">

...
x***n
发帖数: 39
14
来自主题: Java版 - [转载] a question on XML parser
1. chop ur monolithic(?) file (collection of xmls) into collection of
xml files, parse one by one
2. find a fast way to feel an xml document (part of the file) to a parser,
then the second parsing for the second xml DOCUMENT (unfortunately
it's the second part of ur physical file), and so on.
1 or 2.
b******t
发帖数: 10
15
来自主题: Programming版 - 问一个简单的PHP XML问题
我有一个文件是由很多xml文件格式组成的,就是

...

...

...
我倒是可以把这个文件split一下,然后一个一个的做simplexml_load_file(),但是这
个可能有上千个文件,所以想问一下可不可以不split,直接一个一个的load,或者其
他方法
f*****t
发帖数: 895
16
来自主题: Programming版 - 一个关于XML文件parser的问题
老板让我帮SoC validation team写一个validation software。
1. 要求重用validation team已有的XML文件。这些XML文件描述了他们的test cases;
2. 要求结果也保存在XML文件里,这样他们可以使用现有的程序来分析结果;
3. 他们已经有一些现成的代码,用的是C和汇编语言。希望能够重用这些代码。
请推荐一个XML library能够最快实现上述目标?
谢谢!
t*s
发帖数: 121
17
【 以下文字转载自 XML 讨论区 】
发信人: tds (无敌肥肥), 信区: XML
标 题: 转换成XML,我的空格键和tab怎么都丢了?
发信站: BBS 未名空间站 (Thu Oct 23 18:51:05 2008)
我用excel 2003把xls文件export成为XML文件,结果字符串前面的空格或者tab都不见了
怎么才能保留这些空格呢?
求大侠们指点
w*****s
发帖数: 122
18
来自主题: XML版 - What Do XML Documents Look Like?
f you are conversant with HTML or SGML, XML documents will look
familiar. A simple XML document is presented in Example 1.
Example 1. A Simple XML Document


Say goodnight,
Gracie.

Goodnight,
Gracie.



A few things may stand out to you:
w*****s
发帖数: 122
19
Currently XML is only really of interest to
developers, but that will quickly change. There
are now XML tools available for all the popular
programming language (Perl, Java etc.) as well
as several XML editing applications. Microsoft
are going to push XML support as one of the
major new features of Internet Explorer 5, and
it is likely that it will be supported in future
versions
w*****s
发帖数: 122
20
来自主题: XML版 - XML 教程--1
处理XML元素
XML是一种标识语言。一个XML元素是由开始标签、结束标签以及标签之间的数据构成的。
开始和结束标签用来描述标签之间的数据。标签之间的数据被认为是元素的值。例如,
在下面一个XML元素的例子中,元素“director”的值是“?d Wood”。
Ed Wood
元素名(“director”)允许你把“Ed Wood”这个值标出来,这样你就能把这些数据
同另外类似的数据区分开来。例如,有可能另一个元素的值也是“Ed Wood”。
Ed Wood
由于每个元素都有不同的标签名,所以你能很容易把上面两个元素的值区别开来。如
果没有办法把数据标出来,两个有同样值的元素会混淆起来。
br />
w*****s
发帖数: 122
21
9月28日
Bentley的ModelServer Integrator宣布支持XML and aecXML.
Bentley合作公司今天宣布它的基于网络的ModelServer? Integrator(TM)产品支持XML and
aecXML(architecture, engineering and construction XML). ModelServer Integrator从不同的数据
库和软件应用中收集信息,然后及时迅速地吧信息在整个组织的成员面前表现出来.
ModelServer Integrator对XML的支持使得用户们可以充分利用在电子商务数据交换中已
有的各种支持工具,技术和标准.
w*****s
发帖数: 122
22
10月20日
XML Global 建立了一个开发XSLT网络通信标准的联合论坛。
XSLT (extensible stylesheet language transformations)是可扩展样式表转型语言的简称。XML
Global是一家XML提供商业方案的公司。它今天宣布为XSLT (www.XSLT.com)提供一个
新入口网址。这样能给网络开发商和编程者以更多更便捷的信息服务。
XSLT正在快速成为Internet上XML转型处理的主干语言。
w*****s
发帖数: 122
23
11月2日
Commerce One宣布工业界的第一个电子商务XML开发工具集XDK
XDK 1.0版本将推动在工业界通过使用XML Schema文件广泛实现一体化的发展。XDK
是全世界第一个XML schema工具集。毫无疑问地它将促成工业界基于XML的电子商务
发展。它是面向开发者的一套工具,您可以从Commerce One的MarketSite免费下载得到
(www.marketsite.net)。
w*****s
发帖数: 122
24
11月12日
e-conten组织了一个主体是XML电子商务的贡献系列研讨会。
e-content是Interleaf有限公司的一家子公司。 它提供基于XML的电子商务解决方案。今
天它宣布组织一个系列研讨会。这个系列研讨会主要讨论XML和无线网络技术对传统
商务模型的冲击。 系列研讨会的标题是"XML,电子商务,无线网络的力量"。
w*****s
发帖数: 122
25
How do I know what character sets the XML software supports?
The "Chinese XML Now!" project at Academia Sinica, Taipei,
has some information. Also, some manufacturers may use the
Chinese Numberplate logo. In any case, you can always convert
your XML document into UTF-8 and use any XML software.
m*****e
发帖数: 1
26
来自主题: XML版 - 从哪里开始学习XML?
我想学习XML,希望配置一个环境来实践,请教以下几点:
1. XML的服务器软件是独立的,还是在其他的WWW服务器(如Apache)之上的?
2. 现在的XML软件有那些平台的?
3. 我想当一份软件,做个环境来练习,从哪里可以download?
4. 和数据库连接,XML是如何实现的?
m**i
发帖数: 89
27
来自主题: XML版 - tool for xml

你所知甚少。IBM有IBM的Java XML Parser,Oracle有Oracle的Java XML
Parser。它们都是免费的。另外还有个非常出名的东西,Apache Software
Foundation(ASF)的Xerces-J,也是纯Java的XML Parser。我用过Oracle的
和Xerces-J。前者和Oracle集成得很好,导出的类比较适合其BC4J的处理。
后者支持Schema Draft,处理能力较强。
用Java实现的XML Parser多了去了,这里只说了三个比较有名的。
g*****e
发帖数: 16
28
来自主题: XML版 - The Coolest site for XML
http://msdn.microsoft.com/xml/default.asp
http://msdn.microsoft.com/xml/c-frame.htm?946292736690#/xml/index.asp
刚学完Tutorials, 明天就用XML重新做一下欧的网也. Cool!
c*******r
发帖数: 5
29

Oh,
XSLT是一种用来进行XML文档间相互转化的语言。它的设计目标是被用作XSL的一部分。XSL是
XML的样式表语言,定义了描述样式的词汇集。而XSLT则描述怎样把一个文档转化为是用这个词
汇集的XML文档。在这个意义上,XSL描述了XML文档的样式。
z***y
发帖数: 7151
30
来自主题: XML版 - 哪种xml的编辑器比较好用?

The XML editor my team using is called; XML PAD, it's from MS, free
and sharp.
There is another one, from bluestone.com, called Visual XML, that's
not a simply editor, it's a complete development enviroment, it's
free. But Require high-end computer.
For me, I am using notepad.
Please note: the XML editor is using to design schema, not to input
data. Generally speaking, data is generated by program or other tools.
Like Xconnection.
y*u
发帖数: 21
31
来自主题: XML版 - 在Excel中如何使用XML?
Problem:
需要在Excel中输入并validate很多的数据,Validation通过Excel Macro 完成

因为validation rules会经常地变化,所以需要将rules和validation code分开

我想使用XML,可是具体的structure应该是什么样子的呢?XML parser从何而来

XML rules放到什么地方?.bas file? or another worksheet?
如果XML不是一个好的选择,只好将rules都hard code到validation macro里面
了。
请各位高手帮忙参考一下。
a*****e
发帖数: 1700
32
来自主题: XML版 - why do u use XML?
I simply do not understand why everyone is crazy about XML.
1. XML is just a format for describing nested data structure in plain text.
To describe nested data strcture is better than plain 2D table, but why
use stupid tagged format like HTML? Does anybody out there hate the open
close tag and wierd < and "e; stuff, or just me? There are far
better format than XML in terms of expressiveness and clarity. Really,
how many people think you can read the big mess of XML samples on
v*******e
发帖数: 1715
33
来自主题: XML版 - why do u use XML?
一个最简单的好处是:比如你有一些类似表格的东西要用HTML发布,但
其内容总要变化.如果直接改HTML的TD TR很麻烦.
而改XML文件的内容就很方便,然后在CLIENT端可以简单的用SPAN这样的HTML TAG来动态形
成新的HTML页.
可惜似乎必须是IE5...也许NS6也行...这才是XML目前最大的麻烦
但就目前的情况,如果大家用的CLIENT都如IE5一样支持XML,XML就挺好的,不必
非统一DTD才显大能.两个好处是:
1,容易更新数据
2,CLIENT端能得到结构化的数据,知道这个数据是干吗的.
a*****e
发帖数: 1700
34
来自主题: XML版 - why do u use XML?
Yes, you can use XML to do it, and XML is meant to do this kind of
data transfer/transformation from one to another. My question is,
is it any better than other format? You can write your own format
to suit you own needs. If you are passing data to your customer.
write it in their preferred format then. How is XML different here?
You still have to use a composer, be it XML composer or other type
of composer..
w*****s
发帖数: 122
35
来自主题: XML版 - XML Japanese Profile.
April 17, 2000] XML Japanese Profile. The W3C has acknowledged a submission request from
Xerox, Panasonic, Toshiba, GLOCOM, Academia Sinica, Alis Technologies, and Sun Microsystems
proposing an XML Japanese Profile. Reference: W3C Note 14-April-2000, edited by MURATA Makoto
(Fuji Xerox Information Systems Co., Ltd). The document has been made available for discussion as a
W3C NOTE. Abstract: "XML Japanese Profile addresses the issues of using Japanese characters in XML
docume
w*****s
发帖数: 122
36
来自主题: XML版 - XML Protocols Shakedown
[April 18, 2000] XML Protocols Shakedown: WWW9 Panel on XML and Protocols. Janet Daly
(W3C) has posted a schedule for the the WWW9 XML and Protocols Panel and Discussion. This
meeting, chaired by W3C's Dan Connolly, will be held on 17-May-2000 in conjunction with the Ninth
International World Wide Web Conference at the RAI Convention Center, Amsterdam, The Netherlands.
Description: "The Internet and Web communities are bubbling over with proposals for the use of XML in
networ
w*****s
发帖数: 122
37
来自主题: XML版 - XML All-purpose Protocol (XAP)
May 10, 2000] XML All-purpose Protocol (XAP): A Proposed Protocol to Declare Server
Schemas. Jean-Marc Vanel posted an announcement for 'XAP: proposed protocol to declare server
schemas' which "is complementary to the pure transport protocols such as SOAP, and even simplifies
some matters..." A draft specification for the proposed 'XML All-purpose Protocol' is described in the
author's web site. The XML All-purpose Protocol "could also be called XML distributed architecture. For
w*****s
发帖数: 122
38
May 10, 2000] ACM SIGIR 2000 Workshop On XML and Information Retrieval. Aya Soffer
published a call for papers in connection with an ACM SIGIR 2000 Workshop On XML and Information
Retrieval, to be held on July 28, 2000 in Athens, Greece. "XML - the eXtensible Markup Language has
recently emerged as a new standard for data representation and exchange on the Internet. It has thus
become crucial to address the question of how can we efficiently query and search large corpora of XML
s******n
发帖数: 22
39
来自主题: XML版 - xml parser?

to parse an .xml into a DOM, try
DOMParser in org.apapche.xerces.parsers
to serialize the DOM back to .xml, try
XMLSerialize in org.apache.xml.serialize
sure there are also tools dealing with SAX or so.
http://xml.apache.org/xerces-j/index.html
u*******y
发帖数: 8
40
来自主题: XML版 - 请教XML
我正在写一个JAVA对象数据库. 我想提供数据库中的对象和XML之间
的转换, 但不知如何入手.
不会需要自己用REFLECTION来写所有的ENCODE AND DECODE吧.
PRIMITIVE DATA TYPE好办.但OBJECT尤其是REFERENCE可挺麻烦的.
有没有现成的XML-JAVA的PACKAGE呢?
好象XML-RPC 就是用XML来ENCODE AND DECODE JAVA DATA TYPES. 但
偶也不大懂.
ANY IDEA?
THANKS A LOT.
s********t
发帖数: 4150
41
来自主题: XML版 - [转载] XML parsing problem
【 以下文字转载自 Java 讨论区,原文如下 】
发信人: SmartAgent (sigh...), 信区: Java
标 题: XML parsing problem
发信站: The unknown SPACE (Tue Jan 2 02:00:05 2001) WWW-POST
Trying to parse XML file with IBM's XML4J, but it just
doesn't work. Any masters to give some advice?
The code:
DOMParser parser = new DOMParser();
parser.parse("index.xml");
Document document = parser.getDocument();
Element doc = (Element)document.getDocumentElement();
...
The XML file: (It doesn't refer to the dtd file as it is,
but it won't work ei
H********o
发帖数: 316
42
来自主题: XML版 - [转载] 请推荐一本XML的书

XML by Wrox, red cover
also check out www.xml.com very useful
http://msdn.microsoft.com/xml/default.asp
http://java.sun.com/xml/jaxp-docs-1.0.1/docs/tutorial/TOC.ht
ml
d****e
发帖数: 12
43
来自主题: XML版 - xml project
我做一个关于XML的PROJECT,
大体思路是公司1 的product list(xml) post在网上
公司2 visit 该xml, extract useful info,
产生新的xml文件, 然后更新自己的数据库。
请问这个想法可行么? 会很麻烦吗?
都会用到什么编程知识?
我是编程新手, 最近为这个project简直头疼
死了, 请各位有经验的高手指点!
c***y
发帖数: 8
44
only a parser for xml is not enough.
项目开发schema,如何支持呢?
需要什么呢?其功能又是什么呢?
首先,需要一个xml parser,
其次,还需要一个xml schema processor (???)
是这样么?那么2个怎么一起用呢。。。
偶非常糊涂,可是项目迫在眉睫:((
偶选择了oracle xdk, 好像一般般。。。
可是不知道怎么一起用!!!
十万火急!!!!
w*****h
发帖数: 28
45
【 以下文字转载自 Java 讨论区 】
【 原文由 txvoilet 所发表 】
If a XML's DTD has two roots, but the XML just has one root.
Is the XML valid?
Another one question, who know which parser can deal with
the XML with more
than one root? How about Oracle parser?
D**B
发帖数: 117
46
来自主题: XML版 - Any APIs for handling XML?
How to handle XML in JDK1.3:
1.Are there any APIs for that?
2.What the hell is XML parser? Is it for validating the XML files, or can be
used in the program to handle XML stream?
Thnaks a lot.
w*****e
发帖数: 4
47

board.
I beg to differ. Just those posting from students/amature? From technique
aspect, xml has nothing new. it's pretty old tech. xml itself means nothing.
the name of the forum mislead lot of people.
XML is not just www, it'll actually affect the programming language and
Database query language.
I post some naive questions six month ago, I also got some help from this
web. I visit the forum from time to time. In contrast, I just felt XML is too
hot and it became too complicated to be u
l***r
发帖数: 459
48
来自主题: XML版 - [转载] question on XML parser
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: laoer (xiaoer), 信区: Programming
标 题: question on XML parser
发信站: The unknown SPACE (Thu Jun 13 18:45:20 2002) WWW-POST
Greetings,
I only have XSD files and request files in XML format. I wonder which XML
parser I should use to parser response files in XML format? Or should I have a
DTD file at least?
Thanks.
n*****a
发帖数: 105
49
来自主题: XML版 - XML初级问题
我的Hello XML为什么在netscape6.2能正常显示,可是在IE6里还是显示她的源文件:



Hello XML!

ccs文件在同一目录下
FOO{display: block; font-size: 24pt; font-weight: bold;}
是不是ie要有什么设置?
f*******h
发帖数: 1269
50
XML: data representation
HTML: data representation mixed with presentation
Both XML and HTML are a subset of SGML.
HTML + XML -> XHTML (HTML in XML syntax)
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)