Subject: Re: [xsl] Added whitespace From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 24 Apr 2004 15:49:43 -0400 |
I am using libxml2 as my processor. It might be good to have an alternative one for experiments.
My xslt files are too big to add to the list but a few templates are:
<xsl:template match="text()"> <xsl:if test="local-name(..)!='givenname'"> <xsl:text> </xsl:text> </xsl:if> <xsl:value-of select="."/> </xsl:template>
sitten paikka <place>Bromarf</place>, jonka perdssd pilkku
The result in html is
ja sitten paikka Bromarf , jonka perdssd pilkku
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
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 Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Added whitespace, Kaarle Kaila | Thread | RE: [xsl] Added whitespace, Andreas L. Delmelle |
Re: [xsl] Added whitespace, Kaarle Kaila | Date | Re: [xsl] problem with d-o-e in att, Julian Reschke |
Month |