Welcome! Log In Create A New Profile

Advanced
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst
February 03, 2013 04:43PM
Version III

I've taken into account Mike's file format, but changed it to improve (to me at least) human readability. I'd be really interested to hear thoughts about my style vs Mike's for readability.

<PartEntry    Filetype="Shortcut"    IsOfficial="True"    [IsAlias="True"]
    [IsPhysicalColour = "True"]    > <!-- These describe the attributes of the entry -->
   <!-- Below is the data for the entry -->
  <Filename>u9234c02.dat</Filename>
  <Description>Train Track 12V Tapered Point Right Electric (Branching)</Description>
  <Author>Steffen [Steffen]</Author>
  <FilenameWithPath>C:\Program Files (x86)\LDraw\parts\u9234c02.dat</FilenameWithPath>
  <Category>Train</Category>
  [<Keywords></Keywords>]
  [<Help></Help>]
  [<History>2012-03-30 [PTadmin] Official Update 2012-01</History>]
  [<BFC>CERTIFY CW</BFC>]
  [<Comments></Comments>]
</PartEntry>

Here the optional components only show if they have data. Similarly IsAlias and IsPhysicalColour will only show when true.

For my copy of the library the parts.xml file is 3.5Mb or one MP3 song.

Tim

Edited 2 time(s). Last edit at 2013-02-03 04:45PM by Tim Gould.
SubjectAuthorViewsPosted
[Thoughts wanted] Parts.xml - xml improvement on Part.lst Attachments Tim Gould604February 02, 2013 03:09PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould260February 02, 2013 03:30PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Michael Heidemann254February 02, 2013 03:50PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould275February 02, 2013 04:10PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Allen Smith296February 02, 2013 04:39PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould296February 02, 2013 04:49PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Attachments Allen Smith261February 04, 2013 09:14AM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould307February 04, 2013 01:44PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Steffen305February 02, 2013 05:52PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould292February 02, 2013 07:58PM
[Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Attachments Tim Gould311February 02, 2013 09:52PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann284February 03, 2013 12:46AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould305February 03, 2013 04:02AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould281February 03, 2013 04:08AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann322February 03, 2013 04:29AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould274February 03, 2013 01:11PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Attachments Michael Heidemann261February 03, 2013 02:58PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould263February 03, 2013 03:07PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann243February 04, 2013 09:06AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Travis Cobbs272February 03, 2013 06:06PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould270February 03, 2013 06:10PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould309February 03, 2013 06:24PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Steffen267February 06, 2013 04:37PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould267February 06, 2013 04:44PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann273February 07, 2013 08:42AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Roland Melkert253February 07, 2013 10:24AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould255February 07, 2013 12:55PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould267February 03, 2013 04:43PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould310February 03, 2013 06:06PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Travis Cobbs319February 03, 2013 06:17PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould331February 03, 2013 06:26PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann289February 04, 2013 09:17AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould335February 04, 2013 01:41PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann325February 04, 2013 02:02PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould316February 04, 2013 02:32PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Roland Melkert333February 07, 2013 10:42AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould306February 07, 2013 01:12PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Steffen290February 06, 2013 04:49PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould288February 06, 2013 05:47PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann258February 07, 2013 09:13AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould254February 07, 2013 01:07PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann242February 07, 2013 01:38PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould280February 07, 2013 01:53PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann363February 07, 2013 02:17PM



Sorry, only registered users may post in this forum.

Click here to login