[Portfolio] parsing template ?
ericaack at umich.edu
Mon Jul 27 13:13:46 PDT 2009
Jon, I think you want to create a template that calls substring-before and substring-after to break the string up, saving the substring-before and the substring-after parts in variables. The template would then call itself again until there was no substring-after part.
From: portfolio-bounces at collab.sakaiproject.org [mailto:portfolio-bounces at collab.sakaiproject.org] On Behalf Of Jon Wheat
Sent: Monday, July 27, 2009 4:01 PM
To: portfolio at collab.sakaiproject.org
Subject: [Portfolio] parsing template ?
I have a portfolio form that collects multiple attachments.
The resulting XML looks like this -
<docReflection> snipped </docReflection>
I'm now attempting to grab just the filenames for these files and am having difficulty both looping though the fileSelect(s) and parsing the urls so I can create simple a lang_c1.pdf link.
Does anyone have any template code that does this ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the portfolio