Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Empty space was added in between parsed xml nodes

Community Beginner ,
May 09, 2014 May 09, 2014

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.

TOPICS
ActionScript
207
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 09, 2014 May 09, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines