[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] where to put the 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|