View Single Post
Old 08-25-2005, 01:41 AM   #33
GreenDragon
An Icepaw Kobold
 
Join Date: Oct 2002
Server: Vazaelle
Posts: 89
Interface Author - Click to view interfaces
Default

Ok to get this out sooner the first really functional release will need a very strict format. Building in checks for non-strict format takes time. Make sure there are no spaces before or after < and >. If you have "attribute = 'something' " the spaces around the = sign are fine thats is easy to compensate for, but if you had "attribute = ' something ' " then the parser will think those spaces are part of the string unless you want it to have those. If you are places a value between two tags no multilining with the enter key if it wordwraps then fine.
Use
<tag>value</tag>
and not
<tag>
value
</tag>.
This is only so I can get a decent version out sooner. I will add this in later also no multilining with the tags either.
Use
<tag attribute1="val1" attribute2="val2"/>
and not
<tag
attribute1="val1"
attribute2="val2"
/>.
In both examples the syntax is correct and a web browser can read that, but my program won't be able to at first. Please follow these guidelines. I will add in a check so if it doesn't understand it it will let you know exactly where and it wont just crash it just skips it.
GreenDragon is offline   Reply With Quote