Jeremy,
I don't understand why you have a problem.
As Cezar wrote, if you do
inst2xsd file0.xml file1.xml file2.xml
you get
schema0.xsd
schema1.xsd
schema2.xsd
[Btw, you can specify
-outDir [dir] - Directory for output files. Default is '.'
-outPrefix [file_name_prefix] - Prefix for output file names. Default is
'schema'
]
You don't get a single xsd.
It works for me.
- Wing Yew
-----Original Message-----
From: Ferry, Jeremy [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 2:00 PM
To: [email protected]
Subject: RE: Multiple output files with inst2xsd?
Running it on multiple xml files isn't the problem, I can do that just
fine. The problem is that it combines the output into a single xsd file.
I need one xsd output file for each xml input file. There doesn't appear
to be an option for this behavior but I thought I'd ask before I look
into a more radical solution like a for-loop in my ant build file.
Thanks,
Jeremy
-----Original Message-----
From: Cezar Andrei [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 2:21 PM
To: [email protected]
Subject: RE: Multiple output files with inst2xsd?
You can run inst2xsd on multiple xml files. See inst2xsd -h for usage.
int2xsd file1.xml file2.xml
Cezar
> -----Original Message-----
> From: Ferry, Jeremy [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2008 10:26 AM
> To: [email protected]
> Subject: Multiple output files with inst2xsd?
>
> I'm running inst2xsd on a directory full of xml but the output is a
> single xsd file that combines all my xml elements. Is there a way to
> tell it to output one xsd for every xml? Or do I need to run inst2xsd
> on each individual xml file?
>
> Jeremy Ferry
> Sr. Software Engineer
> Sterling Commerce, an AT&T company
> Eden Prairie, MN
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]