How do I search nodes of XML document for text? Or convert to SQL tables?
        Posted  
        
            by 
                netefficacy
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by netefficacy
        
        
        
        Published on 2011-01-16T22:46:43Z
        Indexed on 
            2011/01/16
            22:53 UTC
        
        
        Read the original article
        Hit count: 226
        
Hi
I have an XML file and would like to run a search on the nodes for text that matches user input. My options are:
Convert the XML file to a SQL table and run the search against the table records.
Search the XML nodes themselves.
The problem is that I cannot find a open source conversion utility, nor can I figure out how to search the XML nodes.
I can use PHP, Ruby, or Python for the search code.
Any pointers on how can I do 1 or 2?
Thanks
© Stack Overflow or respective owner