Sign in to follow this  
ffwd

$_POST 'strXML' not correct

Recommended Posts

I'm using the dragNode chart and I'm experiencing some problems. The connectors in the chart can have names like 'startdate < enddate'. An XML example of a connector: <connector strength="0.5" from="1" to="2" name="startdate < enddate" color="EAC5C5" arrowAtStart="0" arrowAtEnd="1"  />

When submitting the chart I catch the $_POST (strXML), but the output XML isn't correct:

<connector strength='0.5' from='1' to='2' alpha='100' name='startdate < enddate' color='EAC5C5' arrowAtStart='0' arrowAtEnd='1' />

As you can see the < is changed in '<'. This causes an invalid XML. How can this be solved, or is it a bug?

Thanks in advance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this