https://github.com/zdavatz/bag_xml_counter
Counting Limitations Texts in BAG XML from http://galinfo.net
https://github.com/zdavatz/bag_xml_counter
Last synced: 9 days ago
JSON representation
Counting Limitations Texts in BAG XML from http://galinfo.net
- Host: GitHub
- URL: https://github.com/zdavatz/bag_xml_counter
- Owner: zdavatz
- License: gpl-3.0
- Created: 2012-04-19T09:44:56.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-19T11:18:44.000Z (about 14 years ago)
- Last Synced: 2026-06-05T00:19:08.259Z (13 days ago)
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE.txt
Awesome Lists containing this project
README
bag_xml_counter
===============
Counting Limitations Texts in BAG XML from http://bag.e-mediat.net/SL2007.Web.External/File.axd?file=XMLPublications.zip
## run like this
$ ruby ./bag_xml_counter.rb XMLPublications.zip
## The output will look like this:
ItCodes.xml
itcodes [de]: 18
itcodes [fr]: 18
Preparations.xml
preparations [de]: 927
preparations [fr]: 927
packs [de]: 23
packs [fr]: 23
itcodes [de]: 727
itcodes [fr]: 727
## Explanation
* preparations [de]: counts the Limitation-Texts in German (same is done for fr).
* packs [de]: counts the Limitations Packs-Tags that contian Limitations. One Tag can have many Packages.
10 Stk
10 pce
10 pce
C
52402027
N
N
16395
* itcodes [de]: counts the LimitationTexts in IT-Codes
Einfache Sedativa/Tranquillantia
Sédatifs-tranquillisants simples
Sédatifs-tranquillisants simples