Is it possible to output the navigation (from the navigation tool) as XML?
('cause I want to make a flash navigation based on the navigation tool input..)
XML navigation
Hi ikbenivo,
This is possible.
Create a template with the following code:
Then create a new document with the file extension ".xml" and define as template the aforementioned template.
Depending on the requirements of your XML document you can customize the output by adding code for different levels etc.
Regards
Boris Töltl
This is possible.
Create a template with the following code:
Code: Alles auswählen
<?xml version="1.0"?>
<we:navigation navigationname="myXMLNavigation" parentid="0" />
<we:navigationEntry type="folder" navigationname="myXMLNavigation">
<we:navigationEntries />
</we:navigationEntry>
<we:navigationEntry type="item" navigationname="myXMLNavigation">
<entry>
<level><we:navigationField name="level"/></level>
<name><we:navigationField name="text" /></name>
</entry>
</we:navigationEntry>
<navigation>
<we:navigationWrite navigationname="myXMLNavigation"/>
</navigation>
Depending on the requirements of your XML document you can customize the output by adding code for different levels etc.
Regards
Boris Töltl
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste