[Thoughts wanted] Parts.xml - xml improvement on Part.lst


Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst
#16
I see. You use:

Code:
<PartEntry Partnumber="C:\Program Files (x86)\LDraw\parts\u9234c02.dat" Description="Train Track 12V Tapered Point Right Electric (Branching)" Author="Steffen [Steffen]" Filetype="Shortcut" IsOfficial="True" Keywords="" Category="Train" FilenameWithPath="C:\Program Files (x86)\LDraw\parts\u9234c02.dat" Filename="u9234c02.dat" />

Would you be averse to splitting most of those off to sub-tags. Looking at it I think a logical split would be:
Code:
<PartEntry Filetype="Shortcut" IsOfficial="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>
  <Partnumber>C:\Program Files (x86)\LDraw\parts\u9234c02.dat</Partnumber>
  <FilenameWithPath>C:\Program Files (x86)\LDraw\parts\u9234c02.dat</FilenameWithPath>  <!-- Why duplicated? -->
  <Category>Train</Category>
  [<Keywords></Keywords>]
</PartEntry>

As for another point:

Why <LDRAW-Library> and not <LDraw-Library>?

Tim
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst - by Tim Gould - 2013-02-03, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)