Visual Log Parser XML queries: Here is what I discovered. Once I set the following values in the "XML Parameters" window and modified my query accordingly, I managed to extract 13 rows for a given userid in an XML log file with XML tags that use " v=" in data nodes. I believe I read somewhere that space characters are converted to "@" so this character is required in the actual query.
dtNodes: -1
fmode: Auto
fnames; XPath
iTsformat: (use default)
rootXPath: /AUDIT_TRAIL/TRANSACTION/HDR
Select /HDR/USR_ID/@v from c:\Audit_Log\AUDIT_02242003_07.xml where /HDR/USR_ID/@v = 'MyUserIDHere'
(13 rows affected)
Query time : 00:00:00.7777348
Display time : 54ms
This is my first attempt at using XML queries in Log Parser but I believe I managed to tame the beast. Now you all know more the I do about XML file queries...LOL!
Ed