Web
Images
Videos
Academic
Dict
Maps
More
Flights
Notebook
XML::Simple
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
For
smaller and
simpler
trees
,
using
XML
: :
Simple
is
generally
cheaper
in
terms
of
engineering
costs
.
对于
小
的
、
简单
的
树
,
从
工程
代价
上
来说
使用
XML::Simple
通常
更
低廉
。
duì yú
xiǎo
de
、
jiǎn dān
de
shù
,
cóng
gōng chéng
dài jià
shàng
lái shuō
shǐ yòng
XML::Simple
tōng cháng
gèng
dī lián
。
www.ibm.com
2.
You don't
even
have
to
give
the
name
of
the
configuration
file
:
XML
: :
Simple
will
make
an
intelligent
guess
.
甚至
不必
提供
配置
文件
的
名称
:
XML::Simple
会
进行
智能化
的
猜测
。
shèn zhì
bú bì
tí gōng
pèi zhì
wén jiàn
de
míng chēng
:
XML::Simple
huì
jìn xíng
zhì néng huà
de
cāi cè
。
www.ibm.com
3.
XML
: :
Simple
converts
XML
input
files
into
an
easily
manipulated
Perl
data
structure, and
writes
such data structures
back
out
as
XML
.
Simple
将
XML
输入
文件
转化成
易于
操作
的
Perl
数据结构
,
然后
将
这种
数据结构
作为
XML
写
回
。
Simple
jiāng
XML
shū rù
wén jiàn
zhuǎn huà chéng
yì yú
cāo zuò
de
Perl
shù jù jié gòu
,
rán hòu
jiāng
zhè zhǒng
shù jù jié gòu
zuò wéi
XML
xiě
huí
。
www.ibm.com
4.
XML
: :
Simple
provides
an
intuitive
,
pure
-
Perl
parser
for
simple
XML
files
,
and
the SAX API
is
supported
by
most
of the
parsing
modules
.
Simple
为
简单
的
XML
文件
提供
了
一个
直观
的
纯
Perl
语法
分析
器
,
而且
大多数
分析
模块
都
支持
SAXAPI
。
Simple
wèi
jiǎn dān
de
XML
wén jiàn
tí gōng
le
yī gè
zhí guān
de
chún
Perl
yǔ fǎ
fēn xī
qì
,
ér qiě
dà duō shù
fēn xī
mó kuài
dōu
zhī chí
SAXAPI
。
www.ibm.com
5.
How
do you know
whether
your
file
is
too
big
for
XML
: :
Simple
to
handle
?
如何
判断
文件
是否
太
大
了
,
XML::Simple
处理不了
?
rú hé
pàn duàn
wén jiàn
shì fǒu
tài
dà
le
,
XML::Simple
chǔ lǐ bù liǎo
?
www.ibm.com
6.
Given
this
change
,
XML
: :
Simple
will
output
an
attribute
-
value
pair
,
rather
than
a
subelement
.
经过
这
一
修改
,
XML::Simple
将
输出
一个
属性
——
值
对
,
而
不是
子元素
。
jīng guò
zhè
yī
xiū gǎi
,
XML::Simple
jiāng
shū chū
yī gè
shǔ xìng
——
zhí
duì
,
ér
bú shì
zǐ yuán sù
。
www.ibm.com
7.
If
the
XML
document
won't
fit
in
memory
or
is
a
stream
of
unknown
length
,
you can't
use
XML
: :
Simple
.
如果
XML
文档
不能
全部
装
入
内存
或者
是
长度
未知
的
流
,
就
不能
使用
XML::Simple
。
rú guǒ
XML
wén dàng
bù néng
quán bù
zhuāng
rù
nèi cún
huò zhě
shì
cháng dù
wèi zhī
de
liú
,
jiù
bù néng
shǐ yòng
XML::Simple
。
www.ibm.com
8.
XML
: :
Simple
converts
XML
documents
to
references
to
hashes
and
arrays
of
hashes
.
Simple
将
XML
文档
转换
为
对
散列
和
散
列
数组
的
引用
。
Simple
jiāng
XML
wén dàng
zhuǎn huàn
wéi
duì
sǎn liè
hé
sǎn
liè
shù zǔ
de
yǐn yòng
。
www.ibm.com
9.
This
is
the
first
of a three-
part
series
on
Perl
and
XML
,
which
focuses
on
XML
: :
Simple
.
本文
是
关于
Perl
和
XML
的
分
三
部分
的
系列
文章
的
第一
篇
,
主要
关注
XML::Simple
。
běn wén
shì
guān yú
Perl
hé
XML
de
fēn
sān
bù fen
de
xì liè
wén zhāng
de
dì yī
piān
,
zhǔ yào
guān zhù
XML::Simple
。
www.ibm.com
10.
While
this
method
might
run
more
slowly
than
hand
-crafted
Perl
and
XML
: :
Simple
,
you don't have
to
write
it
and
you don't have to
debug
it
.
虽然
这种
方法
运行
起来
可能
比
手工
编码
Perl
和
XML::Simple
慢
,
但
不
需要
编写
,
也
不
需要
调试
。
suī rán
zhè zhǒng
fāng fǎ
yùn xíng
qǐ lái
kě néng
bǐ
shǒu gōng
biān mǎ
Perl
hé
XML::Simple
màn
,
dàn
bù
xū yào
biān xiě
,
yě
bù
xū yào
tiáo shì
。
www.ibm.com
1
2