Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In Avalon 4.0 and later, you have the ability to add navigational structure to any file. This can be done by writing raw XML or by using the graphical XML editor. Examples are provided below and you can also refer to avalon_structure.xsd schema for detailed specifications.

...

3. You will be presented with a blank item in which you can use the menu to the right to add Divs and Spans. 

Image RemovedImage Added

An Item is the main container for the XML document.  A Div is used to create contained hierarchical structure that contains one or more Spans. You can not add time codes to Divs. A Span is used to add beginning and end times to specific parts of the file. A label attribute is required on both Divs and Spans.

Avalon items can contain many files, or sections as we call them. Each file can have only one XML document or "XML Item".  Each "XML item" for which structure should be added should contain at least 1 Span with time codes in place. 

 


A simple example would be tracks on a CD. 

...

It would look like this in the editor:

Image RemovedImage Added

Switching over to the Raw XML view of this structure looks like this:

Image RemovedImage Added

A more complex structure is shown in Raw XML below reflecting the following:

  1. Sallie Bakes a Pie
    1. Part 1: Make and Back
      1. The Crust 3 mins 30 sec
      2. The Filling 5 mins 30 sec
      3. Baking 58 sec 
    2. Part 2: Cool and Serve
      1. Cooling
        1. Remove from Oven 30 sec
        2. Cooled Enough Yet? 1 min
        3. What About Now? 1 min
        4. Yay, We Can Eat Pie! 1 min
      2. Eating All the Pie 1 min 30 sec
    3. That Ended Too Soon 10 sec
    4. Sad Trombone 4 min 50 sec

Image RemovedImage Added

In the Graphical editor, Part 2 is a Div with another Div and Span inside. The inside Div also contains Spans.

Image Removed

 

 

 

 

 Image Added