This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Merging XML documents containing formatting and data respectively..
- To: xsl-list at mulberrytech dot com
- Subject: Re: Merging XML documents containing formatting and data respectively..
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 21 Nov 2000 09:14:40 GMT
- References: <20001121042317.27001.qmail@web120.yahoomail.com>
- Reply-To: xsl-list at mulberrytech dot com
> Based on the name of the input tag in the HTML
> , can I set the value attribute from the second XML ..
> It should be dynamic.
I've lost the thread about which value you want to get
from where (but the answer is yes, whichever:-)
I'd also note that in one file you had FIRSTNAME and another you had
firstname, XML is case sensitive, do you really want these to be
different (again you can specify the lowercasing in XSL if you really
need it)
Possibly you want something like
value="{normalize-space(/INPUTDATA/*[name()=current()/@name])}"/>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list