[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Normalizing Whitespace When Not Using "xsl:value-o
Nathan Tallman wrote:
Is it possible to remove whitespace when inserting values without using xsl:value-of? <xsl:template name="metadata"> <meta http-equiv="Content-Type" name="dc.title" content="{eadheader/filedesc/titlestmt/titleproper}"/> Well you can use any XPath expression in the attribute value template so <meta http-equiv="Content-Type" name="dc.title" content="{normalize-space(eadheader/filedesc/titlestmt/titleproper)}"/> might be all you are looking for.
|
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
|