Hi Mano,

Your code seems perfectly alright, as XSLT code. But note that xdmp:eval (as a 
MarkLogic XQuery extension function) will not be executed. You shouldn't need 
it either..

Kind regards,
Geert

>


drs. G.P.H. (Geert) Josten
Consultant


Daidalos BV
Hoekeindsehof 1-4
2665 JZ Bleiswijk

T +31 (0)10 850 1200
F +31 (0)10 850 1199

mailto:[email protected]
http://www.daidalos.nl/

KvK 27164984

P Please consider the environment before printing this mail.
De informatie - verzonden in of met dit e-mailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.

> From: [email protected]
> [mailto:[email protected]] On Behalf Of mano m
> Sent: woensdag 3 maart 2010 15:33
> To: [email protected]
> Subject: [MarkLogic Dev General] Access Marklogic API in XSLT file
>
> Hi,
>
> Do we able to access the marklogic api in xslt file?
>
> For example : To evaluate the path attribute value in xslt
> file.I have tried the following sample.But it doesnt worked out.
>
> <xsl:template match="/search:response">
> <table>
> <tr>
> <td>
> <a href="Document.html">
> xdmp:eval(<xsl:value-of select="./search:match/@path"/>) </a>
> </td> </tr> </table> </xsl:template> </xsl:stylesheet>
>
>
> Regards,
> Mano
>
>
> ________________________________
>
> The INTERNET now has a personality. YOURS! See your Yahoo!
> Homepage
> <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .
>
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to