|
Revision 1434, 1.0 kB
(checked in by jm3, 1 year ago)
|
initial commit
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> |
|---|
| 2 |
|
|---|
| 3 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > |
|---|
| 4 |
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" /> |
|---|
| 5 |
|
|---|
| 6 |
<xsl:template match="a[@id='bizTitleLink0']"> |
|---|
| 7 |
|
|---|
| 8 |
<a style="color: #fff;" href="http://www.yelp.com{@href}"> |
|---|
| 9 |
<img border="0"> |
|---|
| 10 |
<xsl:attribute name="title"> |
|---|
| 11 |
rated <xsl:value-of select="../../../div[@class='rightcol'][1]/img/@alt"/> on Yelp! |
|---|
| 12 |
<!-- <xsl:value-of select="translate( translate( text(), '1. ', ''),'
',' ')"/> --> |
|---|
| 13 |
</xsl:attribute> |
|---|
| 14 |
<xsl:attribute name="alt"> |
|---|
| 15 |
<xsl:value-of select="../../../div[@class='rightcol'][1]/img/@alt"/> |
|---|
| 16 |
</xsl:attribute> |
|---|
| 17 |
<xsl:attribute name="src"> |
|---|
| 18 |
<xsl:value-of select="../../../div[@class='rightcol'][1]/img/@src"/> |
|---|
| 19 |
</xsl:attribute> |
|---|
| 20 |
</img> |
|---|
| 21 |
</a> |
|---|
| 22 |
<img src='http://jm3.net/yelp-on-wheels/yelp-logo.png' border='0'/> |
|---|
| 23 |
|
|---|
| 24 |
</xsl:template> |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
<xsl:template match="text()"></xsl:template> |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
</xsl:stylesheet> |
|---|
| 31 |
|
|---|