Subject: RE: [xsl] How to put space between two characters? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 06 Apr 2004 10:31:09 -0400 |
But how can I add <!DOCTYPE xsl:stylesheet [ > <!ENTITY nbsp " "> <!--known for HTML output, > not in XML--> > ]> to my stylesheet?
Do I've to make a seperate doctype?
I'm sorry but I'm getting a little confused.
My stylesheet is:
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink">
<?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!--known for HTML output, not in XML--> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink">
<xsl:template match="dataroot">
I want to add space between the images so they're at least a little apart.
<xsl:for-each select="image"> <xsl:if test="position()>1"> </xsl:if> <img src="{@filename}"/> </xsl:for-each>
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18
World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to put space between , puja thakral | Thread | Re: [xsl] How to put space between , David Carlisle |
RE: [xsl] Dynamical work with child, Roland Juergens | Date | RE: [xsl] Dynamical work with child, G. Ken Holman |
Month |