[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Antwort: RE: Taking flat XML and parsing into mu

Subject: Antwort: RE: Taking flat XML and parsing into multi level nexted
From: christoph.naber@xxxxxxxxxxxxxxxxxxx
Date: Wed, 08 Aug 2007 13:18:19 +0200
 Antwort: RE:  Taking flat XML and parsing into mu
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.