Extracting domain names from large .XML files

RobM

DNForum Admin
Staff member
Administrator
Moderator
Exclusive Member
Rating - 100%
29   0   0
Oct 12, 2003
1,461
533
Malta
banner
#2
With something so large it is unlikely that you can ever load it into memory to use any xml extraction commands in php, C, etc. In that case you could split it into smaller files and parse them.
If you are on a mac or linux though the task is a lot easier using the 'grep' command. If you only want to do it one off you can send me the file and I can pull them out for you.
 

DomainEmpire.com

Platinum Member
Registered User
Rating - 100%
326   0   0
Aug 13, 2002
2,490
39
Switzerland
www.DomainEmpire.com
#3
Thanks for your assistance. I've a file splitter so I can easily create smaller sized files but I'm on Windows unfortunately and this's something I need to do often, ot just once.
I've a long way to extract them (by using multiple desktop apps to clean the internal text etc ...), I was just hoping to find a much easier way to execute this task.