Blaukool
Jul 26th, 2007, 10:49 AM
Hello,
in my current project we need to build a batch program that reads XML data and transfers that data in to our database. After a look at the xmlJob example its easy to map a simple xml file. But we also need to map some XML attributes not only tags. Neither the sample nor the documentation I could find provided any hint at how to do it.
Only thing I found was the framework class AttributeAlias, which seams to provide the feature. But I didn't find any documentation on how to use it.
Does anybody have a sample of how to map attributes?
Thanks in advance
Marco
in my current project we need to build a batch program that reads XML data and transfers that data in to our database. After a look at the xmlJob example its easy to map a simple xml file. But we also need to map some XML attributes not only tags. Neither the sample nor the documentation I could find provided any hint at how to do it.
Only thing I found was the framework class AttributeAlias, which seams to provide the feature. But I didn't find any documentation on how to use it.
Does anybody have a sample of how to map attributes?
Thanks in advance
Marco