I have the some features and its coordinates in excel file and have an XML with the same features. I need to update the coordinates from excel to XML. Please suggest me the transformers and the process to update the geometry coordinates from excel to XML. I have point and linear features also. Please suggest. Thanks in advance.
Solved
Update geometry attribute from Excel to XML
Best answer by takashi
Hi @chagantisasikir, as @itay suggested at first, the XMLUpdater can be used to update XML in general but it's hard to provide a solution that can be applied directly to your XML, since the concrete parameters setting should be considered depending on the actual XML schema.
Just an example. If your XML schema is the same as this example,
<?xml version="1.0"?>
<dataset>
<NAME>AAA</NAME>
<GEOMETRY>X="123.456" Y="789.123"</GEOMETRY>
<NAME>XXX</NAME>
<GEOMETRY>X="456.789" Y="123.456"</GEOMETRY>
<NAME>ZZZ</NAME>
<GEOMETRY>X="789.123" Y="456.789"</GEOMETRY>
</dataset>
you can update the value of GEOMETRY element specified by the NAME with this workflow.
See here to learn more about XPath: XPath Tutorial
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.