SiteXpert FAQ
Question ID:
Q1024Question:
How do I import a structure from a database or another source into SiteXpert?Fig 1. Layout Wizard - XML options
<!DOCTYPE sitemap [
<!ELEMENT sitemap (node+)>
<!ELEMENT node (node*|text)*>
<!ATTLIST node
href CDATA #IMPLIED
icon CDATA #IMPLIED
icon2 CDATA #IMPLIED
icon2pos (left|right) "right">
<!ELEMENT text (#PCDATA)>
]>
<sitemap>
<node>
<text>Images</text>
<node href="Cars/">
<text>Cars</text>
<node href="Cars/BMW.htm" icon="c:\icons\caricon.gif" icon2="1">
<text>BMW</text>
</node>
<node href="Cars/Porsche.htm" icon2="c:\icons\caricon2.gif" icon2pos="left">
<text>Porsche</text>
</node>
</node>
<node>
<text>Nature</text>
<node href="animals/" icon2="4" icon2pos="right">
<text>animals</text>
</node>
<node href="forests/">
<text>forests</text>
</node>
<node href="mountains/" icon2="c:\icons\c.gif">
<text>mountains</text>
</node>
</node>
</node>
</sitemap>
If you have a different format of XML data, you can easily convert it to the above format by specifying an XSLT transformation file.








