[xsd-users] #include directives & relative paths

Boris Kolpackov boris at codesynthesis.com
Thu Dec 14 09:30:02 EST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20061214/a8816f50/attachment.pgp


More information about the xsd-users mailing list