Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Card Vault Forums > Card Vault
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
kevin at dalkev.demon.co.
Guest
 
Posts: n/a

Old December 14th, 2002, 12:58 AM
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.
  #1 Reply With Quote
jim at timewarpcomics.com
Guest
 
Posts: n/a

Old December 14th, 2002, 08:46 AM
--- 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.
  #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import/ export data (follow up to Card Vault Interchange For rob Card Vault 0 January 14th, 2003 04:16 PM
Import/ export data (follow up to Card Vault Interchange For kevin at dalkev.demon.co. Card Vault 1 December 21st, 2002 06:22 AM


All times are GMT -8. The time now is 05:33 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.