I'm trying to figure out a way to pass a variable from a jelly::core var into a jelly::xml XPath expression. The document loading and parsing is working correctly. The following code does not raise an exception, but also does not return anything. Any other combination I try rasises various exceptions, null pointer being the most common.
thanks for the help, dan


xml:
<groups>
  <group desc="I am your content description" name="content"/>
</groups>


jelly: <xml:parse var="groups" xml="groups.xml"/> <jelly:set var="input">$groups//[EMAIL PROTECTED]'content']/@desc</jelly:set> <jelly:set var="desc"> <xml:expr select="${input}"/> </jellt:set>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to