Get data access the mapped CDF document

Get data access the mapped CDF document
Instead of getting the InboundDocument, you can simply access the mapped CDF document. If you watched the video then you know how to use the Mapping Utility to create your CDF from the service reponse.

In the video a CDF document named "quotes" was created, you can access this document from the cache with

doc = <namespace>.getCache().getDocument('quotes')
iter = doc.selectNodes('//record').iterator();
jsx3.log(iter.next().getAttribute('High'));
jsx3.log(iter.next().getAttribute('High'));

你可能感兴趣的:(Get data access the mapped CDF document)