Guest
Posts: n/a
|
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 |
Guest
Posts: n/a
|
--- 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 |
|
|
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 |