[xsd-users] #include directives & relative paths

Moss, David R (SELEX Comms) (UK Christchurch) david.r.moss at selex-comm.com
Wed Dec 20 08:35:49 EST 2006


Boris,

That seems to do the trick nicely!

Cheers,
Dave.

Dave Moss
SELEX Communications
Grange Road
Christchurch 
Dorset  BH23 4JE
United Kingdom
Tel: + 44 (0) 1202 404841
Email: david.r.moss at selex-comm.com

> -----Original Message-----
> From: Boris Kolpackov [mailto:boris at codesynthesis.com]
> Sent: 14 December 2006 14:30
> To: Moss, David R (SELEX Comms) (UK Christchurch)
> Cc: xsd-users at codesynthesis.com
> Subject: Re: [xsd-users] #include directives & relative paths
> 
> Hi David,
> 
> Moss, David R (SELEX Comms) (UK Christchurch) <david.r.moss at selex-
> comm.com> writes:
> 
> > A precompiled binary would be great, thanks for the swift reply.
> 
> The binary is available at
> 
> http://codesynthesis.com/~boris/tmp/xsd-2.3.1.b2-2-i686-windows.zip
> 
> 
> The two new options are --include-regex and --include-regex-trace.
With
> the first one you can provide a regular expression that will be used
> to transform #include paths. The second one is useful for debugging.
> 
> For your case, I think, a regex like this should do the trick:
> 
> #.+/([^/]+)#generated/$1#
> 
> 
> Let me know if there are any problems.
> 
> 
> -boris

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************





More information about the xsd-users mailing list