|
From: Devlyn D. <de...@ya...> - 2001-09-19 19:59:04
|
I've been looking into the XML tools you mentioned. Merlot seems to be the best choice because it is free :) My editor of choice for Linux is Vi, and since ViM seems to be a clone of Vi, that would seem to work also. I do agree, however, that a graphical tool for data entry would probably be the best bet. On a similar topic, is there any current thought on how the SSD's will be displayed in the game. Will they look like the paper SSD's? i.e., will there be a graphical representation of the ship that shows all of it's systems and shows which systems have been destroyed? Also, will the charts that are on the SSD's (weapon charts, movement charts, etc.) be displayed? Part of the reason I'm asking is to find out if the end result will have any bearing on how we gather the data and how much data to gather from the SSD's. -Dev --- sfb...@cy... wrote: > > On Mon, 17 Sep 2001, Devlyn Davis wrote: > > > re: XML. I, of course, defer to the opinion of > the > > programmer(s) on the best form for the data to > take. > > Also, I've coded a few web pages in HTML via > notepad > > and such so I don't think XML will be entirely > foreign > > to me. > > > > In terms of the tools you mentioned for > manipulating > > XML, were you referring to tools to help encode > the > > data into XML? Or were you referring to > manipulating > > the XML code after the data has been entered? Or > > maybe both? ;) > > I've attached an example of an SSD done in xml. If > you've got IE 5.0, you can open it with that to get > an expandable tree view of the document. The tools > I was referring to are things like XMLSpy or Merlot > that can take a document type definition and provide > a graphical interface for data entry through dialogs > and the like. Then it outputs the completed xml > document. I figured that a graphical interface > might be easier for people to deal with than a > plain-text file with a ton of tags. I personally > use ViM. I've gotten some scripts for ViM that > complete tags, wrap tags around highlighted text, > etc. > > I personally think that xml would be the best way to > store the SSD's, tables, turn-mode charts, etc. > They are easiliy modifiable and extremely easy to > convert to any other format. We can use them to get > a first iteration up and running. And if we need to > input the data into a database, it's cake to suck in > the xml and populate tables. Depending on the > database, no coding would even be required to do it. > > Aaron > > <?xml version="1.0"?> > <!-- $Id: fedcassd.xml,v 1.1.1.1 2001/09/17 20:02:31 > cyberlizard Exp $ --> > <!-- <!DOCTYPE starship PUBLIC "-//ADB//SSD//EN" > SYSTEM > "http://cyberlizard.org/projects/sbol/DTD/SSD.dtd"> > --> > > <starship> > <race>Federation</race> > <class>CA</class> > <pointValue>125</pointValue> > <sizeClass>3</sizeClass> > <turnMode>D</turnMode> > <crewUnits>43</crewUnits> > <boardingParties>10</boardingParties> > > <systemCosts> > <shieldMin>1</shieldMin> > <shieldFull>1</shieldFull> > <lifeSupport>1</lifeSupport> > </systemCosts> > > <systems> > <sensors> > <sensor id="sensor1">6</sensor> > <sensor id="sensor2">6</sensor> > <sensor id="sensor3">5</sensor> > <sensor id="sensor4">3</sensor> > <sensor id="sensor5">1</sensor> > <sensor id="sensor6">0</sensor> > </sensors> > <scanners> > <scanner id="scanner1">0</scanner> > <scanner id="scanner2">0</scanner> > <scanner id="scanner3">1</scanner> > <scanner id="scanner4">3</scanner> > <scanner id="scanner5">5</scanner> > <scanner id="scanner6">9</scanner> > </scanners> > <damageControl> > <dcLevel id="dc1">4</dcLevel> > <dcLevel id="dc2">4</dcLevel> > <dcLevel id="dc3">2</dcLevel> > <dcLevel id="dc4">2</dcLevel> > <dcLevel id="dc5">2</dcLevel> > <dcLevel id="dc6">0</dcLevel> > </damageControl> > <excessDamage>6</excessDamage> > <probes>5</probes> > <transporters>3</transporters> > <tractors>2</tractors> > <labs>8</labs> > </systems> > > <shuttles> > <shuttle id="shuttle1"/> > <shuttle id="shuttle2"/> > <shuttle id="shuttle3"/> > <shuttle id="shuttle4"/> > </shuttles> > > <shields> > <shield id="shield1">30</shield> > <shield id="shield2">25</shield> > <shield id="shield3">25</shield> > <shield id="shield4">25</shield> > <shield id="shield5">25</shield> > <shield id="shield6">25</shield> > </shields> > > <weapons> > <weapon id="PT-A" class="heavy" type="photon" > fa="FH"/> > <weapon id="PT-B" class="heavy" type="photon" > fa="FH"/> > <weapon id="PT-C" class="heavy" type="photon" > fa="FH"/> > <weapon id="PT-D" class="heavy" type="photon" > fa="FH"/> > <weapon id="P1" class="direct" type="PH-1" > fa="FH" /> > <weapon id="P2" class="direct" type="PH-1" > fa="FH" /> > <weapon id="P3" class="direct" type="PH-1" > fa="LF|L" /> > <weapon id="P4" class="direct" type="PH-1" > fa="LF|L" /> > <weapon id="P5" class="direct" type="PH-1" > fa="RF|R" /> > <weapon id="P6" class="direct" type="PH-1" > fa="RF|R" /> > <weapon id="P7" class="direct" type="PH-1" > fa="AH" /> > <weapon id="P8" class="direct" type="PH-1" > fa="AH" /> > <weapon id="P9" class="direct" type="PH-3" > fa="A" /> > <weapon id="P10" class="direct" type="PH-3" > fa="A" /> > </weapons> > > <engines> > <engine id="rightWarp" loc="R" > type="warp">15</engine> > <engine id="leftWarp" loc="L" > type="warp">15</engine> > <engine id="impulse" loc="C" > type="impulse">4</engine> > <engine id="auxWarp" loc="C" > type="warp">2</engine> > </engines> > > <batteries>3</batteries> > > <controls> > <bridge>2</bridge> > <emergencyBridge>2</emergencyBridge> > <auxControl>2</auxControl> > </controls> > > <hulls> > <hull id="forwardHull" loc="F">12</hull> > <hull id="aftHull" loc="A">4</hull> > </hulls> > > </starship> > __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ |