S
sal achhala
Is it possible to search the contents of an XML file before its parsed ?
Can the same be done to a HTML/XHTML file.
My setup:
Im using a DOM parser (xerces) and Downloading XML/HTML files with structure
and elements unknown (they'll be random xml/html files).
I want to be able to search file contents, not for tag/elements names
(content will be small, typically 3000 words or less) before i parse in
order to save time.
Is this possible , How?
If not whats the best way to search after parsing ? can it be done with
DOM/xerces ?
The idea is to specify a number of keywords and search for them within the
xml file ... if the keywords appear then to parse the xml file and save the
content to the local drive.
Thanks
Can the same be done to a HTML/XHTML file.
My setup:
Im using a DOM parser (xerces) and Downloading XML/HTML files with structure
and elements unknown (they'll be random xml/html files).
I want to be able to search file contents, not for tag/elements names
(content will be small, typically 3000 words or less) before i parse in
order to save time.
Is this possible , How?
If not whats the best way to search after parsing ? can it be done with
DOM/xerces ?
The idea is to specify a number of keywords and search for them within the
xml file ... if the keywords appear then to parse the xml file and save the
content to the local drive.
Thanks