Hi,
I tried to write a macro which should fill a dialog box with values of
elements of the same name like the implicit selected element but failed
miserably!
<cfg:command name="pick-this">
<cfg:macro>
<cfg:sequence>
<cfg:get
context="//*[local-name(.)=local-name($implicitElement)]
expression="."/>
<cfg:command name="pick" parameter="Choose false %_"/>
<cfg:command name="alert" parameter="%_"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
Other promising get-constructs, which didn't work either:
<cfg:get context="//$implicitNode" expression="."/>
<cfg:get context="//$implicitElement" expression="*"/>
<cfg:get context="//{$implicitElement}" expression="."/>
...
Is it possible at all?
Similarily, is it possible to add a css-rule for an element with a
combo-box filled with unique values which are already used for this
element, somehow with xpath/label ???
Example:
<test>
<x>a</x>
<x>d</x>
<x>b</x>
<x>b</x>
</test>
In element x I would like to have a combo-box with [a b d] as values.
Cheers
Stephan
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************