J
jacksu
I need namespace because I need to define other namespace ("http://
www.springframework.org/schema/aop") within root name space "http://
www.springframework.org/schema/beans").
and at the same time, I need entity feature in DTD, so that I could
use "entity" function to separate xml files into several pieces.
Here is what I am struggling with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN"
"http://www.springframework.org/dtd/spring-beans-2.0.dtd" [
<!ENTITY module1 SYSTEM "module1.inc">
<!ENTITY module2 SYSTEM "module2.inc">
]>
<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.xsd"
www.springframework.org/schema/aop") within root name space "http://
www.springframework.org/schema/beans").
and at the same time, I need entity feature in DTD, so that I could
use "entity" function to separate xml files into several pieces.
Here is what I am struggling with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN"
"http://www.springframework.org/dtd/spring-beans-2.0.dtd" [
<!ENTITY module1 SYSTEM "module1.inc">
<!ENTITY module2 SYSTEM "module2.inc">
]>
<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.xsd"