Subject: Re: [xsl] Normalizing Whitespace When Not Using "xsl:value-of" From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 21 Feb 2013 19:08:22 +0100 |
Is it possible to remove whitespace when inserting values without using xsl:value-of?
This is my template. It outputs HTML meta tags, but I can't figure out how to normalize the space when not using xsl:value-of. I'm using xslt 1.0.
<xsl:template name="metadata"> <meta http-equiv="Content-Type" name="dc.title" content="{eadheader/filedesc/titlestmt/titleproper}"/>
<meta http-equiv="Content-Type" name="dc.title" content="{normalize-space(eadheader/filedesc/titlestmt/titleproper)}"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Normalizing Whitespace When N, Nathan Tallman | Thread | Re: [xsl] Normalizing Whitespace Wh, Nathan Tallman |
[xsl] Normalizing Whitespace When N, Nathan Tallman | Date | Re: [xsl] Normalizing Whitespace Wh, Nathan Tallman |
Month |