Difference between revisions of "QBML"

From QBWiki
Jump to navigation Jump to search
fix>QBWikiBot
 
 
Line 15: Line 15:
 
* <part value=#> - This tag encloses the bonus part and the value attribute indicates how much the part is worth
 
* <part value=#> - This tag encloses the bonus part and the value attribute indicates how much the part is worth
  
[[Category: Quizbowl on the internets]]
+
[[Category:Internet]]
 
[[Category:Original QBWiki Page]]
 
[[Category:Original QBWiki Page]]

Latest revision as of 13:31, 25 July 2019

QBML is a tentative XML markup for creating easily-parsed packets. Although there is currently no consensus on what QBML should be, some progress towards a unified XML markup for quizbowl has been made by Jerry Vinokurov in the course of his development of QBDB, a searchable online packet database.

The Tags

The set of QBML tags used by Jerry is as follows:

  • <packet author="author" year=# tournament="Tournament Name"> - Encloses the entire packet
  • <tossups> - Encloses the tossups
  • <tossup> - The tag containing the tossup text
  • <answer> - The tag containing the answer text for both tossups and answer parts
  • <req> - This tag encloses the required part of the answer
  • <bonuses> - Encloses the bonuses
  • <bonus> - This tag encloses the entire bonus, but does not contain any text
  • <leadin> - Encloses the leadin
  • <part value=#> - This tag encloses the bonus part and the value attribute indicates how much the part is worth