xsi:schemaLocation的用途是什么?
我看到我们有多个url作为该属性的值,例如在spring中:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
为什么需要它,它的用途是什么?Spr
一只萌萌小番薯
叮当猫咪
米琪卡哇伊