Subject: RE: xsl whitespace question From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Tue, 9 Nov 1999 12:23:04 -0700 |
Franz Figl wrote: > I want the following: > (1) Absatz 1...... and so on on the HTML side. > > My xml is tagged inside an <Absatz> group: > <Absatz> > <Absatz.AZ>(1)</Absatz.AZ> > <Absatz.Satz>Absatz 1......</Absatz.Satz> > </Absatz> > > I cannot bring the things together with a space between the > (1)_Absatz... > > Could You give me an example please? > > <xsl:template match="Absatz"> > <fo:block font-family="Times" font-size="9pt" color="black"> > <xsl:apply-templates match="Absatz.AZ"/> > <xsl:text> </xsl:text> > <xsl:apply-templates match="Absatz.Satz"/> > </fo:block> > </xsl:template> > > does not work. Why? "match" is not a valid attribute on xsl:apply-templates. Did you mean to use "select"? What XSL processor are you using? XT handles it just fine, if you put it in this stylesheet element: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> and change those apply-templates instructions. -Mike XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: looking for xt:document-string(, Jon Smirl | Thread | Re: xsl whitespace question, Franz Figl |
RE: IE5-- any use?, Mark Birbeck | Date | Re: xsl whitespace question, Franz Figl |
Month |