XSLTools

examples/Common/Configurator/Resources/config_database.xml

265:59fdbcae2113
2005-10-03 paulb [project @ 2005-10-03 19:11:12 by paulb] Switched to using input/initialiser stylesheets, restricting additional transformations to those filtering the choices in the output.
     1 <?xml version="1.0"?>     2 <database>     3   <base-system>     4     <base-system-enum value="(Not selected)" price="0"/>     5     <base-system-enum value="Shuttle SB61G2V3" price="2174" cpu-socket="478" interface="SATA-150"/>     6     <base-system-enum value="Shuttle SS56GV3" price="2000" cpu-socket="478" interface="ATA-133"/>     7     <base-system-enum value="Shuttle ST62K" price="2000" cpu-socket="478" interface="ATA-100"/>     8     <base-system-enum value="Soltek Qbic EQ3901" price="2500" cpu-socket="939" interface="SATA-150"/>     9   </base-system>    10   <cpu>    11     <cpu-enum value="(Not selected)" price="0"/>    12     <cpu-enum value="Pentium 4 3.0 GHz" price="1650" cpu-socket="478"/>    13     <cpu-enum value="Athlon 3000+" price="1500" cpu-socket="A"/>    14     <cpu-enum value="Athlon 64 3500+" price="2300" cpu-socket="939"/>    15   </cpu>    16   <memory-unit>    17     <memory-unit-enum value="(Not selected)" price="0"/>    18     <memory-unit-enum value="PC3200 DDR RAM 256MB" price="500"/>    19     <memory-unit-enum value="PC3200 DDR RAM 512MB" price="800"/>    20   </memory-unit>    21   <storage-unit>    22     <storage-unit-enum value="(Not selected)" price="0"/>    23     <storage-unit-enum value="CD-ROM 48x" price="200"/>    24     <storage-unit-enum value="CD-RW 48x/24x/48x" price="400"/>    25     <storage-unit-enum value="DVD+-RW 8x" price="750"/>    26   </storage-unit>    27   <hard-disk>    28     <hard-disk-enum value="(Not selected)" price="0"/>    29     <hard-disk-enum value="SATA-150 80GB" price="700" interface="SATA-150"/>    30     <hard-disk-enum value="SATA-150 160GB" price="1200" interface="SATA-150"/>    31     <hard-disk-enum value="ATA-133 80GB" price="600" interface="ATA-133"/>    32     <hard-disk-enum value="ATA-133 160GB" price="1000" interface="ATA-133"/>    33     <hard-disk-enum value="ATA-100 80GB" price="500" interface="ATA-100"/>    34     <hard-disk-enum value="ATA-100 160GB" price="800" interface="ATA-100"/>    35   </hard-disk>    36   <keyboard>    37     <keyboard-enum value="(Not selected)" price="0"/>    38   </keyboard>    39   <mouse>    40     <mouse-enum value="(Not selected)" price="0"/>    41   </mouse>    42   <screen>    43     <screen-enum value="(Not selected)" price="0"/>    44   </screen>    45   <accessories>    46     <accessory-enum value="(Not selected)" price="0"/>    47     <accessory-enum value="DVD+R 10 pack" price="100" storage="DVD+-RW 8x"/>    48     <accessory-enum value="DVD+RW 10 pack" price="200" storage="DVD+-RW 8x"/>    49     <accessory-enum value="CD-RW 10 pack" price="50" storage="CD-RW 48x/24x/48x"/>    50   </accessories>    51 </database>