|
Subject: Re: Copying and transforming/Recursion? From: "John E. Simpson" <simpson@xxxxxxxxxxx> Date: Tue, 10 Oct 2000 16:45:41 -0400 |
Starting with:
<xml> <submittedValues> <submittedValue fieldname='title'>mr.</submittedValue> </submittedValues>
<display> <p> title:<input type='text' fieldname='title' value=''/> </p> </display> </xml>
Effectively, I want to use the <submittedValue>'s text with the matching (by @fieldname) <display>'s <input> to get:
<display> <p> title:<input type='text' fieldname='title' value='mr.' /> </p> </display>
<display>
<p>title:
<input type="text" fieldname="title" value="mr.">
</p>
</display>this involves outputting the <display> tag, and its contents, while selectively transforming an element within them - I can not figure out a way to do this. I am thinking copy-of and recursive templates would do the trick, but I can't get a grasp on how to do it...
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Copying and transforming/Recurs, sara . mitchell | Thread | RE: Copying and transforming/Recurs, Kay Michael |
| RE: Formatting elements, sara . mitchell | Date | Re: FO: Whitespace questions, Sebastian Rahtz |
| Month |