V
V
Vitaliy2017-01-21 17:57:47
Parsing
Vitaliy, 2017-01-21 17:57:47

xml parser to read docx files in Lua?

Parse docx file using Lua.
Tried luaxml but didn't work (maybe didn't succeed) ... luaxml doesn't see structure with colons
Conditional example (pseudo xml in docx file):
xmlhandler
root
w:document
w:body
w:p
w:r
w:t = here text
... Tell me
49f1996696c440ed987c8120bb33f86b.png
pliz

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-01-21
@Rou1997

Parse docx file using Lua.

That's why you write a complete "bicycle"?
Well, of course, there are no ready-made libraries for DOCX, it is written in Lua at the root, but it also supports COM interaction with MS Office, in extreme cases - "fasten" it to libraries written in other languages, otherwise the "bike" for DOCX, depending on the requirements, can cost a million dollars, but you don’t have that much.
If it's still XML:
This is called namespace prefix, what does it mean "does not see", what about other libraries for XML?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question