Padmaja wrote:
I have some questions regarding xmlcsvreader class :-
1. How to add attributes to the elements? Any properties of xmlcsvreader to use? If so, what are they?
2. How to add namespaceUri("http://www.w3.org/2001/XMLSchema", "http://www.w3.org/2001/XMLSchema-instance", e.t.c. ) & prefix(xsd,xsi...etc)
3. How to allow null values?
I don't think that can be done with xmlcsvreader (unless you extend it).
xmlcsvreader just reads csv as XML. If you want to modify this XML, use
some kind of XML processing. XSLT is usually the simplest solution, but
if your XML is a big one, more advanced scenarios with customized
XmlReader are available.
--
Oleg Tkachenko [XML MVP, XmlInsider]
http://blog.tkachenko.com