Hy,

from a file (created with xsl) with
"NAME"
"<?xml version='1.0'><para>NAME<xref='xycv'/></para>"
"NextName"
etc.
..

I would like to select one item with pick and insert
the Name and the xref in the DocBook:

<cfg:command name="pic.adr">
<cfg:macro>
<cfg:sequence>
<cfg:command name="readtrans"/>
<cfg:command name="pick" parameter="Select true %_"/>
<cfg:command name="makeparaxref" parameter="%_"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>

<cfg:command name="makeparaxref">
<cfg:macro>
<cfg:sequence>
<cfg:command name="paste" parameter="after[implicitElement] %0"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>

<cfg:command name="readtrans">
<cfg:process>
<cfg:read
file="/tmp/transfile.xml"
/>
</cfg:process>
</cfg:command>

I have tried a lot of variation with " and  ' and combination
to escape ". But nothing works.


Any hints?



Reply via email to