wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes XML jargon: declaration vs. definition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML jargon: declaration vs. definition" Watch "XML jargon: declaration vs. definition" New topic
Author

XML jargon: declaration vs. definition

Razvan MIHAIU
Ranch Hand

Joined: Nov 12, 2004
Posts: 43
Hi !


Consider the following XML element:


<!ELEMENT value (#PCDATA)>
<!ATTLIST value year CDATA #IMPLIED>


Is this a declaration or a definition ? In Java/C++ there is a clear
distinction between declaration and definition.
How about XML ?


Regards,
Razvan


Regards,<br /><a href="http://www.mihaiu.name" target="_blank" rel="nofollow">Razvan</a><br /> <br /> <br />SCJP PREPARATION MATERIAL:<br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035/index.html" target="_blank" rel="nofollow">SCJP 310-035</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html" target="_blank" rel="nofollow">SCJP 310-035 T1</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html" target="_blank" rel="nofollow">SCJP 310-035 T2</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html" target="_blank" rel="nofollow">SCJP 310-035 T3</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html" target="_blank" rel="nofollow">SCJP 310-035 T4</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML jargon: declaration vs. definition