Dear Mr Shafie, Do you know the right 2 command lines to set a variable and afterwards use the variable in the following macro which should open a cross referenced document (attribute srcfile) and navigate to the Element containing the id (attribute Id)? I marked the two lines that need to be finished in red.
The manual about the variables does not lead me to the right answer. Kindest regards! Thonas <command name="gre.editPage"> <macro> <sequence> <test expression="$implicitElement/@Idref"/> <choice> <sequence> <test expression="$implicitElement/@srcfile"/> <get context="$implicitElement/@srcfile" expression="resolve-uri(.)"/> < set ...?/> <command name="XXE.edit" parameter="%_"/> <command name="selectById" parameter="...???"/> </sequence> <sequence> <command name="selectById" parameter="id"/> </sequence> </choice> </sequence> </macro> </command> -- Thomas Dumm Redaktor f?r Mathematik und Physik, Leiter eMedien Compendio Bildungsmedien Hotzestrasse 33 Postfach 8042 Z?rich Tel. 044 368 21 45 Fax 044 368 21 70 www.compendio.ch <http://www.compendio.ch/> <http://www.bildungsmedien-nach-mass.ch/> www.bildungsmedien-nach-mass.ch www.eduscout.ch <http://www.eduscout.ch/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080812/8add73d9/attachment.htm

