Hi,
I have this XML File:
<?xml version="1.0"?>
<!DOCTYPE Registration SYSTEM "register.dtd">
<Registration>
<UserId>1000001</UserId>
<AccountId>1234567</AccountId>
<SiteId>1122548</SiteId>
</Registration>
And i need to write a valid dtd page for it (register.dtd).
This is what i have so far and it doesn't seem to work.
<!ELEMENT Registration (UserId,AccountId,SiteId) >
<!ELEMENT UserId (#PCDATA) >
<!ELEMENT AccountId (#PCDATA) >
<!ELEMENT SiteId (#PCDATA) >
Please could someone point me in the write direction.
Thanks,
Paul
I have this XML File:
<?xml version="1.0"?>
<!DOCTYPE Registration SYSTEM "register.dtd">
<Registration>
<UserId>1000001</UserId>
<AccountId>1234567</AccountId>
<SiteId>1122548</SiteId>
</Registration>
And i need to write a valid dtd page for it (register.dtd).
This is what i have so far and it doesn't seem to work.
<!ELEMENT Registration (UserId,AccountId,SiteId) >
<!ELEMENT UserId (#PCDATA) >
<!ELEMENT AccountId (#PCDATA) >
<!ELEMENT SiteId (#PCDATA) >
Please could someone point me in the write direction.
Thanks,
Paul