C
cbongior
Ok, I have been tasked with converting one XML doc to another. The
structures of which are radically different. I mean, to fill in the
fields of XML B I need to mannually pick fields from XML A. XML B is
attribute based, XML A is tag based -- it's ugly folks.
So, I have investigated xslt -- which showed some promise -- but given
my poor knowledge of the subject it seemed to be that I could get
bogged down in formatting details and learning the syntax of xslt
(which I am not completely against if it turns out the be for the
best).
Then I thought, Ok, I can serialize both into objects and do the manual
translation that way (then atleast I could work in a realm I was
familiar with).
Does someone have an idea that could save me time and hassle for an
otherwise mindless task?
Christian
http://christian.bongiorno.org/resume.pdf
structures of which are radically different. I mean, to fill in the
fields of XML B I need to mannually pick fields from XML A. XML B is
attribute based, XML A is tag based -- it's ugly folks.
So, I have investigated xslt -- which showed some promise -- but given
my poor knowledge of the subject it seemed to be that I could get
bogged down in formatting details and learning the syntax of xslt
(which I am not completely against if it turns out the be for the
best).
Then I thought, Ok, I can serialize both into objects and do the manual
translation that way (then atleast I could work in a realm I was
familiar with).
Does someone have an idea that could save me time and hassle for an
otherwise mindless task?
Christian
http://christian.bongiorno.org/resume.pdf