I’ve been trying to get gdevelop to read from an xml file that has been exported from gnumeric or from libreoffice calc (as an excell 2003 xml sheet)
Gdevelop reads xml files like this:
<test1 texte="this is a dialogue 1" />
However values in most XML files, in open office and gnumeric exported tables look like this:
<table:table table:name="Sheet1" table:style-name="ta1">
<table:table-column table:style-name="co1" table:number-columns-repeated="2" table:default-cell-style-name="Default"/>
<table:table-row table:style-name="ro1">
<table:table-cell office:value-type="string" calcext:value-type="string">
<text:p>This is dialogue1</text:p>
with
<text:p>This is dialogue1</text:p>
being the final value I want gdevelop to read!
With gnumeric I get this:
<Cells>
<Cell Row="0" Col="1" ValueType="60">words</Cell>
<Cell Row="0" Col="2" ValueType="60">avatars</Cell>
<Cell Row="1" Col="1" ValueType="60">Hi I am george</Cell>
<Cell Row="1" Col="2" ValueType="60">george</Cell>
<Cell Row="2" Col="1" ValueType="60">and I am wanda</Cell>
<Cell Row="2" Col="2" ValueType="60">wanda</Cell>
<Cell Row="3" Col="1" ValueType="60">tets </Cell>
how do we get gdevelop to read a value from an xml that is in that style?
It is using tinyxml, right? How do we get it to get the value in the style of example 1:
grinninglizard.com/tinyxmldo … rial0.html
<?xml version="1.0" ?>
<Hello>World</Hello>
would it be possible to get more flexibility in xml parsing, so as to be able to use spreadsheets from other software parsed. This can also be useful when you want to use an xml from a music software (hydrogen/renoise/ardour) in order to get the timing of notes of a song - rhythm game
Btw if its using tinyXML, the author has updated it, so as to make it run better on mobile devices:
grinninglizard.com/tinyxml2/index.html
not sure if this is useful information