Subject: RE: [xsl] XSLT Whitespace ??? From: "jparlato" <jparlato@xxxxxxxxxxxxxx> Date: Mon, 11 Feb 2002 18:00:26 -0500 |
You could output the result in <table><tr><td>.... etc., then the columns would have alignment. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ragan, Mitch Sent: Monday, February 11, 2002 5:36 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT Whitespace ???, Ragan, Mitch | Thread | Re: [xsl] XSLT Whitespace ???, Joerg Heinicke |
RE: [xsl] How to assign a value and, jparlato | Date | Re: [xsl] Many sets of eyes ..., Thomas B. Passin |
Month |