I’m using LuaExpat to do some xml parsing.
I wonder whether it provides apis to do “getTag”, “getAttribute”, so I have to write that by myself.
I’m using LuaExpat to do some xml parsing. I wonder whether it provides apis
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are supposed to pass callback functions to LuaExpat which enables you to extract values, print stuff out or whatever your use case is. Below is a short example that prints out the
idattribute of an element.I recommend checking out http://www.keplerproject.org/luaexpat/manual.html for more instructions.