Paste: xslt agen

Author: ixi
Mode: factor
Date: Sun, 10 May 2009 21:30:36
Plain Text |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>


    <xsl:template match="/">
            <items>
                <xsl:apply-templates select="//div[@class='hblok']"/>
            </items>
    </xsl:template>

    <xsl:template match="div">
        <item>
            <shop>Agen</shop>
            <name> <xsl:apply-templates select="div/div/div/div/div/a"</name>
            <price>1</price>
            <link></link>
        </item>
    </xsl:template>

</xsl:stylesheet>

New Annotation

Summary:
Author:
Mode:
Body: