Thread: <./page>
View Single Post
  #4  
Unread 05-07-2005, 02:43 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Actually an object that does not contain anything can be closed in the opening tag by ending it with a forward slash, avoiding the need for a seperate closing tag. For example...

<Page name="foo"/>

Signifies a page named foo that is empty. The ending forward slash closes the tag exactly like a seperate closing tag. The above one liner is the same as...

<Page name="foo">
</Page>
Reply With Quote