Skip to main content
Anonymous507
Known Participant
May 9, 2014
Question

Empty space was added in between parsed xml nodes

  • May 9, 2014
  • 1 reply
  • 218 views

hi,

i have loaded a xml using loaderMax, in its complete event i have parsed them.

In the parsed xml, it automatically adds a space between each node. so, if my xml children is 7 means, it returns the length as 14.

i have tried a lot. I couldn't able to fix it,

any solution will be highly appreciated.

This topic has been closed for replies.

1 reply

Inspiring
May 9, 2014

its possible that you used a suboptimal programm to create your xml file.

Don`t use a text editor like MS Word or sth. similar since it will insert hidden markups that are causing trouble.

Use a programming IDE, or save your file as .txt file and rename it afterwords to .xml