S
Serguei.Goumeniouk
Dear Experts,
I am looking at the java.util.Properties tools and try to run them with
a XML file. I am confused by a simple problem: in the XML document
description they have declaration for the "key", but not for any
"value" (see attachment). How I can use this structure to access
key/value combinations? Could you please post any example?
Regards,
Serguei.
****************************************************
<?xml version="1.0" encoding="UTF-8"?>
<!-- DTD for properties -->
<!ELEMENT properties ( comment?, entry* ) >
<!ATTLIST properties version CDATA #FIXED "1.0">
<!ELEMENT comment (#PCDATA) >
<!ELEMENT entry (#PCDATA) >
<!ATTLIST entry key CDATA #REQUIRED>
I am looking at the java.util.Properties tools and try to run them with
a XML file. I am confused by a simple problem: in the XML document
description they have declaration for the "key", but not for any
"value" (see attachment). How I can use this structure to access
key/value combinations? Could you please post any example?
Regards,
Serguei.
****************************************************
<?xml version="1.0" encoding="UTF-8"?>
<!-- DTD for properties -->
<!ELEMENT properties ( comment?, entry* ) >
<!ATTLIST properties version CDATA #FIXED "1.0">
<!ELEMENT comment (#PCDATA) >
<!ELEMENT entry (#PCDATA) >
<!ATTLIST entry key CDATA #REQUIRED>