I have xml challenge ...
I shell cut out creditcard number from xml hotel reservation in fly.
Plaese some advice....
The credit card number will be in the CUSTOMER/CC_NUMBER so to remove the field, at the very top of your myRecordHandler function, add this line:
Hope this helps!
thanks, but I wish to save xml after cutting.
is it possible... or some advice....
Saving modified XML is not a function of Magic Parser i'm afraid but within your record handler function, after the unset() calls to remove any unwanted data, you can save the individual record content to a database, or a text file on disk for example...