When I add a XML source and point it to s XML file I am trying to load I do not see the root attribs.
I have tried the local create XSD as well as Trang (nice command line tool)...
In either case I get the three other elements but not the root.
Here is the top of the XSD..
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="Company">
<xs:complexType>
<xs:sequence>
<xs:element ref="Positions"/>
</xs:sequence>
<xs:attribute name="AsOfDate" use="required" type="xs:NMTOKEN"/>
<xs:attribute name="Date" use="required"/>
<xs:attribute name="Description" use="required"/>
<xs:attribute name="GeneratingSystem" use="required"/>
<xs:attribute name="ImportID" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Positions">
<xs:complexType>
<xs:sequence> ....... and so on..
I am trying to get at the AsOfDate..
Now i did see a way to maybe use a XML Task... but these files are large and the task seem to scan the whole file.. which takes way to long..
It really seems like a bug within the XML Source component...
Please tell me there is a faster / better way..
Thanks.