bcbsnh 2016-11-22 22:06 采纳率: 0%
浏览 1546

关于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">

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

  • 写回答

2条回答 默认 最新

  • bcbsnh 2016-11-22 22:08
    关注

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

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

    评论

报告相同问题?

悬赏问题

  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?