|
Subject: [xsl] Is "A != B" equivalent to "not(A = B)"? From: "Michael S." <mjs@xxxxxxxxx> Date: Sat, 27 Apr 2002 18:11:32 +1000 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/"> <root> <xsl:apply-templates select="//cast[text() != following::cast/text()]"/> </root> </xsl:template>
<xsl:template match="cast"> <p><xsl:value-of select="."/></p> <xsl:text> </xsl:text> </xsl:template>
<?xml version="1.0"?> <root><p>Eeyore</p> <p>Pooh</p> <p>Piglet</p> <p>Tigger</p> </root>
<?xml version="1.0" encoding="utf-8"?><root><p>Eeyore</p> <p>Pooh</p> <p>Tigger</p> <p>Eeyore</p> <p>Pooh</p> <p>Piglet</p> </root>
-- http://beebo.org
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: Re: Fwd: Over/under trimm, Dimitre Novatchev | Thread | Re: [xsl] Is "A != B" equivalent to, Jeni Tennison |
| Re: [xsl] Fwd: Over/under trimming , Mike Brown | Date | Re: [xsl] Is "A != B" equivalent to, Jeni Tennison |
| Month |