[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Copying and Transforming/Recursion? - Revisited

Subject: Copying and Transforming/Recursion? - Revisited
From: Jeff Saylor <JSaylor@xxxxxxxxxxxxxxxxx>
Date: Wed, 11 Oct 2000 15:08:58 -0400
Copying and Transforming/Recursion? - Revisited
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.