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

RE: Transform 2 XML Documents at Once?

Subject: RE: Transform 2 XML Documents at Once?
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Mon, 3 Mar 2003 11:58:34 -0600
xsl transform 2 xml
Dear Ted,
The document() function lets your XSL stylesheet access documents
other than the main input document.  See the FAQ at
http://www.dpawson.co.uk/xsl/sect2/N2602.html#d2675e43

Lars

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ted
> Stresen-Reuter
> Sent: Monday, March 03, 2003 11:16 AM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Transform 2 XML Documents at Once?
> 
> 
> Hi,
> 
> Is it possible to "merge" two XML documents using one XSL document in 
> one pass?
> 
> I have an XHTML document that represents the "display" and an XML 
> document that represents the "data".
> 
> The XHTML document has a FORM element that is used to capture 
> data when 
> it is entered into the database. I'd like to reuse this XHTML 
> document 
> for displaying the data once it's been entered (to confirm 
> that it was 
> entered).
> 
> However, I want to transform INPUT (and other FORM elements) into P 
> elements while setting the text node of the P element to the 
> corresponding data in the other XML file (which is really just an XML 
> representation of the posted data).
> 
> I realize I could break it down into two steps (1: transform 
> the XHTML 
> document into an XSL document, 2: transform the posted data with the 
> new XSL document), but creating the XSL document for step 1 
> just seems 
> like more than I am prepared to do and I'm looking for a shortcut.
> 
> As always, thank you in advance. The help on this list has been great 
> and as I get more proficient, I hope to contribute answers in 
> addition 
> to asking questions.
> 
> Sincerely,
> 
> Ted Stresen-Reuter
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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.