Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is it possible to use @ in datatype ID

Status
Not open for further replies.

gorby

Programmer
Apr 3, 2002
1
SE
Hi!
I want to use @ in my attribute with datatype ID.
Is there any way to do this?


<?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?>
<!ELEMENT users (user*)>
<!--Movie-->
<!ELEMENT user (password,firstName, lastName, email, profile)>
<!ATTLIST user
userName ID #REQUIRED
>
<!ELEMENT password (#PCDATA)>
<!ELEMENT firstName (#PCDATA)>
<!ELEMENT lastName (#PCDATA)>


<<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<!--Sample XML file generated by XML Spy v4.3 U (<!DOCTYPE users SYSTEM &quot;..\dtd\user.dtd&quot;>
<users>
<user userName=&quot;donald@disney.com&quot;>
<password>duck</password>
<firstName>donald</firstName>
<lastName>duck</lastName>
</user>

Gorby
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top