I have a schema with several elements starting with the underscore
character. Is it possible to do something like this in a bindings file to
replace all of them with a particular character (say, the letter I to
indicate an interface):
<bindings schemaLocation="myxsd.xsd">
<bindings
node="/xsd:schema/xsd:element[starts-with(@name,'_')]">
<class name="I*" />
</bindings>
</bindings>
The above snippet will match all the nodes with leading underscores, but
doesn't perform a capture group or do a replace. I am at a loss as to how
to do this and I am sure if it is possible someone here knows how to do it
right away.
Thanks!