`enumeration` is the XML tag name we are looking for ([Example](https://github.com/wsdl2phpgenerator/wsdl2phpgenerator/blob/master/tests/fixtures/wsdl/currencyconvertor/CurrencyConvertor.wsdl#L15)).

I get your point but as I see it these strings are contained within the `Xml` namespace which specifically deals with extracting information from the XML documents. In this context this should not be magic. If it is then the developer is probably in over his head.

These strings are even less likely to change than e.g. database table structure as they are controlled by an official standard.

If the XML elements were used elsewhere in the codebase I'd be likely to agree but that is one of the things I have tried to avoid with this refactoring. Both the XML node `$element` attribute and the `xpath()` method are protected.