FETCH action stylesheet equivalent
HermannSW 2700006U54 Tags:  fetch binary datapower action xslt non-xml url-open 1 Comment 21,726 Views
In developerWorks DataPower Forum thread "FETCH action datapower stylesheet equivalent."
Suresh pointed out that document() function is the equivalent of a FETCH action in a stylesheet for fetching XML data.
The equivalent for a FETCH action in the general case is
since it allows fetching of binary/Nox-XML data (advanced tab of FETCH action) by
it was demonstrated how to process binary (Non-XML) data returned by a
These postings showed that DataPower internal encoding is UTF-8:
So in case the Non-XML document returned (binaryNode) is UTF-8 encoded further processing can easily be done by the method proposed in this posting:
The advantage of dp:decode(_,'base-64') is that it does a UTF-8 validation and preventes negative effects.
I cannot give a more complete example until having access to my boxes in the IBM network which I do not have (and do not want to have :-) ) by my cell phone or the Internet terminal in our youth hostel in most nordic German town List on North Sea island Sylt ...
(just back from this jogging run: http://www.gmap-pedometer.com/?r=3762144)