[xsd-users] Using regular expressions

Carl xsd at faultline.com
Thu Oct 8 19:00:24 EDT 2009


On 10/08/2009 12:48 PM, Boris Kolpackov wrote:

>
> The above approach will require a separate expression for each schema
> file and can become a bit tedious. If you don't mind using a more
> "regular" naming scheme then you can cover all your schema files with
> one expression. For example, this regex:
>
> --anonymous-regex ',.* .* (.*)/(.*),$1_$2,'
>
> Will name all your anonymous types like StateWHType_AmendedReturnElect,
> StateUIType_AmendedReturnElect, etc.

Thank you for that. It solved all the name conflict problems I was having.

Carl




More information about the xsd-users mailing list