[xsl] xsl:copy

Subject: [xsl] xsl:copy
From: franck delarue <frdelarue2000@xxxxxxxx>
Date: Thu, 28 Jun 2001 13:47:37 +0200 (CEST)
hi everybody,
I'd like to use a xsl file that copy the xml file
except some particular tags (in fact single tags like
<hello/>, <bye/>,...). I can do that by copying every
tag of the xml but I'd like an automatic method to
copy the knotes of the xml file and its attributes.

I've used :  
 <xsl:template match="*">
  <xsl:copy> 
   <xsl:apply-templates/>
  </xsl:copy>
 </xsl:template>

it copies every knotes but that method doesn't copy
the atributes of the knotes! I know  that there is an
argument to the <xsl:copy> : use-attribut-sets , but I
don't know how to use it and if it can help me.

Thanks in advance.

=====
__________________________________    ___      ____          \                                 \  |    \   /    |               \  F R A N C K     D E L A R U E  \  \    \_/    /                   /  + - + - + -     + - + - + - +  /   \         //_________________________________/     \       /                                                 \_____/

___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net, 
Yahoo! Shopping : http://fr.shopping.yahoo.com

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


Current Thread
  • [xsl] xsl:copy
    • franck delarue - Thu, 28 Jun 2001 13:47:37 +0200 (CEST) <=
      • <Possible follow-ups>
      • Dudley, Mark - Thu, 28 Jun 2001 08:11:35 -0400