aspose file tools
The moose likes XML and Related Technologies and the fly likes testing for param in custom tag.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "testing for param in custom tag.." Watch "testing for param in custom tag.." New topic
Author

testing for param in custom tag..

Veronica Damian
Ranch Hand

Joined: Feb 04, 2006
Posts: 61
hi, I need to test for a param in custom tag..

<xsl:if test="ARTICLE/MAPPING/KEYSET/SECONDARY='NEWS STORY 1'">

but: I have three of these, generated with a loop (so secondary key can be either NEWS STORY 1, NEWS STORY 2, or NEWS STORY 3.. how do I test for if secondary key CONTAINS string 'NEWS STORY' without having to test for entire NEWS STORY 1 or 2 or 3?

(I need a sort of 'indexOf' way of doing this instead of '.equals'.....;)

thank you very much...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: testing for param in custom tag..
 
Similar Threads
SCWCD queries
custom tags for dynamic values inside JSTL tags
looping thru nodes...
JSP and custom tag withVAJ 4.0
JSF is custom tag library