Re: [xsl] multiple transformations (pipelining) in one stylesheet

Subject: Re: [xsl] multiple transformations (pipelining) in one stylesheet
From: Oliver Lietz <list@xxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2007 20:00:30 +0200
Am Freitag, 19. Oktober 2007 schrieb Michael Kay:
> > I tried to adapt your model (used your mode names to see if I
> > understand it) but there must be an error, I don't get any output.
> >
> > <xsl:stylesheet version="2.0"
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> >   <xsl:output method="xml" encoding="UTF-8"
> > omit-xml-declaration="yes"/>
> >
> >   <xsl:template match="@*|node()" mode="phase-1">
> >     <xsl:copy>
> >       <xsl:apply-templates select="@*|node()"/>
>
> You need to use mode="phase-1" here (or mode="#current")

This looks better but the markup gets lost (from the source xml file in 
phase-1 and the html in phase-2). Any ideas?

O.

Current Thread