关于xml和xsd 在myeclipse配置引用的问题 求解答,,实在是搜不到。。

在使用dtd为约束的xml文件,可以配置systemid和public id,

但是在spring的配置中它使用的是xsd文件。
myeclipse的xml catalog中只能依次配置schema location吗?

那配置中的namespace name是做什么的??
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">

这里都是什么意思啊。。。

我在使用myeclipse的时候对spring进行配置,发现他的xml文件没有提示,我以为和struts2一样,在myecplise的xml catalog中配置sytemid或者publicid就可以了
但是发现他的头文件好长。。。搜索了一下,发现可以配置schema location。
这里疑问就是myeclipse里面配置选项namespace name选项是如何配置以上头文件的?

这么长的头文件。。。都是什么意思呢?
跪求解答。。。

哦,,描述有问题。。。

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">

这是xml文件引用的头文件。
是不是打开对应的xsd文件 他的schema xmlns="xxx" xxx就是namespace name 的配置
schemaLocation="zzz" zzz就是schemaLocation的配置?

如果真是这样,那么为什么spring-beans-3.0.xsd
只有
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.springframework.org/schema/beans">

没有
schemaLocation="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" />
schemaLocation标签,我的xml文件依然可以引用到他?

新手没分,,求大神解答。。。熬了一晚上了,晕头转向的,,