[oXygen-user] [ann] oXygen version 16 is available

Andreas Wagner Andreas.Wagner at em.uni-frankfurt.de
Thu May 22 08:47:04 CDT 2014


Hi all,

On 2014-05-22, http://www.oxygenxml.com/whatisnew16.0.html said:
> Editor Variable for Evaluating XPath 3.0 Expressions
>
> The xpath_eval(expression) editor variable allows you to evaluate 
> XPath 3.0 expressions either statically, in non-XML contexts, or 
> dynamically, relative to the current element, in XML contexts. As an 
> example, this gives you access to all standard XPath functions like 
> replace(), substring() or upper-case() when you compute the output 
> file name of a transformation.

Is this supposed to work in author actions as well? I have tried to 
define an action using 

ro.sync.ecss.extensions.commons.operations.ShowElementDocumentationOperation 

with the URL pattern parameter:

http://www.google.com/search?tbm=bks&q=${xpath_eval('ancestor-or-self::*:TEI/*:teiHeader/*:fileDesc/*:titleStmt/*:title[type="main"]')}

but the ${xpath_eval()} is just passed as-is to google.

Thanks for any insight,

Andreas


-- 
Dr. Andreas Wagner
Project "The School of Salamanca"
Academy of Sciences and Literature, Mainz
and Institute of Philosophy
Goethe University Frankfurt
http://salamanca.adwmainz.de

Grüneburgplatz 1 (Pf 116, R. 2.455)
60629 Frankfurt am Main
Tel. +49 (0)69/798-32774
Fax  +49 (0)69/798-32794
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20140522/cc2c89fa/attachment.bin 


More information about the oXygen-user mailing list