Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
DanteX
Apprentice


Joined: 13 Aug 2007
Posts: 166

PostPosted: Thu Aug 30, 2007 2:40 pm   

[2.01] XML exports of <>
 
I'm not sure if this

Code:
<trigger priority="27320" id="2732">
  <pattern>^~</pattern>
</trigger>


is a correct XML export of this trigger pattern

Code:
^~<MAPSTART~>


but it looks wierd.

D
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Aug 30, 2007 4:06 pm   
 
From what I could tell of the original post it is being exported correctly at &lt and &gt the forum is just eating it within the code tags.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Aug 30, 2007 5:55 pm   
 
Yes, CMUD is exporting it correctly. The < and > get changed into &lt; and &gt; entities, which is how XML works. You cannot have embedded < > characters in XML unless you use a CDATA section, which would make your script look even stranger to you probably. The & character in your script will also get converted to &amp;

Just stuff you need to get used to seeing when working with XML.

(and yes, the forum code tag ate his entities)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net