Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0'?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text"/>
- <!-- default: rush through everything, and do nothing -->
- <xsl:template match="@*|text()"/>
- <xsl:template match="/channel/item">
- <xsl:value-of select="manufacturer_name"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="product_sku"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="product_name"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="product_price"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="product_availability"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="picture_url"/>
- <xsl:text>;</xsl:text>
- <xsl:value-of select="price_with_tax"/>
- <xsl:text>;</xsl:text>
- <xsl:text> </xsl:text>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement