I have a problem when i save XML file.
I have a XML file like this one :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME5.xsd">
<displaySettings displayType="replace" securityCode="*" backColor="#3A7878" maximumTagUpdateRate="0.5" focusHighlightColor="lime" disableFocusHighlight="false" width="800" height="600" displayNumber="1" disableInitialInputFocus="false" startupMacro="" shutdownMacro=""/>
<text name="Text7" height="312" width="415" left="175" top="165" visible="true" wallpaper="false" isReferenceObject="false" backStyle="transparent" backColor="white" foreColor="black" wordWrap="true" sizeToFit="true" alignment="middleLeft" fontFamily="Arial" fontSize="14" bold="false" italic="false" underline="false" strikethrough="false" caption="Main Information of this part of Machine :

Put a Picture of this part of Machine in Wall Paper

Example : 

Information :
 - Cycle Time
 - Current Receipe Id
 - Operator Message
 - ...

Action : 
BP Restart or Next..."/>
</gfx>
look in attribute "caption" of /gfx/text
My problem is when i save this XML after modification, i get :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME5.xsd">
<displaySettings displayType="replace" securityCode="*" backColor="#3A7878" maximumTagUpdateRate="0.5" focusHighlightColor="lime" disableFocusHighlight="false" width="800" height="600" displayNumber="1" disableInitialInputFocus="false" startupMacro="" shutdownMacro=""/>
<text name="Text7" height="312" width="415" left="175" top="165" visible="true" wallpaper="false" isReferenceObject="false" backStyle="transparent" backColor="white" foreColor="black" wordWrap="true" sizeToFit="true" alignment="middleLeft" fontFamily="Arial" fontSize="14" bold="false" italic="false" underline="false" strikethrough="false" caption="Main Information of this part of Machine :
Put a Picture of this part of Machine in Wall Paper
Example :
Information :
- Cycle Time
- Current Receipe Id
- Operator Message
- ...
Action :
BP Restart or Next..."/>
</gfx>
And now, i get error when import XML in my big automation project (Rockwell software RS5000 and factory talk view studio)
Other specific caracters, like &, are well formated in &
Thanks