Thread: Newlines in XML
View Single Post
  #2  
Unread 11-17-2007, 03:49 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

In my experience, new lines are ok inside of properties, but NOT ok inside of a tag.

For example, this is ok:

<Button localtext="this is ok
"></button>

This is NOT ok:
<Button localtext="this is not ok"
></button>

Notice that in the first example, the newline occurs inside the localtext properties, but in the second line its inside the button but NOT inside a property.

Also, keep in mind this is just what i've noticed in my tinkering.
Reply With Quote