This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Merging XML documents containing formatting and data respectively..



>  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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]