Reserved Variable: Course Structure (Chapters, Sections, Pages)

It would be great from a javascript standpoint if there were a reserved variable that offered the structure of the course (Chapters, Sections, Pages, maybe even AU for SCORM).

undefined

I see this as a variable that you could access from any page and dig into structure of the course in a javascript array of object so that you could pull the names of the sections, chapters, pages.

example...

Reserved Variable name: CourseStructure

When calling VarCourseStructure.value, you might be given something like this:

chapters: [

{

chapterName: 'Introduction',

chapterSections: [

{

sectionName: 'Welcome',

},

{

sectionName: 'Introduction',

}

]

}

]

Discussion (1)

I'd actually want the returned value to be in XML. There are lots of great off-the-shelf XML parsers one could use then.

Discussions have been disabled for this post