Pregunta

I am currently trying to build an iOS game that match word with its definition for myself and my classmates.

I'm having a hard time thinking how do I go about converting a list of words with their definitions in a .docx files into something(JSON, XML, ...) that I can then read it into an Array or Dictionary.

Most of the words in the .docx have the following format: " Word (): Definition. "

¿Fue útil?

Solución

This would be easier with excel. Excel already has the function to export to xml, and should make your life a lot easier, instead of getting all the words out of docx and then converting them to either JSON or XML.

http://www.excel-easy.com/examples/xml.html

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top