Subject: Copying and Transforming/Recursion? - Revisited From: Jeff Saylor <JSaylor@xxxxxxxxxxxxxxxxx> Date: Wed, 11 Oct 2000 15:08:58 -0400 |
Let me try rephrasing and earlier question from a different angle... At the highest level, I want an author to be able to create XHTML: <html> <body> name <input fieldname='name' type='text' value='' /> title <input fieldname='title' type='text' value='' /> </body> </html> I want to be able to apply the following XML data against it: <submittedValues> <submittedValue fieldname='title'>mr.</submittedValue> </submittedValues> So that the appropriate <submittedValue>'s text is inserted into the corresponding <input>'s value, resulting in something like: <html> <body> name <input fieldname='name' type='text' value='' /> title <input fieldname='title' type='text' value='mr.' /> </body> </html> Note that the format inside of the author's <html> can not be assumed ahead of time - since it may change dynamically. It seems to me that the author's document needs to be copied - element for element (via recursion?) - to the output and transformed against the data along the way. But I can't seem to get a mental handle on how to do it... Appreciation in advance for any and all input - it's greatly appreciated! Cheers, Jeffrey J. Saylor Senior Internet Developer Wizard Finance Systems 707 Mendham Blvd., Suite 104 Orlando, FL 32825 Phone: (407) 262-9000 Ext 266 Fax: (407) 262-9010 Email: jsaylor@xxxxxxxxxxxxxxxxx <mailto:jsaylor@xxxxxxxxxxxxxxxxx> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Documenting stylesheets, Thorbjørn Ravn Ander | Thread | Re: Copying and Transforming/Recurs, David Carlisle |
Documenting stylesheets, Meltsner, Kenneth | Date | Re: Apply-templates for getting aro, Wendell Piez |
Month |