[xsl] Antwort: RE: [xsl] Taking flat XML and parsing into multi level nexted

Subject: [xsl] Antwort: RE: [xsl] Taking flat XML and parsing into multi level nexted
From: christoph.naber@xxxxxxxxxxxxxxxxxxx
Date: Wed, 08 Aug 2007 13:18:19 +0200
mike@xxxxxxxxxxxx schrieb am 08.08.2007 12:51:58:

> I'm afraid doing a 1.0 solution is pure masochism, so I'll leave that to
> others.

I'm not a masochist :)

In order to get rid of the delete-template

<xsl:template match="*" />

in the stylesheet I just sent to the list, replace

<xsl:apply-templates
select="following-sibling::*[preceding-sibling::*[1][self::categoryEnd and
text() = $thisName]]" />

with

<xsl:apply-templates select="following-sibling::*[not(self::categoryEnd)
and preceding-sibling::*[1][self::categoryEnd and text() = $thisName]][1]"
/>

Greetings
Christoph


If you are not the intended addressee, please inform us immediately that you
have received this e-mail by mistake and delete it. We thank you for your
support.

Current Thread