G
george7378
Guest
So, I need to accomplish a simple task. I've drawn my shorelines the wrong way around (clockwise rather than anticlockwise) and I need to reverse the order of the coordinates. It's a simple enough task to grab reverse the coordinates, and if I could just edit the XML code of my vector object it would be simple to copy them in. It says here:
http://www.airportdesigneditor.co.uk/ade_005.htm
...that with a prokey I should be able to edit the XML code. How do I do this?
I also tried exporting the existing shoreline as an XML, copying the reversed coordinates in using notepad and saving it as an XML, which seemed to work until I tried to import the XML. Here's the list of errors I got:
So, how do I proceed? How do I use the function to edit XML in ADE?
Thanks.
http://www.airportdesigneditor.co.uk/ade_005.htm
...that with a prokey I should be able to edit the XML code. How do I do this?
I also tried exporting the existing shoreline as an XML, copying the reversed coordinates in using notepad and saving it as an XML, which seemed to work until I tried to import the XML. Here's the list of errors I got:
Code:
ScruffyDuck Scenery Design Engine Compiling
Using BglComp....
Parsing document: C:\MSFS\FS Design Tools\Airport Design Editor\FSX\work\loadFrom.xml
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)
ERROR: 1, 11, The element 'shoreline' is used but not declared in the DTD/Schema.
INTERNAL COMPILER ERROR: #C2309: shoreline is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <shoreline>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)
ERROR: 2, 9, The element 'guid' is used but not declared in the DTD/Schema.
INTERNAL COMPILER ERROR: #C2309: guid is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <guid>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR:
ERROR: Unexpected data Line:3 Column:45 Count:44INTERNAL COMPILER ERROR: #C2309: guid is NOT a valid token!
INTERNAL COMPILER ERROR: #C2023: Improper ending element <guid>. Stopping!
INTERNAL COMPILER ERROR: #C2034: XML Parse Fatal Error (line, column, error)
ERROR: 4, 10, Unspecified error
INTERNAL COMPILER ERROR: #C2430: Unrecoverable error parsing XML!
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x80004005)
INTERNAL COMPILER ERROR: #C2003: Failed to process file: C:\MSFS\FS Design Tools\Airport Design Editor\FSX\work\loadFrom.xml
So, how do I proceed? How do I use the function to edit XML in ADE?
Thanks.