[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT Whitespace ???
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
|
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
|