Xtreeme - web development software
Site Search:      

 German version  
Home Products Download Buy Now Affiliates Forum
 SiteXpert - Site Map Generator
 SiteXpert's home page
 Features / Editions (Std vs Pro)
 Download
 Creating sitemap / site index
 Creating DHTML drop-down menu
 Creating search engine
 Screenshots
 Site Map Styles / Samples
» Site map
» Site index
» Portal
» Diagram
» Java Applet
» Mega folders
» more...
Sample site maps / menus created with SiteXpert
 Buy Now / Pricing
Order Now and get DHTML Menu Studio for Free ...
 Reviews And Awards
» CNET's Download.com (Rewarded 5/5)
"...Xtreeme SiteXpert Professional is a solid and affordable tool for Web professionals"
» Internet.com
"...the program can reduce the work load dramatically..."
» Tucows (Head of the Herd Award)
"...assists you in creating an excellent navigation scheme for your website..."
» ZDNet (Awarded Editor's Pick)
"...you'll be impressed with the results."
» more...
 Our customers
 Web sites utilizing our site map software
 Some of our other customers
 Support
 Frequently asked questions
 Discussion Forum
 Dynamic sitemap creation
 Related products / resources
 DHTML Menu Studio
 Search Engine Studio
Question ID: Q1011
Question: Can SiteXpert export a list of links to Microsoft Excel, Word or a database?
Product: Sitexpert


SiteXpert 6.0 is an open application and can import/export data from virtually any other application using XML/XSL. However, you will need the Professional Edition of SiteXpert to import/export XML documents.

The problem can be solved by either creating an XSLT style or by selecting "Generate / Export XML layout" from the toolbar.

This document uses the first approach. Go to Options / Style and select "Custom XSLT style". Now enter the following XSL transformation script into the script window:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" version="4.0" omit-xml-declaration="yes"/>
<xsl:template match="/">
<html>
<table>
<tr>
<td>
<b>Link</b>
</td>
<td>
<b>Description</b>
</td>
</tr>
<xsl:apply-templates />
</table>
</html>
</xsl:template>
<xsl:template match="node">
<tr>
<td>
<a>
<xsl:attribute name="href">
<xsl:value-of select="@href"/>
</xsl:attribute>
<xsl:value-of select="@href"/>
</a>
</td><td>
<xsl:value-of select="text"/>
</td>
</tr>
<xsl:apply-templates select="node"/>
</xsl:template>
</xsl:stylesheet> 
Now you can open the generated HTML file in Microsoft Excel or Word, which will insert data from HTML tables into cells.

This example demonstrates a simple XSL transformation that generates an HTML file with a single table whose cells are filled with link and description of documents. You can easily create another XSL transformation that will generate a tab-delimited text file, or any other text, HTML, or XML format.
 Save This Page       Copyright 1998-2007 Xtreeme GmbH