Hi,
Once again I am having a very specific problem.
I am doing rather complex xsl transformations which are initiated over
XMLMind.
In these transformations I am accessing a database for retrieving a
specific number.
I would now need to display this number in an alert command. Is there a
way to do this?
My commands look as follows:
<cfg:command name="release">
<cfg:macro>
<cfg:sequence>
<cfg:command name="confirm"
parameter="Wollen sie diesen Artikel als News freigeben?'"/>
<cfg:command name="prompt"
parameter="Redakteur 'Vorname:'"/>
<cfg:set variable="vorname"
expression="%_" plainString="true"/>
<cfg:command name="prompt"
parameter="Redakteur 'Nachname:'"/>
<cfg:set variable="nachname"
expression="%_" plainString="true"/>
<cfg:command name="MultiPick"
parameter="Kategorien true Arbeitsrecht 1
Banken- und Wertpapierrecht 2"/>
<cfg:set variable="kat" expression="%_"
plainString="true"/>
<cfg:get expression="concat('"',
$vorname, '" "',
$nachname, '" "',
$kat, '"')"/>
<cfg:command name="transform2news"
parameter="%_"/>
<!-- I would need to alert the number
retrieved in my XSLTs here -->
<cfg:command name="clean"
parameter="%_"/>
<cfg:command name="alert" parameter="Der
Artikel wurde erfolgreich als News freigegeben!"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
<cfg:command name="transform2news">
<cfg:process showProgress="true">
<cfg:transform
stylesheet="xsl/release_news.xslt" file="%D"
to="G:/XMLMind_V33/temp/%R.xml" cacheStylesheet="true">
<cfg:parameter name="para">%0 %1
%2</cfg:parameter>
</cfg:transform>
</cfg:process>
</cfg:command>
<cfg:command name="clean">
<cfg:process showProgress="false">
<cfg:delete files="G:/XMLMind_V33/temp/%R.xml"/>
</cfg:process>
</cfg:command>
Thanks a lot for your help!
best regards,
Roman