|
Subject: Sequence of questions [was Re: Sibling text() Content Match] From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 08 May 2000 13:57:44 +0100 |
David,
I think this is the code you're looking for.
<xsl:template match="REPLY-TO-POST">
<xsl:variable name="query">
<xsl:value-of select="CITED-QUESTION"/>
</xsl:variable>
<xsl:when test="not(preceding::QUESTION[contains(., $query)])">
<xsl:message>Sorry, come again?</xsl:message>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:template>
We'll be able to use this as soon as Mulberry gets done testing the new
XML-aware, autotagging MetaMail engine, with the prescience support module
installed (coming real soon now).
Cheers,
Wendell
At 10:57 PM 5/4/00 +0100, David Carlisle wrote:
>the trick to answering questions on mailing lists and giving apparently
>good response times is to predict the cycles of questions, so you know
>what's coming up, then you just need to send off answers to likely
>sounding questions at convenient moments, and hope someone fills
>the void and asks a question that is more or less answered by the
>answer that's already in the mail queue.
======================================================================
Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Sibling text() Content Match [w, David Carlisle | Thread | RE: Sibling text() Content Match [w, Selva, Francis |
| trouble using name() property, Amanda Birmingham | Date | Re: attributes of a parent node, Wendell Piez |
| Month |