Hi Hussain,
thanks for the mail. I managed to come up with a solution myself in
the interim as my deadline was yesterday. It was a bit tough to
understand the <match>, <set> and context and expression side of the
macro commands, but in the end I got it. (Any reason 'context' isn't
called 'select' in things such as '<match context='...' />'?)
I also recomended XmlMind to our people here at work (NLA), so I think
we just ordered a 5-user license. If all goes well, there might be
more over time as I'd like to integrate XmlMind into our
roll-it-yourself CMS.
...
> <command name="MyInsertInto">
> <macro trace="true">
> <choice>
> <command name="insert" parameter="into" />
> <sequence>
> <command name="selectNode" parameter="lastChild" />
> <command name="insert" parameter="after" />
> </sequence>
> </choice>
> </macro>
> </command>
Thanks for that; things became a bit clearer once I understood how
'insert' and 'selectNode' worked together. (In fact, the DocBook move
list item up/down examples were the most valuable in that process)
Thanks for all of that. One last question;
* Is there any way to style up the 'select' boxes? (The red borders
around currently selected item)
Kind regards,
Alexander
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________