SHARE
TWEET

Untitled

a guest Sep 13th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Кусок xml:
  2.     <model>ЛЕВ ТОЛСТОЙ</model>
  3.     <year>"АННА КАРЕНИНА"</year>
  4.     <price currency="р.">6000</price>
  5. Кусок xsl:
  6.     <xsl:template match="model | year | price">
  7.         <td>
  8.             <xsl:apply-templates />
  9.             <xsl:value-of select="@currency" />
  10.         </td>
  11.     </xsl:template>
  12.     <xsl:template match="text()">
  13.         <xsl:value-of select="." />
  14.     </xsl:template>
RAW Paste Data
Top