0
我嘗試使用木偶,但我的經驗如此之低。我需要你的幫助;)Puppet | XML編輯解決方案
我想編輯XML文件(LibreOffice的設置)
...
<item oor:path="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Template']"><prop oor:name="UserPaths" oor:op="fuse"><value></value></prop></item>
...
我需要添加1,2用戶路徑(,裏面)。最終的XML應該是這樣的
...
<item oor:path="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Template']"><prop oor:name="UserPaths" oor:op="fuse"><value><it>file:///path/to/dir1/</it><it>file:///path/to/dir2/</it></value></prop></item>
...
我可以如何使它與木偶?