1
clrmame Discussion / Re: New Scanner (WIP)
« on: Yesterday at 09:23 »
When you talk about "labeled preliminary" are you refering to driver's status,cocktail or emulation attribute? Or all of them?
<!ATTLIST driver status (good|imperfect|preliminary) #REQUIRED>
<!ATTLIST driver emulation (good|imperfect|preliminary) #REQUIRED>
<!ATTLIST driver cocktail (good|imperfect|preliminary) #IMPLIED>
one possible xpath for the emulation attribute would be
xp://machine[driver[not(@emulation='preliminary')]]
or if you want emulation and status attributes being something else than preliminary, you can use
xp://machine[driver[not(@emulation='preliminary') and not(@status='preliminary')]]
the dependencies (needed parent/bios/devices) get added internally
<!ATTLIST driver status (good|imperfect|preliminary) #REQUIRED>
<!ATTLIST driver emulation (good|imperfect|preliminary) #REQUIRED>
<!ATTLIST driver cocktail (good|imperfect|preliminary) #IMPLIED>
one possible xpath for the emulation attribute would be
xp://machine[driver[not(@emulation='preliminary')]]
or if you want emulation and status attributes being something else than preliminary, you can use
xp://machine[driver[not(@emulation='preliminary') and not(@status='preliminary')]]
the dependencies (needed parent/bios/devices) get added internally