RE: [xsl] replace value using two xml

Subject: RE: [xsl] replace value using two xml
From: "Ross Ken" <Ken.Ross@xxxxxxxxxxxxxx>
Date: Tue, 4 Feb 2003 08:45:35 +1000
While I don't understand what you are trying to achieve that requires using two files, look into the document() function to let you get the values from the second XML document and xsl:element to let you create an element called that value.

HTH,

Ken Ross
Ph: +61 7 32359370
Mob: +61 (0)419 772299
Email: Ken.Ross@xxxxxxxxxxxxxx


-----Original Message-----
From: miguel aviles [mailto:aviles_miguel@xxxxxxxxxxx]
Sent: Tuesday, 4 February 2003 4:50 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] replace value using two xml



I have two xml files, saying

File1.xml:

<n a1="v1" a2="v2" a3="v3" />

File2.xml:

<v1>a1="nv1" a2="nv2" a3="nv3"</v1>

I want to replace v1 with nv1 in file1.xml

thanks
miguel

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

IMPORTANT: This email (including any attachments) may contain confidential,
private or legally privileged information and may be protected by copyright. You may
only use it if you are the person(s) it was intended to be sent to and if you use it in an
authorised way. No one is allowed to use, review, alter, transmit, disclose, distribute,
print or copy this e-mail without appropriate authority.
 
If this e-mail was not intended for you and was sent to you by mistake, please
telephone or e-mail me immediately, destroy any hard copies of this e-mail and delete
it and any copies of it from your computer system. Any legal privilege and 
confidentiality attached to this e-mail is not waived or destroyed by that mistake.
 
It is your responsibility to ensure that this e-mail does not contain and is not affected
by computer viruses, defects or interference by third parties or replication problems
(including incompatibility with your computer system).




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread