XML and JDOM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumash
    New Member
    • Feb 2007
    • 1

    #1

    XML and JDOM

    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="ATTRIBUTE S">

    <description> </description>

    <column name="DIM_CODE" pk="" type="Char_1" defaultValue="" validationRule= "" nullable="NO">
    <description> </description>

    </column>


    <column name="DIM_LVL_C ODE" 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_NAM E" pk="" type="Char_18" defaultValue="" validationRule= "" nullable="NO">
    <description> </description>

    </column>


    <column name="COLUMN_NA ME" pk="" type="Char_18" defaultValue="" validationRule= "" nullable="NO">
    <description> </description>

    </column>

    </table>


    <table name="EXCP_EXPR ESSION">

    description></description>

    <column name="EXCEPTION _CODE" pk="" type="Char_13" defaultValue="" validationRule= "" nullable="NO">
    <description> </description>

    </column>


    <column name="EXPR_NUMB ER" 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_VALU E" pk="" type="Double" defaultValue="" validationRule= "" nullable="NO">
    <description> </description>

    </column>
    </table>


    <index name="IX_EXCP_E XPR" type=Unique" on="EXCP_EXPRES SION">

    <description> </description>

    <column name="EXCEPTION _CODE" pk=" " order="Ascendin g">
    <description> </description>
    </column>

    </index>

    </tables>

    </schema>
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    Hi,
    Did you succeed to solve the problem ?
    If yes, please let me know, in order to close the thread.
    Thanks,
    Dorin.

    Comment

    Working...