where to put the filter?

Subject: where to put the filter?
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Wed, 4 Oct 2000 10:43:08 -0500
good day everyone,
I have an htm file that 'merges' an xmlDoc and an xslDoc using SOAP
envelope. The first time the page loads, ALL information for ALL records is
called and populates the xmlDoc.  Because this is for Customer Service, I
have designed a javascript function which instantiates back-to-back prompt.
the first asks which field to filter, the second asks for the criteria.
I am passing this into a strFilter and then trying to re-transform the page.
All variables are being trapped correctly (I have set alert boxes to
show:first the field value, then the criteria value and finally the
strFilter line.
When I call the transformXML() function after the alerts the page comes back
blank. I am placing this strFilter in the <filter></filter> tags when the
SOAP request is sent. I am sure it's because I am placing the
<xsl:apply-templates select="filter"/>, <xsl:template  match
select="filter">,<xsl:value-of select="filter"> in the wrong place. I can't
find any documentation on this at all.  They all give the syntax for
building a filter, but not on where to place it.
any help would be great, I've been messing with this for two days now!

Keith Brooks
Software Developer
Global eTelecom
Keith@xxxxxxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread