I am trying, without success, to determine if it is possible to use a variable to specify the XPath expression in the JTSL X taglibs.
For example: <c:set var="foo" value="/a/b[1]"/> <x:parse xml="some-xml-source" var="xml"/> <x:out select="$xml/a/b[1]"/> I would like to define the "x:out" statement to use the foo variable instead of the hard-coded xpath. Something like this: <x:out select="$xml/$foo"/> I have read through the spec and various other docs, but just cannot seem to get this working. If some one could help point me in the right direction I would greatly appreciate it. Thanks. --- Peter Giesin Hub City Media, Inc [EMAIL PROTECTED] Office: (215) 781-1548 Mobile: (917) 710-2552 ------------------------------------------------------------------ Jumping through hoops to get E-mail on the road? You've got two choices: Join the circus, or use Molly Mail. Molly Mail -- http://www.mollymail.com ------------------------------------------------------------------ Having trouble sending email from different locations ? Need a single outgoing mail server that will work from anywhere ? Set it to smtp.com and never have to change it again ! http://www.smtp.com ------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
