[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Constraint Searching in XML via XSLT
At 10:27 AM 7/19/2001 +1000, you wrote: <snip> Basically, I want to input one or more values for TrialName, Rainfall, SoilType, CropType, RegionName and so on. I can implement it fine for one constraint, where I have one top-level parameter for the value I want to search for. The constraint to be searched for was fixed. I hate to answer my own question, but it would be better to just apply a number of transformations and concatenate together? The final template, should, of course convert to HTML, but other maybe just go from XML to XML? So, my questions are these. If I did it that way, I would only specify transformations for constraints entered. Then I'd just concat all the transformations at the end, the last one doing XML-HTML conversion and sorting. Joel 2. In the case of rainfall, I want to allow users to specify a rainfall *range*. Is it possible to do this in XSLT? I had a look and there seem to be < and > operators. 3. Should I be using <xsl:choose> and <xsl:if> instead of <xsl:template> for this sort of stuff? 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
|