|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Malformed (??) XML and XML 2 SQL XSLT transformati
> -----Original Message----- > From: Guillaume LECERF > > Excuse me for being lame, but I'm rather new to XSL and I got an > error with : No worries, and certainly no reason to apologize ;) (don't we all get a bit lame from time to time?) > Root template > <xsl:template match="/"><xsl:apply-templates ended on the following line > mode="columns"/><xsl:apply-templates mode="values"/></xsl:template> Customer/Template/Fields template > <xsl:template match="Customer/Template/Fields"> > <xsl:for-each select="item[position() mod group-size = 1]"> should be ended here, before starting Orders template (column mode) <snip/> Orders Template (value mode) > <xsl:template match="Orders" mode="values"> > values(<xsl:for-each select="Customer/Template/Fields">"<xsl:value-of > select="FieldValue" />"<xsl:if test="position() != ended on the following line > last()">,</xsl:if></xsl:for-each>);</xsl:template> and the two lines below should be deleted > </xsl:for-each> > </xsl:template> > Cheerz, Andreas 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
|

Cart








