Jeff Hooker wrote:
> 
> Do you see a problem with this? When I try to run it from the command 
> interface it seems to run successfully, but returns nothing. When I try to 
> run "join" from the command interface I get a "cannot execute" message. The 
> Xpath is valid; it returns the expected results when run with the xpathSearch 
> command. The problem is something to do with Get or Join...I think.
> 
> in the XXE:
> 
> <command
> <getexpression="join(//ns:states/ns:state, ' ')"/>

You need to declare the "ns" prefix in the XXE configuration file. The
fact that a prefix is declared in the document being edited is not
sufficient for the vast majority of commands. (xpathSearch is possibly
the sole exception.)

In the above case, you are not forced to use the same prefix as in the
document. That is, you may use something more meaningful than "ns".


> <commandname="pick"parameter="'Choose state:' false %_"/>

> <setvariable="name"expression="%_"plainString="true"/>

This <set variable...> is not useful.


> <commandname="putAttribute"parameter="name '%_'"/>
> </sequence>
> </macro>
> </command>
>  
>  
> In the CSS:
>  
> signal > state:before {
> content: command-button(icon, icon(pop-right), 
> command, "fetchStateNames"
> )
> }


Reply via email to