[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

where to put the filter?

Subject: where to put the filter?
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Wed, 4 Oct 2000 10:43:08 -0500
how to put a filter
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.