Subject: [xsl] XSLT Whitespace ??? From: "Ragan, Mitch" <mitch.ragan@xxxxxxxxxx> Date: Mon, 11 Feb 2002 14:36:28 -0800 |
How do I insert Whitespace? XSLT: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="//Quote"> <xsl:value-of select="@date"/> <xsl:value-of select="."/> </xsl:template> </xsl:stylesheet> Output: 2001-09-15$12.30 2001-10-15$ 14.95 2001-11-15$16.00 Desired Output (with some space between Date and Price): 2001-09-15 $12.30 2001-10-15 $14.95 2001-11-15 $16.00 XML File: <Quotes> <Quote symbol="MCDTA" date="2001-09-15">$12.30</Quote> <Quote symbol="MCDTA" date="2001-10-15">$14.95</Quote> <Quote symbol="MCDTA" date="2001-11-15">$16.00</Quote> </Quotes> Mitch K. Ragan Boeing Commercial Aircraft Group Global Electronic Commerce Senior Systems Analyst Primary: 425-266-3155 Secondary: 425-237-1735 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: newbie question: nested t, Joe Cheng | Thread | RE: [xsl] XSLT Whitespace ???, jparlato |
RE: [xsl] Proper xsl coding for &nb, Julian Reschke | Date | RE: [xsl] Proper xsl coding for &nb, Brad Cox |
Month |