on 04-19-2010 11:25 AM
Hi All,
My requirement is to pick an HTML file and search for a word " Failure" If its present then i need to update a particular value if not then other value.
Regards,
Jude
I think it is feasible in multiple ways :
- use a "filter" script in the file adapter that could be built on a grep, that would only collect file with the "failure" pattern
- parse all files and serialize the content into a XML field so you can apply a XPath expression against it (but it could be a pb if files are big and coming quickly)
Other solutions are still possible anyway
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jude,
Yes it is possible to pickup a HTML file and check for word "Failure" using Java Mapping.
Thanks,
Sathya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Any possible solutions......
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>My requirement is to pick an HTML file
can be done, if html is welformed xml.
>>and search for a word " Failure"
if you know which tag could contain the word "failure" then i think it is possible to search in graphical mapping.
>>If its present then i need to update a particular value if not then other value.
you said "particular value". Is it in the target message type, if yes, then you can decide.
I am not sure, whether your requirement and the purpose of using PI for this go together.
thanks
BJagdishwar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.