Re: ABAP XML Parsing - get all attributes and values from specific node
Ok...heres the code! form create_xmldatastream . data: pixml type ref to if_ixml, pdocument type ref to if_ixml_document, pstreamfactory type ref to...
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Another code with CL_XML_DOCUMENT:data: node type ref to IF_IXML_NODE, root type ref to IF_IXML_NODE, value type string, xml_doc type ref to cl_xml_document. create object xml_doc....
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Thanx, i get a syntax error that root is not compatible to the formal parameter root.
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Alright everything is working now!!! How do i get to count the number of available nodes with a specific name eg. 'diagnosis' ?
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
A pity.. I do not see any possibility of direct finding all nodes of particular name. Anyway you can iterate through nodes by this code snippet: <b>while not</b> node <b>is...
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Alright. Thanx for your help. I will see then!
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Another little problem with xml parsing. if i have two or more tags defined in my xmlfile: <diagnosis type="ICD10" code="X.91">Multimorbid</diagnosis> <diagnosis...
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
I would suggest slightly different coding: node = xml_doc->find_node( name = 'diagnosis' root = root ).<b>while not</b> node <b>is initial</b>. <b>if</b>...
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Hello, I write the solution to get all attributes and values of a tag: DATA: xml_doc TYPE REF TO cl_xml_document. DATA node TYPE REF TO if_ixml_node. DATA value TYPE string. DATA name TYPE string....
View ArticleRe: ABAP XML Parsing - get all attributes and values from specific node
Hello Folks, Please help me how to upload the XML File to internal table. All data is in Attributes format. If it is in Elements i can do using function modules. Attributes file format not able to get...
View Article