Explore the community Forums Lectora Lectora Questions & Answers xml import of data into lectora 16

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #304113 Score: 0
    Profile photo of Paul Froc
    Paul Froc
    Member
    @pfroc5254

    Hello,

    Has anybody been successful at importing an XML file as a source file for importing data into Lectora 16?

    Thanks

    Paul

     

    #304497 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    335 pts
    @ssneg

    What kind of data are you referring to? Lectora’s files (.AWT) are just that, plain well-formatted XML, only under a different file extension. So when you import a AWT file into Lectora Online, you are in fact importing XML.

    Or did you mean something else?

    #315814 Score: 0
    Profile photo of Trav Owers
    Trav Owers
    Member
    beginner
    intermediate
    friend finder
    advanced
    junior moderator
    contributor
    2 pts
    @towers9815

    Perhaps I was thinking of something similar.

    Could I create my script (title, body and such ) and write it up in a custom tool then export that as XML?

    Then just import this XML right into Lectora ?

    #317826 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    115 pts
    @mnotermans5114

    If you create a xml in a custom tool..make sure all elements are named properly conforming to Trivantis xml-setup.. change the extension from xml to awt.. you can open that file in Lectora and it works.

    Best way of getting started with this… create a simple awt in Lectora. Save that, close lectora…change the extension of the awt to xml…and you can read and check the file.
    Then you can make your custom tool generate xml that is conforming to the sample you created. Check for unique ids and other elements in the awt/xml and make sure your custom tool generates it like this. That will work.

    Big plus of this approach is you can choose the htmlnames for objects you want. No need to use the Trivantis naming there, cause it will work with your custom names as well.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.