Hi Mike,
thank you. It helped.
Anyway, still got some problems. I'd like to index 4 metadata for each
row, each metadata is the value of a db column.
I modified the <head> section of the XSLT this way:
<head>
<title><xsl:value-of select="database/table/table_rec/TitleColumn"/
></title>
<META NAME="Column1" />
<xsl:attribute name="value">
<xsl:value-of select="database/table/table_rec/Column1"/>
</xsl:attribute>
<META NAME="Column2" />
<xsl:attribute name="value">
<xsl:value-of select="database/table/table_rec/Column2"/>
</xsl:attribute>
<META NAME="Column3" />
<xsl:attribute name="value">
<xsl:value-of select="database/table/table_rec/Column3"/>
</xsl:attribute>
<META NAME="Column4" />
<xsl:attribute name="value">
<xsl:value-of select="database/table/table_rec/Column4"/>
</xsl:attribute>
</head>
I read something on the web about how to transform html <meta> tags
this way. But, when I sync my db, in the log got this error:
Recoverable error
at xsl:attribute on line -1 of :
Cannot write an attribute node when no element start tag is open
this is not repeated lots of times (about 20 on 31000 rows). I'm
guessing if I'm doing something wrong in the XSLT sheet. Can someone
help?
Thank you.