[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I have a block of xml that looks like the following.
I need to display blocks of code only if text matches the text in any of the three nodes(or more) in LastName. So you may have a block of code that should display only if "Jones" is in the above nodes. I've examined XSL IF and Choose and can't really find anything that works for this purpose. Thanks.
[xsl] Searching text within a node
Subject: [xsl] Searching text within a node From: "Lee" <lee@xxxxxxxxxxxxx> Date: Tue, 04 Aug 2009 14:13:12 -0500 |
I have a block of xml that looks like the following.
<Form> <Names> <LastName>Jones</LastName> <LastName>Smith</LastName> <LastName>Anderson</LastName> </Names> </form>
I need to display blocks of code only if text matches the text in any of the three nodes(or more) in LastName. So you may have a block of code that should display only if "Jones" is in the above nodes. I've examined XSL IF and Choose and can't really find anything that works for this purpose. Thanks.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Concatenating string valu, Andrew Welch | Thread | Re: [xsl] Searching text within a n, Michael Ludwig |
Re: [xsl] Concatenating string valu, Martin Honnen | Date | Re: [xsl] Concatenating string valu, Christopher R. Maden |
Month |