Author Topic: Lua 'XML' reader  (Read 10360 times)

0 Members and 1 Guest are viewing this topic.

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Lua 'XML' reader
« Reply #15 on: December 18, 2011, 05:05:33 pm »
how hard would it be to create a pdf reader for nspire in C?

just wondering...

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Lua 'XML' reader
« Reply #16 on: December 18, 2011, 05:06:09 pm »
pdf [readers] are extremely hard to make...
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Lua 'XML' reader
« Reply #17 on: December 18, 2011, 05:11:36 pm »
hmm... and what about an odt or doc reader? (reader only - not editor)

Offline blauemauritius

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +0/-0
    • View Profile
Re: Lua 'XML' reader
« Reply #18 on: April 15, 2013, 12:55:21 pm »
Hello,

the code doesn't work on my TI-nspire CX CAS. I have copied the code in a txt-editor and saved the file with the name xml.lua. With TI-Nspire Scripting I have tried to insert it on my TI. The page is white only. What is wrong? Maybe someone could help me.

Thank you very much.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Lua 'XML' reader
« Reply #19 on: April 17, 2013, 12:29:30 pm »
Try adding this line at the top of the script (very first line of file)

Code: [Select]
platform.apilevel = '1.0'

You're probably unning OS 3.2, and from then a newer API is used (API 2.0), so you have to tell the calc it needs API 1.0