[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl whitespace question
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|