strip off any filename components from @xml:base before using