von bingo » So, 13.09.2009 11:25
Gemäss
http://wiki.services.openoffice.org/wik ... Extensions
Merging is caused by the "fuse" keyword that defines the operation "add me to the container or create a new container if it doesn't exist".
soll die Extension einen "Container" erstellen wenn es diesen nicht gibt. Macht es mit diesem Code aber nicht:
Code: Alles auswählen
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:package="org.openoffice.Office"
oor:name="Paths" xmlns:install="http://openoffice.org/2004/installation"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="Paths">
<node oor:name="Test" oor:op="fuse">
<node oor:name="InternalPaths">
<node oor:name="%origin%/test" oor:op="fuse"/>
</node>
</node>
</node>
</oor:component-data>
Gemäss http://wiki.services.openoffice.org/wiki/Non-code_extensions#Templates_Extensions
[quote]Merging is caused by the "fuse" keyword that defines the operation "add me to the container or create a new container if it doesn't exist".[/quote]
soll die Extension einen "Container" erstellen wenn es diesen nicht gibt. Macht es mit diesem Code aber nicht:
[code]<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:package="org.openoffice.Office"
oor:name="Paths" xmlns:install="http://openoffice.org/2004/installation"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="Paths">
<node oor:name="Test" oor:op="fuse">
<node oor:name="InternalPaths">
<node oor:name="%origin%/test" oor:op="fuse"/>
</node>
</node>
</node>
</oor:component-data>[/code]