nectar
nectar

Reputation: 9679

does xml ignores (,) OR (-)??? (xml of flash object)

<SCENE>
<xml_image>telcos.jpg</xml_image>
<xml_bigtext>TELCOS</xml_bigtext>
<xml_smalltext>New-Age Properties, Wifi Everywhere</xml_smalltext>
<xml_align>right</xml_align>
<xml_bigtextcolor>#ffffff</xml_bigtextcolor>
<xml_bigtextshadow>#0000000</xml_bigtextshadow>
<xml_bigtextcolor>#ffffff</xml_bigtextcolor>
<xml_bigtextshadow>#0000000</xml_bigtextshadow>

this is the xml file of my flash.But ignores the hyphen(-) and comma(,) like New-Age comes like NewAge and Properties, comes like PropertiesWifi WHY?

Upvotes: 0

Views: 49

Answers (2)

dain
dain

Reputation: 6699

Try wrapping your XML node values in <![CDATA[]]>, it`s good practice anyway!

(On a completely different note, highfun is the most hilarious spelling of hyphen I`ve seen :) )

Upvotes: 0

Graham Clark
Graham Clark

Reputation: 12966

, and - are perfectly fine in XML. I guess whatever is parsing your XML is ignoring these characters. Maybe you need to escape them in some way?

Upvotes: 2

Related Questions