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]

Don't understand it, ...


Hi everyone!

I am using 

<xsl:template match="*">
  <xsl:choose>
    <xsl:when test="self::name = 'ELEMENTA'" />
    <xsl:when test="self::name = 'ELEMENTB'" />
    <xsl:otherwise>
      <xsl:copy />
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

to make a copy of a XML-File just without the elements 
ELEMENTA and ELEMENTB.
Well, i thought, it worked sometime, but it seems, it 
never worked. What am i doing wrong!?

Greetings,
	Rainer




 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]