Hi..
i am new to xml.i have two tables.i already written code for these tables in xml usind DTD.but its giving error.How to clear?And how to write jdom program for this code below.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE schema SYSTEM "./sample.dtd">
<schema name="sample">
<tables>
<table name="ATTRIBUTES">
<description></description>
<column name="DIM_CODE" pk="" type="Char_1" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="DIM_LVL_CODE" pk="" type="Char_13" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="ATTR_DESC" pk="" type="Char_30" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="MAX_VAL" pk="" type="Integer" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="NAME_VAL_LEN" pk="" type="Char_4" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="TABLE_NAME" pk="" type="Char_18" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="COLUMN_NAME" pk="" type="Char_18" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
</table>
<table name="EXCP_EXPRESSION">
description></description>
<column name="EXCEPTION_CODE" pk="" type="Char_13" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="EXPR_NUMBER" pk="" type="SmallInt" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="VARIABLE_CODE" pk="" type="Char_13" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="EXPR_VAR_PLAN" pk="" type="Char_13" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
<column name="EXPR_VALUE" pk="" type="Double" defaultValue="" validationRule="" nullable="NO">
<description> </description>
</column>
</table>
<index name="IX_EXCP_EXPR" type=Unique" on="EXCP_EXPRESSION">
<description></description>
<column name="EXCEPTION_CODE" pk=" " order="Ascending">
<description></description>
</column>
</index>
</tables>
</schema>