• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

CV Interchange Formats

  • Thread starter Thread starter kevin at dalkev.demon.co.
  • Start date Start date
K

kevin at dalkev.demon.co.

Guest
Does anybody know where I can find any documentation on
the "Interchange Formats". They are mentioned in the documentation to
the authoring kit.

I have a large database of my MTG inventory - I am hoping that I can
find some way of transferring that data (the thought of clicking in
1,000s of inventory figures into CV is a little daunting!). I can
develop a utility that will convert it to an XML file - I just need
to understand the formats.
 
--- In cardvault@yahoogroups.com, "dalkev1964 <kevin@d...>"
<kevin@d...> wrote:
> Does anybody know where I can find any documentation on
> the "Interchange Formats". They are mentioned in the documentation
to
> the authoring kit.
XML is the interchange format. look at the DTDs in the authoring kit.

> I can
> develop a utility that will convert it to an XML file - I just need
> to understand the formats.

this is the format for an xml inventory file.
---------------cut here-----------------------

<?xml version="1.0"?>
<document signature="Card Vault Inventory">

<info build="25" folder="magic" game="Magic The Gathering" major="1"
minor="2" owned="yes" excess="yes" acquire="yes" pricing="auto"
filter="no" currency="USD"/>

<entry id="te001" name="Abandon Hope" editionid="TE" edition="Tempest"
style="normal" language="en" artwork="1" exc_terms="default"
acq_terms="default">

<value quality="unknown" owned="3" excess="1" acquire="2" buy="0"
sell="0"/>

</entry>

<entry id="4e001" name="Abomination" editionid="4E" edition="4th
Edition" style="normal" language="en" artwork="1" exc_terms="default"
acq_terms="sale">

<value quality="unknown" owned="2" excess="0" acquire="3" buy="0"
sell="0"/>

</entry>

<entry id="le002" name="Abyss, The" editionid="LE" edition="Legends"
style="normal" language="en" artwork="1" exc_terms="default"
acq_terms="trade">

<value quality="unknown" owned="3" excess="3" acquire="0" buy="0"
sell="0"/>

</entry>

</document>

---------------cut here-----------------------

I used three different cards in this example with different criteria.
You will need to look up the card id for each card (in the .dat files)
for proper output and possibly correct any card name inconsistencies
in your file. The blank lines are not required, I spaced it out for
clarity.
 
Back
Top