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]

simple question with <xsl:copy-of>


Hi alltogther!

I've just a simple questtion: How can I copy all the tags from the body
of my XML-source document into my XSL-stylesheet in order of their
occurance and additionally adapt some of these tags with additional
templates? 
I thought that I could make it with a simple <xsl:copy-of>, but the I
just get all the text nodes.... 


			<xsl:template match="body">
					
					<form method="post">
						<xsl:attribute
name="action">
							<xsl:value-of
select="$all"/>
						</xsl:attribute>
						<xsl:copy-of
select="."/>			
						<xsl:apply-templates/>
					 </form>	
				</xsl:template>

				<xsl:template match="foo">
					.....

				</xsl:template>




Could you please help me?

Yours,
Roman



> Roman Huditsch (RH ) 
> _____________________________________________________________________
> hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> TechLab, Thomas A. Edison Straße 2.
> A-7000 Eisenstadt / Austria
> phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10
> e-mail:support@hico.com;  r.huditsch@hico.com
> 
> 

 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]