|
Subject: [xsl] nodeset comparison From: "Todd Kleine" <tkleine@xxxxxxxxxxxxx> Date: Thu, 25 Sep 2003 09:12:08 -0400 |
I am trying to solve the following problem and am having difficulty because
I'm new to this. Can anyone help?
If I have a nodeset (#1)
<menu>
<item>
<text>test</text>
<param required='y'>contactid</param>
<param>searchtype</param>
</item>
</menu>
and another nodeset (#2)
<parameters>
<searchtype>Boolean</searchtype>
<anotherparam>testing</anotherparam>
</parameters>
how do I compare these two such that the test in an
<xsl:choose>
<xsl:when test="">
...
returns false because the required param contactid (from <param
required='y'>contactid</param> in nodeset #1) is not an element name within
nodeset #2? If on the other hand the "required" attribute did not exist
then the result of the comparison would be true as a match for searchtype as
an element name was found.
Thanks in advance.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] ANN: Lantern 1.0, Emmanuil Batsis (Man | Thread | Re: [xsl] nodeset comparison, David Carlisle |
| [xsl] ANN: Lantern 1.0, Frederic Laurent | Date | Re: [xsl] ANN: Lantern 1.0, vinod . agarwal |
| Month |