Subject: RE: [xsl] XSLT and comma's in XML data From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Thu, 17 Feb 2005 10:03:10 +0000 |
"field one","field 2, containing a comma","field 3", "etcetera",", and etcetera (also with a comma)","end"
Regards, Ragulf Pickaxe :-)
----Original Message Follows---- From: "Ian Vaughan" <i.vaughan@xxxxxxxxxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] XSLT and comma's in XML data Date: Thu, 17 Feb 2005 09:31:44 -0000
The data in the XML does not contain quotes it just contains a comma on some fields such as
<xsl:template match="BuildingRecord//* | apd:*/* "> <xsl:if test="position() > 1 ">,</xsl:if> <xsl:value-of select="normalize-space(.)"/> </xsl:template>
And instead of Bank, Street being entered under Address 1 it is split. So Bank goes under Address 1 and Street under Address 2 which corrupts layout of the generated CSV file
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT and comma's in XML d, Ian Vaughan | Thread | Re: [xsl] XSLT and comma's in XML d, David Carlisle |
RE: [xsl] XSLT and comma's in XML d, Pawson, David | Date | RE: [xsl] equivalent for 'while', Andrew Welch |
Month |