declare function local:print_book($bookmark){
{ if ($bookmark/title) then $bookmark/title/text() else string($bookmark/@url) }
{ if ($bookmark/description) then $bookmark/description/text() else () }