PHP Classes

File: demo.xsl

Recommend this page to a friend!
  Classes of Rabotyahoff Alexandr  >  c_xml  >  demo.xsl  >  Download  
File: demo.xsl
Role: Auxiliary data
Content type: text/plain
Description: xsl-file for demo xsl-transformation
Class: c_xml
Convert between XML files and arrays or strings
Author: By
Last change:
Date: 8 years ago
Size: 445 bytes



Class file image Download
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
  <xsl:output method="html" version="1.0" omit-xml-declaration="no" indent="yes" encoding="utf-8"/>

  <xsl:template match="data">
  	<xsl:for-each select="bike">
  		<xsl:value-of select="@model"/> (<xsl:value-of select="@year"/>) - <xsl:value-of select="owner"/><br/>