[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Is there a tool to progressively refine the schemagenerated from different XML documents?
- From: Dimitre Novatchev <dnovatchev@gmail.com>
- To: Michael Kay <mike@saxonica.com>
- Date: Sat, 16 Jul 2016 09:53:59 -0700
That's a neat idea -- thank you Michael!
This was also proposed by another reader who replied off-list.
So, we are hoping that the tool is intelligent enough to find the
similarities between the children of the document element and generate
a single type for them all.
Probably a proper ordering of the children could facilitate this
recognition process.
Cheers,
Dimitre
On Sat, Jul 16, 2016 at 2:13 AM, Michael Kay <mike@saxonica.com> wrote:
>>
>> Is anybody aware of a tool that will take as input all N different
>> schemas generated and create from them a single schema that is the
>> "unification" (for a lack of better word) of all of them -- in other
>> words defines the type of all XML document instances.
>>
>
>
> I suspect it is easier to produce a tool that takes N instances and produces a single schema that describes them all.
>
> When I wrote my DTD generator (still available at http://saxon.sourceforge.net/dtdgen.html) I never got round to productising the ability to take multiple input files, but I did successfully use it that way simply by putting in a filter that concatenated the files (with a wrapper element) before processing.
>
> Michael Kay
> Saxonica
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
Sanity is madness put to good use.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]