Skip to Content
0
Former Member
Jun 26, 2007 at 05:09 PM

IF_IXML_NODE_FILTER

23 Views

Hi,

I have an xml document as follows (just the subset I am interested in)

<CategoryAxis>

<Title>

<Caption>X-Axis</Caption>

</Title>

</CategoryAxis>

I am trying to find the node <Caption>X-Axis</Caption>, and I would like to repace X-axis with some label. I am uisng the filter

filter1 = wa_ixml_doc->create_filter_name( name = 'Title' )..

filter2 = wa_ixml_doc->create_filter_name( name = 'Caption' ).

filter = wa_ixml_doc->create_filter_and( filter1 = filter1

filter2 = filter2 ).

iterator = wa_ixml_doc->create_iterator_filtered( filter ).

node = iterator->get_next( ).

The above code does not return anything, and I am trying to see if anyone has any suggestions.

Albert