D
Dima.Breydo
Hello , i'm new to XML so maybe my question is stupid ...
I need to define ENTITY in xml . As i understand in order to do it , I
must add a DTD to xml and then add entity. XMLSPY reports the following
validation validation problem
"Element <Config> has not been declared"
What should i declare and how ?
Thanks a lot,
Dima
This is the xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Config [
<!ENTITY empty "␀" >]>
<Config xmlns:md="aaa.com" version="1.0">
<root>
<md:display>/</md:display>
<fff ID="506e738eb3772986" />
<good ID="e903473c054bf906">
<reg ID="f45ab70984dbf5b2">
<md:type>date</md:type>
20060811120100
</reg>
</good>
</root>
<md:ccc>root</md:ccc>
</Config>
I need to define ENTITY in xml . As i understand in order to do it , I
must add a DTD to xml and then add entity. XMLSPY reports the following
validation validation problem
"Element <Config> has not been declared"
What should i declare and how ?
Thanks a lot,
Dima
This is the xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Config [
<!ENTITY empty "␀" >]>
<Config xmlns:md="aaa.com" version="1.0">
<root>
<md:display>/</md:display>
<fff ID="506e738eb3772986" />
<good ID="e903473c054bf906">
<reg ID="f45ab70984dbf5b2">
<md:type>date</md:type>
20060811120100
</reg>
</good>
</root>
<md:ccc>root</md:ccc>
</Config>