Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    You're probably right, I do not know enough about XML to comment but I'm hell on wheels on parsing text files!

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree that altering original files can be an issue. I removed the dtd line and loaded the many tables. I notice that some tables there is a reference to PMID... so I think there are relationships even if not explicitly asked for or mentioned.

    I also followed my original thought and read the file and just kept those records that had these terms ( a test really)

    ID PubMedString
    6 "<PMID Version=""1"">"
    7 <ArticleDay>
    8 <ArticleMonth>
    9 <ArticleYear>
    10 <Title>
    11 <Affiliation>
    12 <AbstractText>

    This gave me a list as follows, that keeps the various fields within the PMID group

    OOOps it's dropping the xml tags when I paste it here

    PubId KeptLine jID
    8 24581857 1979
    25 1980
    46 Faculdade de Odontologia, UNESP - Univ Estadual Paulista, Araçatuba, São Paulo, Brazil. 1981
    52 Faculdade de Odontologia, UNESP - Univ Estadual Paulista, Araçatuba, São Paulo, Brazil. 1982
    58 Faculdade de Odontologia, UNESP - Univ Estadual Paulista, Araçatuba, São Paulo, Brazil. 1983
    64 Faculdade de Odontologia, UNESP - Univ Estadual Paulista, Araçatuba, São Paulo, Brazil. Electronic address: adelbem@foa.unesp.br. 1984
    150 24494460 1985
    172 1986
    184 Canadian Academy for Esthetic Dentistry, University of Toronto Advanced Restorative Continuum, Canada. info@drmechanic.com 1987
    262 24479280 1988
    284 1989
    306 Department of Preventive & Community Dentistry, College of Dentistry, University of Iowa, N335 Dental Science Building, Iowa City, IA 52340, USA. 1990
    312 Dows Institute for Dental Research, College of Dentistry, University of Iowa, Iowa City, Iowa 52340, USA. 1991
    318 Dows Institute for Dental Research, College of Dentistry, University of Iowa, Iowa City, Iowa 52340, USA. 1992
    324 Dows Institute for Dental Research, College of Dentistry, University of Iowa, Iowa City, Iowa 52340, USA. 1993
    330 Department of Pediatric Dentistry, College of Dentistry, University of Iowa, Iowa City, Iowa 52340, USA. 1994
    454 24466626 1995
    476 1996
    488 General Dental Practitioner, Tadcaster, North Yorkshire, UK. 1997
    614 24459747 1998
    634 1999
    653 Department of Cariology, Institute of Odontology Sahlgrenska Academy at University of Gothenburg Göteborg, Sweden. helen.isaksson@lj.se 2000
    Attached Thumbnails Attached Thumbnails tblKeptData_sample..jpg  

  3. #18
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    That's pretty cool. Earlier, I used the URL in the DTD and downloaded the DTD file. When I opened as text I could see some table headers that resemble what orange has there.

  4. #19
    Manish_05 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    12
    Hi friends, Many thanks to you guys. You are trying a lot to hep me.

    Here i want to mention that, I tried to automate the import process for EXCEL by using VBA and i was successful in it. Only problem with it was it can not handle large file more than 30MB. SO i decided to import it by Access. But i am new to access to asking help from all you friends.

    Here i am uploading the result file generated from the XML to Excel import tool. I have used the same XML file get the result which i have uploaded in my first post.

    Maybe it will help you to parse the XMLfile, because after importing the XML file to Access it should look the same way and should contain the same number of results.

    Here the Excel file XML to Excel Import.zip

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 06-16-2014, 08:37 AM
  2. Replies: 7
    Last Post: 01-21-2014, 11:32 AM
  3. Child Record Created, but won't display in child form
    By CementCarver in forum Programming
    Replies: 1
    Last Post: 04-10-2013, 12:42 PM
  4. Replies: 3
    Last Post: 12-14-2012, 11:26 AM
  5. Responding To Clicks On Treeview Nodes
    By Hack in forum Programming
    Replies: 3
    Last Post: 04-12-2012, 06:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums