EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-06-2005, 12:15 PM
Lange Lange is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Posts: 101
Default <./page>

I'm certain this is a truly moronic question but I'm just starting to get my feet wett with EQ2 UI modification and I'm running into something that is really confusing me.

</page>

This command appears in many of the UI I've downloaded from this site but does not always seem to correspond to a matching <page..> command.

When and why is </page> used since it does not appear to close the <page..> opening?

Last edited by Lange : 05-06-2005 at 12:25 PM.
Reply With Quote
  #2  
Unread 05-06-2005, 08:47 PM
Magus Magus is offline
A Griffon
 
Join Date: Apr 2005
Server: Mistmoore
Posts: 541
Default

A closing tag should always match an opening tag. Where do you see it not doing so?
Reply With Quote
  #3  
Unread 05-07-2005, 02:07 AM
UmbraNemo's Avatar
UmbraNemo UmbraNemo is offline
A Fallen Diplomat
 
Join Date: Jul 2004
Server: Everfrost
Posts: 54
Default

Also be aware you can have somting like
<page>
yada yada
yada yada
<page>
yada yada
</page>
</page>
as this one threw me at first when dealing with large files
__________________
The worlds first practicing optimistic pessimist "I know the glass is half full I'm just not sure with what"
Reply With Quote
  #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
  #5  
Unread 05-09-2005, 11:37 AM
Lange Lange is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Posts: 101
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"/>
Ahhh.. That must be it. Thanks for the replies.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:17 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI