Re: [xsl] Output common IDs

Subject: Re: [xsl] Output common IDs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Jan 2011 09:27:53 +0000
<xsl:stylesheet version="2.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:variable name="ids" select="tokenize(doc('pageids.xml'),'\s+')"/>

<xsl:template match="AllIds">
<xsl:value-of
 select="tokenize(.,'[\n\r]+')[substring-before(.,'&#9;')=$ids]"
	      separator="&#10;"/>
</xsl:template>
</xsl:stylesheet>


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread