[gnome-db] new function do libgda-xslt



Hi.

I would like to add a new function to the xslt extension libgda-xslt

sql:getxmlvalue('resultset','columnname')

it will work almost like getvalue, but the return value will be a xml
node and not a string. For example

...
<sql:query name="personInfo">select id, aboutme from person</sql:query>
...

the result
id  | aboutme
1  | <?xml?><div><p>hi its me</p></div>

then
<xsl:value-of select="sql:getxmlvalue('personInfo','aboutme')"/>

will return the div node as a XMLNODE object.


The question is, in witch branch add this function?? v4?? 3.2?? both??

Pawel Szklarz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]