Login   Register  
PHP Classes
elePHPant
Icontem

File: xmlSiteMaker/content/xslt/other/pages2text.xsl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ilya Nemihin  >  xmlSiteMaker  >  xmlSiteMaker/content/xslt/other/pages2text.xsl  >  Download  
File: xmlSiteMaker/content/xslt/other/pages2text.xsl
Role: Auxiliary data
Content type: text/plain
Description: xslt transformation
Class: xmlSiteMaker
Offline site generator based on XML
Author: By
Last change:
Date: 11 years ago
Size: 356 bytes
 

Contents

Class file image Download
<?xml version="1.0"?>

<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  >
<xsl:output
method="html"
/>

<xsl:template match="pages">
  <xsl:for-each select="//page">
  <xsl:value-of select="@id"/>;<xsl:value-of select="name"/><xsl:text>
</xsl:text>
  </xsl:for-each>
</xsl:template>

</xsl:stylesheet>