|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: FO White space Handling
Please ignore the previous example. Here's the whitespace question I have. When using the following XML doc and stylesheet from www.w3.org should the space after "...see " in the XML doc be maintained by the FO processor? ------------------------- <doc> ... <chapter><title>Chapter</title> <p>For a description of X see <ref refid="x"/>.</p> </chapter> </doc> -------------------------- ... <xsl:template match="chapter/title"> <fo:block id="{generate-id(.)}"> <xsl:number level="multiple" count="chapter" format="1. "/> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="p"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="ref"> <xsl:text>page </xsl:text> <fo:page-number-citation refid="{generate-id(id(@refid)/title)}"/> </xsl:template> ... ---------------------------------------------- Scott 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
|






