Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Learning transformation by example

0 views
Skip to first unread message

Marc Mason

unread,
Nov 13, 2009, 7:41:21 AM11/13/09
to
Does anyone know of software that can learn a transformation of XML to
another XML format or a text format without having to write XSLT
code? For example, I'd like to be able to provide the software with
examples of my input XML like:

<concept type="a" value="aValue" id="a1"/>
<concept type="b" value="bValue" id="b1"/>
<relationship type="c" fromId="a1" toId="b1"/>

and give it examples of the output I'd like to get, like:

(a a1)
(name a1 aValue)
(b b1)
(name b1 bValue)
(c a1 b1)

and have the software automatically produce the XSLT to do this
transformation or code to do the transformation.

I realize that this is a simple example and the XSLT wouldn't be too
hard to write by hand, but in general, I'd say XSLT is difficult to
write and it would be nice if there were software like this to make
things easier.

Thanks,
Marc Mason

Martin Honnen

unread,
Nov 13, 2009, 7:56:39 AM11/13/09
to
Marc Mason wrote:
> Does anyone know of software that can learn a transformation of XML to
> another XML format or a text format without having to write XSLT
> code?

For XML to XML transformation you could check whether Altova's MapForce
(http://www.altova.com/mapforce/xml-mapping.html) suits your needs.


--

Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/

0 new messages