From some time you can find interesting news under tarczyn’s bottles cup. There are information about the biggest, the tallest or the smallest things(and much more) in the world. I collect a few cups and use them to practise XML and XLS 🙂

So I generate XML document to store these information. XML is here.
There is a root element called napisy containing napis elements. Each element have a no attribute describing numer of sentence and a tekst element with sentence.

Having XML data file, I started to generate XSL file to present data in some nice style.
To enumerate through elements I use for-each and value-of statements. Full XSL file is here.

Having complete XSL file I use it in XML file adding line:

Having this all together we have a final result (ofc there is an also CSS style :-)).
SEE HERE

Additional note: I try to get all sentences by this may be impossible. I you have some Tarczyn’s cup with sentence which I don’t possess, feel free to send me information about number and the sentence :-). Write to my e-mail address.