[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

Subject: RE: Malformed (??) XML and XML 2 SQL XSLT transformation
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Fri, 14 Nov 2003 16:51:06 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.