Napisz arkusz XSLT 1.0 przekształcający dokumenty o podanym poniżej schemacie na stronę XHTML zawierająca:
Dla każdego statusu należy ponadto wyświetlić ile jest wpisów o danym statusie oraz ile jest wpisów z niepustym elementem ”phone”.
Lista powinna zostać wyświetlona 3 razy, za każdym razem utwórz ja inaczej:
start = address_book address_book = element address_book { person* } person = element person { firstname, surname, address, phone, email, status } firstname = element firstname { text } surname = element surname { text } address = element address { text } phone = element phone { text } email = element email { text } status = attribute status { "family" | "friend" | "business" }