Converting the xml form back to xls - urgent

Hi Humphreys, you can try to import your xml file in kobotoolbox (
kf.kobotoolbox.org)
After log in, select "+Add Form", then "Import Form" - navigate to your xml
file and give it a try. The function is normally for xls form import, but
we have added support for xml. However, it is still experimental and not
fully supported, but it may work.
We are doing our best to ensure compatibility.

P.

··· On Wed, May 13, 2015 at 7:43 PM, wrote:

Yes you can absolutely edit the XML file, though it is a lot less
user-friendly than the XLS forms. If it's just for a few edits you'll be
all right however.

https://opendatakit.org/help/form-design/

If you're not familiar with XML, what I would suggest:

  • Get a quick read of the link to understand how it is structured.
  • Understand that unlike XLS forms, in XML you have a few different
    sections that refer to the same question (e.g. the tags with the
    label/value, the bindings that set the conditions & behavior). So if you
    want to ADD a question, then you'll have to make you add the correct entry
    in each of those section. Read the link above carefully and it will guide
    you through.
  • Start from what you already have (the xml file) I use that as starting
    example. That the time to look at your xml file & compare that to what they
    explain above.
  • Use notepadd ++ (https://notepad-plus-plus.org/) or something similar,
    but notepad ++ is pretty good. It will make this job exactly 57 times less
    of hassle.
  • Use the search (ctr + f) in notepad to check things out, will highlight
    things for you.
    -MAKES VERSION. Every time you make and edit,save it as myFormName_v1 &
    update the version. Better yet, work off something like dropbox which will
    take careof that automatically for you.

Make one change at a time, test it, then make another one once you're sure
it works. Use ODK validate to validate your changes.

Also, the one advantage you have working in XML directly is that you can
just push the XML form with the change you just have made with USB. You
don't really need to upload it to your server every single time you make a
change & want to test it on the phone. Just valide it (using odk validate)
& test through USB. You'll need to put the XML file in your phone under
odk/forms.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.