2 Mar 2004 14:14
xinclude in macro
thye <ulrich.thye <at> t-online.de>
2004-03-02 13:14:53 GMT
2004-03-02 13:14:53 GMT
Because the IDs mostly not nice to read
i would like to use a makro.
At a first step i write:
<cfg:command name="xrg">
<cfg:macro>
<cfg:sequence>
<cfg:command name="selectNode" parameter="ancestorOrSelf[implicitElement]
{http://www.thye.org/2003/xsd/PMV01} Adress"/>
<cfg:command name="insert" parameter="after[implicitElement] {http://www.w3.org/2001/XInclude}include"/>
<cfg:command name="addAttribute" parameter="href '../../../Databases/Adressen1.xml#S_Lebenhilfe1"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
but that don't work.
How can I get the same result like the Menu Document Reference
in XXE with an explicit ref?
Regards,
Ulrich Thye
--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
(Continue reading)
RSS Feed