SiteXpert FAQ
Question ID:
Q1011Question:
Can SiteXpert export a list of links to Microsoft Excel, Word or a database?<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.








