cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Re: XML and SQL Taglib: insert
Date Fri, 13 Oct 2000 15:49:48 GMT
This may be a silly question, but are $datum and the others xsl 
variables?

if so you want something like:

insert into ... values( 
	'<xsl:value-of select="$datum"/>', 
	'<xsl:value-of select="$sport1"/>', 
	'<xsl:value-of select="$sport2"/>',
	'<xsl:value-of select="$extra"/>'
);	

If there not, can you explain a little more.

-matt

On Fri, Oct 13, 2000 at 03:42:39PM +0200, Martin Bouman wrote:
> Dear Sir / Madam,
> 
> Recently we tried to put data from a XML-file in a MySQL Database. We could
> no get it to work.
> This is the line we used:
> 
> insert into rooster (datum, sport1, sport2, extra) values ($datum, $sport1,
> $sport2, $extra)
> 
> $datum, $sport1, $sport2 and $extra are variables with values.
> The problem seems to be the values-part.
> Can you tell us what the correct line should be?
> 
> Martin & Richard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

Mime
View raw message