Lukacsy Gergely wrote:
Hello!
[snip!]
I think one can easily check the result if he/she uses a simple
validator for the result and the given target
schema.
I have tried with Xerces XML parser mixed with Prolog (SICStus) - I have
parsed the XSD and XML, tried to match the tags, etc -, but after some
hour work I thought someone perhaps might know an existing application ...
I don't know of anything, and offhand I'd say that any tool which could
do this without a user-provided configuration file would need an ESP component.
(as in, "reading my mind") ;-)
There were some methods of using DTDs which accomplished something similar.
You take the original DTD, add special attributes to each element declaration
which described the aliases, run it through an XSLT processor, and out would come
the renamed structures. It was called "architectural forms". You can find a (draft) paper
by John Cowan on a simplified syntax for arch forms at http://home.ccil.org/~cowan/XML/afng.html ;
an XSLT tool which implements part of the standard HyTime arch forms syntax is at
http://ats.nist.gov/xsltoolbox/apex.html
I would appriciate any help, thanks in advance,
Gergely
Hungary
Is there any way to convert an XML file to another one if
- the source XML file is given
- the target XSD schema is given?
The XSD schema fits to the source file, but have different tag names,
etc.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list