- alex co
- PowerBuilder
- Tuesday, 18 October 2022 07:59 PM UTC
I have a DW save to XML file then eventually to KML file (GOOGLE EARTH) project, where I need to append this predefined XML as a HEADER section (below is a small sample) to the top of the DW generated XML file. how do I prevent Powerbuilder from converting ( < to < ) ( > to > ) ( " to " )????
<name>Meters</name>
<Style id="BlueNormal">
<IconStyle>
<color>ffff0000</color>
<scale>0.6</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/triangle.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<visibility>1</visibility>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
</Style>
so placed the lines above to a COMPUTED COLUMN as TEXT in the DW, but it comes out as below when the DW is saved as XML file.
<name>Meters</name>
<Style id="BlueNormal">
<IconStyle>
<color>ffff0000</color>
<scale>0.6</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/triangle.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<visibility>1</visibility>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
</Style>
I thought about using a COMPOSITE DW but i just realized the HEADER section is composed of two types of tags, look at tags (Style id, StyleMap id) in the attached XML file
and i am not sure how to formulate the Export /Import Template - XML for a COMPOSITE DW and would it work????
thank you
Alex
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.