I've got as far as getting the correct info but can't output it to another xml.
Here's what I'm using to get the contents (skipping the first line of each) -
Code:
@echo off
FOR /F "skip=1 delims=" %%A IN (plugin.video.iplayer\addon.xml skin.foundation\addon.xml skin.xeebo\addon.xml xbmc.repo.hitcher\addon.xml) DO ECHO %%A
pauseThis results in -
Code:
<addon id="plugin.video.iplayer"
name="iPlayer"
version="2.4.13"
provider-name="BuZz, Dink">
<requires>
<import addon="xbmc.python" version="1.0"/>
</requires>
<extension point="xbmc.python.pluginsource"
library="default.py">
<provides>video audio</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary>Watch TV and listen to radio from the BBC's iPlayer website</summary>
<description>This XBMC plugin enables (UK only) the playing of TV and Radio catchup content
from the BBC IPlayer website. Live radio and TV feeds are also supported.</description>
</extension>
</addon>
<addon
id="skin.foundation"
version="2.0.1"
name="Foundation"
provider-name="Hitcher">
<requires>
<import addon="xbmc.gui" version="3.00"/>
</requires>
<extension
point="xbmc.gui.skin"
defaultthemename="textures.xbt"
debugging="false"
effectslowdown="0.75">
<res width="1280" height="720" aspect="16:9" default="true" folder="720p" />
<res width="1920" height="1080" aspect="16:9" default="true" folder="1080i" />
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary>Created by Hitcher / Textures courtesy of Jezz_X</summary>
<description>'Foundation' is a basic, fully functional XBMC skin designed to be used
as a base for creating a new skin; or simply as a learning tool for the beginner.</description>
</extension>
</addon>
<addon
id="skin.xeebo"
version="4.0.0"
name="XeeBo"
provider-name="Hitcher">
<requires>
<import addon="xbmc.gui" version="3.00"/>
<import addon="script.playalbum" version="0.0.3"/>
<import addon="script.watchlist" version="0.0.4"/>
<import addon="script.favourites" version="3.1.0"/>
<import addon="script.randomitems" version="3.0.2"/>
<import addon="script.globalsearch" version="0.1.5"/>
<import addon="script.artwork.downloader" version="1.0.3"/>
<import addon="script.tv.show.next.aired" version="3.0.2"/>
</requires>
<extension
point="xbmc.gui.skin"
defaultthemename="Textures.xbt"
effectslowdown="1.00"
debugging="false">
<res width="1280" height="720" aspect="16:9" default="true" folder="720p" />
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<minversion app="xbmc">28000</minversion>
<summary>Boxee style skin</summary>
<description>Designed for ease of use with remote, mouse or touchscreen.[CR][CR]Supp
orts -[CR][CR]Cinema Experience / Extra Artwork / Global Search / PVR / TV Next Aired / TV Tunes / W
atchlist / Weather Plus</description>
<disclaimer>Originally coded by Wir3d/Jezz_X</disclaimer>
</extension>
</addon>
<addon
id="xbmc.repo.hitcher"
name="Hitcher's repository"
version="2.0.0"
provider-name="Hitcher">
<extension point="xbmc.addon.repository"
name="Hitcher's Add-on Repository">
<info>https://bitbucket.org/Hitcher/xbmc.repo.hitcher/raw/57094dbd903a/addons.xml</i
nfo>
<checksum>https://bitbucket.org/Hitcher/xbmc.repo.hitcher/raw/57094dbd903a/addons.md
5</checksum>
<datadir zip="true">https://bitbucket.org/Hitcher/xbmc.repo.hitcher/src/585aad574523
</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Hitcher's Add-ons for XBMC</summary>
<description>Download and install Add-ons for XBMC.</description>
<disclaimer>If it breaks, you get to keep the pieces</disclaimer>
<platform>all</platform>
</extension>
</addon>
Press any key to continue . . .If I make this a variable and try to output it to the addons.xml it doesn't work.
Any help appreciated.
Thanks.

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help