Re: [xsl] xsl:copy-of misuse?

Subject: Re: [xsl] xsl:copy-of misuse?
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 14 May 2003 16:35:18 -0600 (MDT)
Consider telling us what your XML looks like.
You probably want <xsl:value-of select="documentation"/> though.

Holbrook, R Cody (Cody) wrote:
> I'm using the following:
> 
> 	<xsd:annotation>				
> 		<xsd:documentation>					
> 			<xsl:copy-of select="documentation/."/>				
> 		</xsd:documentation>			
> 	</xsd:annotation>	
> 
> and I'm outputing:
> 
> 	<xsd:annotation>
> 		<xsd:documentation>
> 			<documentation>
> 	Put summary here. Also put full description here.
> 			</documentation>
> 		</xsd:documentation>
> 	</xsd:annotation>		
> 
> What I'd like to get:
> 
> 	<xsd:annotation>
> 		<xsd:documentation>
> 	Put summary here. Also put full description here.
> 		</xsd:documentation>
> 	</xsd:annotation>		
> 
> I've been fumbling around this and I can't seem to get the <xsl:copy select="?"> correct.
> 
> Thanks.
> 
>  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