EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   <./page> (https://www.eq2interface.com/forums/showthread.php?t=2862)

Lange 05-06-2005 12:15 PM

<./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?

Magus 05-06-2005 08:47 PM

A closing tag should always match an opening tag. Where do you see it not doing so?

UmbraNemo 05-07-2005 02:07 AM

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

Zonx 05-07-2005 02:43 AM

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>

Lange 05-09-2005 11:37 AM

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. :)


All times are GMT -5. The time now is 08:33 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI