RE: question on code generation with regard to non-alphabetic character in xml element name

"Gillen, Paul" <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <6A51CF4158562249906CB0F24DC99E444CD85DFE5E@GATUCEXCH03ASV.nscorp.ad.nscorp.com>
Pardon the impertinence, but why?

________________________________
Paul


________________________________
From: Jerry Wang [mailto:[email protected]]
Sent: Wednesday, January 20, 2010 10:26 AM
To: [email protected]
Subject: question on code generation with regard to non-alphabetic character in xml element name

I am using xmlbean to generate code from wsdl, the issue I am facing is that names of some xml elements have special character like "_"(for example <first_name>).
and the getter generated is getFirstName().
can I somehow force the method generated to have exact xml tag name like getFirst_Name()?
I really do not want to do mapping,just too much over head.
Thanks
Jerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.