xsl:copy-of

Subject: xsl:copy-of
From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx>
Date: Mon, 17 Apr 2000 09:37:46 -0700
Can anyone tell me how can I do this..

My xml is like this

<emptbl>
  <empinfo>
  	<empname>
  		<fname>John</fname>
  		<lname>Woo</lname>
  	</empname>
  	<otherdetails>
  		<date>19990817</date>
  		<dept>Sales</dept>
  		<grade>B</grade>
  	</otherdetails>
  </empinfo>
  <empinfo>
  	<empname>
  		<fname>Joe</fname>
  		<lname>Dauber</lname>
  	</empname>
  	<otherdetails>
  		<date>19990513</date>
  		<dept>IT</dept>
  		<grade>A</grade>
  	</otherdetails>
  </empinfo>
</emptbl>



If I want to get all details about the empname "Joe Dauber",how can I get
it.I need to use xsl:copy-of.I can think of declaring 2 variables and then
using xsl:copy-of.Is there any other way?.

Francis






*****************************************************
The woods are lovely,dark and deep.         
But I have promises to keep,                      
And miles to go before I sleep                   
And miles to go before I sleep.                   
*****************************************************


 
 


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


Current Thread