|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Question about data filter using XSLT
Hello: I am passing three paramters to my XSLT and based on these paramters and the corresponsing conditions on the XML, only the data corresponsing to these paramters should be displayed. Example: I have height, weight, color as three parameters which I pass on th style sheet. Now, in the actual content (the XML), these paramters are present as well: <list1> <text>Condition 1</height> <width>10inches</width> <color>black</color> <list2> <text>Condition 2</text> <height>2inch</height> <width>4inches</width> <color>white</color> <img src=""/> </list2> </list1> Now suppose the paramters height, width and color passed on style sheet have values 2,4 and white then only content of <list2> and image associated with it should be displayed. How can this be achieved on the style sheet? I ahev tried passing parameters at template levels but it does not work. Please do give me some ideas. Thanks in advance for all your help. ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
|
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
|

Cart








