Subject: [xsl] How to prevent spaces in the output From: Mansour <mansour77@xxxxxxxxx> Date: Thu, 24 Jan 2008 16:22:35 -0400 |
<xsl:template match="something" > <xsl:for-each select="@*"> <formatting:ATTRIBUTENAME> <xsl:value-of select="concat(' ',name(.))" /> </formatting:ATTRIBUTENAME> = <formatting:ATTRIBUTEVALUE> <xsl:value-of select="concat('"',.,'"')" /> </formatting:ATTRIBUTEVALUE> </xsl:for-each> </xsl:template>
the output is : <formatting:ATTRIBUTENAME> attri </formatting:ATTRIBUTENAME> = <formatting:ATTRIBUTEVALUE> "value" </formatting:ATTRIBUTEVALUE>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to Create Sequence of, Geert Bormans | Thread | Re: [xsl] How to prevent spaces in , Abel Braaksma |
RE: [xsl] matching complex attribut, Scott Trenda | Date | Re: [xsl] How to prevent spaces in , Abel Braaksma |
Month |