Bonjour Hussein,
I think that answer my question, I'll test it.
-- 
Cordialement,
 Marc                            Courriel : Marc.Liste at free.fr
-----------------------------------------
Le mercredi 24 janvier 2007 ? 11:30:51, vous ?criviez :

HS> Marc wrote:
>> I'm beginning to do macros with xxe.
>> The first one that I try to do is perhaps not really simple, but ...
>> I want to open when the user insert a node a list of node/attribute from an 
>> other file.
>> It's something like in HTML if when the user insert a <A> I want to propose 
>> to choice the file and with <A name="??"> he wants.
>> I find how to select a file with "selectFile", opens it with "XXE.open", how 
>> to propose a choice with "pick", but I don't find how to run an Xpath on an 
>> other file.
>> I'm not sure it's possible without to do a Java classe, is it?

HS> Not sure to understand.

HS> A macro is executed in the context of currently edited document and will
HS> not switch to the document opened using XXE.open.

HS> However you may try to evaluate this kind of XPath expression in the
HS> context of currently edited document:

HS> document(URL_of_doc_to_be_opened)/XXX/YYY.

HS> The document() is a standard XSLT function implemented by XXE.
HS> See http://www.w3.org/TR/xslt#document


Reply via email to