Advertisement

04.16.2008 at 12:57PM PDT, ID: 23328619
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Import XML into Access

Asked by RichNH in Extensible Markup Language (XML)

I am using WS_FTP 6.1.  I exported a log file from it to a XML format file.  I want to import this log file into Access.  I have Access 2007 installed on my system.  The first 2 sets of data in the XML file look like this:
<?xml version="1.0" encoding="utf-8" ?>
<log>
  <entry>
    <log_time>20080403-09:25:18</log_time>
    <description><![CDATA[Authentication succeed]]></description>
    <service>COM_API</service>
    <sessionid>00000001</sessionid>
    <type>0</type>    <severity>1</severity>
    <user>ftpadmin</user>
    <host>abssupply.abs-supply.com</host>
    <cmd>Login</cmd>
    <sguid>ED36CB71-C9B0-4028-B4B7-022531F79C92</sguid>
  </entry>

  <entry>
    <log_time>20080403-09:25:19</log_time>
    <description><![CDATA[Session ended]]></description>
    <service>COM_API</service>
    <sessionid>00000001</sessionid>
    <type>0</type>    <severity>1</severity>
    <user>ftpadmin</user>
    <host>abssupply.abs-supply.com</host>
    <cmd>Logout</cmd>
    <sguid>ED36CB71-C9B0-4028-B4B7-022531F79C92</sguid>
  </entry>
There is a trailing log entry at the end of the file.

When I try to import the file into a table by clicking External data, XML File I get the error:
Microsoft Office Access has encountered an errorprocessing the XML schema in file blah
Illegal XML character.

I tried removing the Log tags and got the following error:
Microsoft Office Access has encountered an errorprocessing the XML schema in file blah
A document must contain exactly one root element.

So, this is my first time ever working with XML.  Can anyone provide some guidence?

RichStart Free Trial
[+][-]04.18.2008 at 04:35PM PDT, ID: 21390384

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2008 at 04:54AM PDT, ID: 21400609

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2008 at 08:48AM PDT, ID: 21403120

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 07:35AM PDT, ID: 21471047

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:37AM PDT, ID: 22015227

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Extensible Markup Language (XML)
Sign Up Now!
Solution Provided By: RichNH
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628