Nic Miloslav
Example 57
***
Function generate-id generates id conforming to XML spec.
Stylesheet 2
uses this function to add id to all elements in source XML.