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

RE: xsl whitespace question

Subject: RE: xsl whitespace question
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 9 Nov 1999 12:23:04 -0700
xsl whitespace
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

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.