Parser for XML
Hi you all,
I would just like to hear from you, what parser do you usually use to work with XML.
JAXP or JDOM.
THere so many choices...
Many Thanks,
MeTitus
`hi
DOM is mainly used if we have to build or alter the xml docs and sax if we have to only read the xml docs
DOM is mainly prefered in the real world
hope this helps
Similar Messages
-
When production version of Oracle XML Parser for PL/SQL is
available?
and what are other XML utilities to be available for PL/SQL?
nullDo you have more precison about the date of the production
version of Oracle XML Parser for PL/SQL?
Oracle XML Team wrote:
: We have not yet announced a production date for the PL/SQL
: version as this just went beta and we need to get sufficient
: feedback. Have you tried it? Other PL/SQL XML utilities can
be
: found at http://www.oracle.com/xml/plsxml/index.html.
: Oracle XML Team
: http://technet.oracle.com
: Oracle Technology Network
: Boris Kolodny (guest) wrote:
: : When production version of Oracle XML Parser for PL/SQL is
: : available?
: : and what are other XML utilities to be available for PL/SQL?
null -
Hello forum,
I want to put in iFS XML documents with binary content encoded in base64.
I have created "PrintedDoc" base on "Document" with new attributes: Name, Pages, PeportName.
I created test XML file and iFS parses it just fine.
This is an example of XML file:
<?xml version = '1.0' standalone = 'yes'?>
<PrintedDoc>
<Name> Angebot-Nr. 123 vom 12.06.2002.pdf </Name>
<FolderPath> /printed/Angebote </FolderPath>
<Pages> 3 </Pages>
<Format RefType="name"> PDF </Format>
<ReportName> Angebot </ReportName>
<Content>AABC-+.....AABCD</Content>
</PrintedDoc>
Now I want to decode content back into binary format and store binary data. I have written java class for decoding. I will write a parser that decodes base64 content into binary data.
My question: How I can register my parser for that xml document? I read about including namespace into document and registering custom XML parser, but this will give me the whole xml document as incoming data.
I would appreciate if you share your experience or give some hints.
TIA
AlexandreHi again,
I'm trying to write XML pareser implementing XmlParserInterface. I have implemented parse methods and used IfsXmlParser.CreateDOM to get parsed XMLDocument.
As far as I know, my xml parser should be instaneiated by IfsXmlParser, which in turn calls one of parse methods. The problem is that XmlParserInterface doesn't contain constructors to implement. For example, interface Parser has constructor with argument of type LibrarySession.
How I can get current LibrarySession from my XML parser? Should I implement both interfaces Parser and XmlParserInterface?
Thanks for any help,
Alexandre.
PS: are Java sources of iFS available somewhere? It would be helpful to get knowledge of how the things working. There is no documentation for creating XML parsers. I have only found about writing usual custom parsers in Developer Guide and a little in iFS API. But that is very scant. :((( -
Parser for XML as output from DB..
Hi Guys,
Can some one tell me a parser which can take a query and gives the output as an XML format. And takes an XML file and puts the data into DB. pl. let me know from where i can download the parser. and if u have any sample code pl give me.
Any help would be appreciated greatly.
Thanks in advance.
Anil([email protected]).Thanks alot Bernhard.
I got it. But now i would like to know, can i specify the XML format to be generated(DTD kind of thing)when we make a query, like the query will be getting the data of two tables say master and child. so for each record of master there can be multiple childs. at that time i dont want the master data come along with all the childs(master data duplication should not be there). let me put like this. In the master tag there can/should be multiple child tags(sub tags). can this be done using the XSU or XDK ? In the same way can we insert data into two tables at a time. its like we will be taking the data from two tables do some operations reduce some data and then insert into two tables again. can this be achieved with xml file. And i would like to know how to generate one xml for one master record(including its child records, going to be join or sub query etc..) Am i clear on to my question ? If u have any sample data on this could u give me. once again thanks alot for the url.
Any help would be appreciated greatly.
Thanks in advance.
Anil([email protected]). -
Hello all,
I am trying Parsing XML thorugh SAX. Were to get SJXP.jar and parser.jar files on sun site
if any body have these files plz mail :[email protected]String buf = (new String(ch, start, length)).trim();
if (thisElement != "root"){
if ((buf.length() == 0) && (thisElement !="") ){
It run ok!
Thanks 58871!
Now, i want to export oracle table to xml file like :
<?xml version="1.0" encoding="UTF-8"?>
<root>
<emp>
<ename>aaa</ename>
<sal>3000</sal>
</emp>
<emp>
<ename>bbb</ename>
<sal>5000</sal>
</emp>
</root>
Can SAX export to xml format?
Pham Thanh Tung -
What is wrong with this?
declare
n xmlparser.DOMNode;
n1 xmlparser.DOMNode;
n2 xmlparser.DOMNode;
e xmlparser.DOMElement;
begin
e := xmlparser.createElement (document,'TEST_ELEMENT');
n1 := xmlparser.makeNode(e);
n2 := xmlparser.appendChild(n,xmlparser.makeNode(e));
creates a empty node
<Location>
<Country>US
<TEST_ELEMENT/>
</Country>
</Location>
Question : How can I create a Text Node under <TEST_ELEMENT>,
example
<TEST_ELEMENT>Test element comment node
</TEST_ELEMENT>
Thanks for your help.
nullsk (guest) wrote:
: What is wrong with this?
: declare
: n xmlparser.DOMNode;
: n1 xmlparser.DOMNode;
: n2 xmlparser.DOMNode;
: e xmlparser.DOMElement;
: begin
: e := xmlparser.createElement (document,'TEST_ELEMENT');
: n1 := xmlparser.makeNode(e);
: n2 := xmlparser.appendChild(n,xmlparser.makeNode(e));
: creates a empty node
: <Location>
: <Country>US
: <TEST_ELEMENT/>
: </Country>
: </Location>
: Question : How can I create a Text Node under <TEST_ELEMENT>,
: example
: <TEST_ELEMENT>Test element comment node
: </TEST_ELEMENT>
: Thanks for your help.
Use the createTextNode method to create a new text node. Then
convert the DOMElement to a DOMNode using makeNode. Now, you can
use appendChild to append the text node to the DOMElement.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
PL/SQL parser for 7.3 DB?
We have an ORACLE 7.3 DB and are looking for a PL/SQL parser for XML... Some of the posts I've seen seem to suggest that a solution exists, but I'm not having any luck finding out for sure...
Thanks,
Jeffhttp://technet.oracle.com/tech/xml/info/index2.htm?Info&plsxml/xml4plsql.htm
-
Package for xml file insersion
hi every body
if any body know the link for the package of xml file insersion into oracle database. and also parser for xml file then plz tell me.
my email address is " [email protected] "hi every body
if any body know the link for the package of xml file insersion into oracle database. and also parser for xml file then plz tell me.
my email address is " [email protected] " -
Hello,
for some reason, the test case below fails when driven with Java 6. Looks like, when long string data is stored in a XML element, DocumentHandler's characters() method will be provided with incorrect data.
With XML 1.0, parsing works fine in all my tests, Apache Xerces, JRE 5, JRE 6.
With XML 1.1., parsing works fine with Apache Xerces, JRE5 but not with JRE6.
I've checked it with latest JRE 6 update 4.
Anyone else xperiencing such problems with XML1.1 parsing when using JAXP bundled with Java 6?
I've tried to file a bug at bugdatabase, but for some reason I got no response for my issue - so I'm trying the forum now ;-)
Thanx for comments
Merten
import java.io.StringReader;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import junit.framework.TestCase;
import junit.framework.TestResult;
import junit.framework.TestSuite;
/** snippet to demonstrate problem in SAXParser */
public class ProblemWithSAXParser extends TestCase
public static void main(String[] args)
TestResult result=junit.textui.TestRunner.run(suite());
System.exit(result.wasSuccessful() ? 0 : 1);
private static junit.framework.Test suite()
final TestSuite ts=new TestSuite();
ts.addTestSuite(ProblemWithSAXParser.class);
return (ts);
/** small DocumentHandler, just waiting for one and only XML element <c></c> */
class MySAXDocumentHandler extends DefaultHandler
boolean listening=false;
public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
throws SAXException
System.out.println("startElement uri " + uri + " localName " + localName + " qName " + qName);
if("c".equals(qName))
listening=true;
public void endElement(final String uri, final String localName, final String qName) throws SAXException
System.out.println("endElement uri " + uri + " localName " + localName + " qName " + qName);
if("c".equals(qName))
listening=false;
public void characters(final char ch[], final int start, final int length) throws SAXException
if(listening)
final String str=new String(ch, start, length);
System.out.println("<c> element, start==" + start + " length==" + length + " ch.length==" + ch.length + " ch=="
+ str);
sb.append(str);
private final StringBuffer sb=new StringBuffer();
/** return what I got for XML element <c></c> */
public String toString()
return (sb.toString());
/** test an XML document with an element <c>, use XML 1.0 and XML 1.1 and some (more)
* content in the XML element */
public void testWithSunAndApache() throws Exception
// test XML element content for <c> element
final StringBuffer plain_str=new StringBuffer("");
for(int i=0; i < 500; i++)
plain_str.append("0123456789 This is some text ").append(i).append(". ");
final String xml_orig=plain_str.toString();
// SAX parsers, one Sun, one (original) Apache Xerces
// accept that Apache Xerces is not in path ...
final String prop_name="javax.xml.parsers.SAXParserFactory";
final String prop_val_sun="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl";
final String prop_val_apache="org.apache.xerces.jaxp.SAXParserFactoryImpl";
System.setProperty(prop_name, prop_val_sun);
final SAXParser sax_sun=SAXParserFactory.newInstance().newSAXParser();
System.out.println("SaxParser Sun= " + sax_sun);
assertTrue(("" + sax_sun).indexOf("com.sun.") >= 0);
System.setProperty(prop_name, prop_val_apache);
SAXParser sax_apache;
try
sax_apache=SAXParserFactory.newInstance().newSAXParser();
catch(final Throwable t)
System.err.println("no Apache Xerces in path? " + t);
sax_apache=null;
System.out.println("SaxParser Apache= " + sax_apache);
assertTrue(sax_apache==null || ("" + sax_apache).startsWith("org.apache."));
// i==0: XML 1.0, i==1: XML 1.1
for(int i=0; i <= 1; i++)
assert i == 0 || i == 1;
final String xml_version=(i == 0 ? "1.0" : "1.1");
final StringBuffer sb=new StringBuffer("<?xml version=\"" + xml_version + "\" encoding=\"UTF-8\"?><c>");
sb.append(xml_orig);
sb.append("</c>");
final String xml=sb.toString();
// parse it!
final StringReader string_reader_sun, string_reader_apache;
string_reader_sun=new StringReader(xml);
final InputSource input_source_sun=new InputSource(string_reader_sun);
string_reader_apache=new StringReader(xml);
final InputSource input_source_apache=new InputSource(string_reader_apache);
final MySAXDocumentHandler my_handler_sun, my_handler_apache;
my_handler_sun=new MySAXDocumentHandler();
my_handler_apache=new MySAXDocumentHandler();
sax_sun.parse(input_source_sun, my_handler_sun);
if(sax_apache!=null)
sax_apache.parse(input_source_apache, my_handler_apache);
final String xml_sun=my_handler_sun.toString();
final String xml_apache=my_handler_apache.toString();
assertNotNull(xml_sun);
assertNotNull(xml_apache);
System.out.println("xml version " + xml_version);
System.out.println("xml " + xml);
System.out.println("xml_orig " + xml_orig);
System.out.println("xml_sun " + xml_sun);
System.out.println("xml_apache " + xml_apache);
// test the data returned from DocumentHandler
if(sax_apache!=null)
assertEquals(xml_orig, xml_apache);
assertEquals(xml_orig.length(), xml_sun.length()); // length seems to be okay
assertEquals(xml_orig, xml_sun); // content seems to be not okay for XML 1.1
}thanx, DrClap, haven't seen the "code" button for some reason, code is attached again
The output of my test is like this for JRE6 (truncated)
xml_sun 456789 This is is some text 0. 0123456789 This is some text 1.
xml_apache 0123456789 This is some text 0. 0123456789 This is some text 1.
Notice, xml_sun not only starts wrong ("0123" missing) - for some reason, the text there is not "This is some text" but "This is is some text" - very interesting in a way. I guess there's an issue with repeated text chunks ...
So, the data in my XML element is kind of changed, the length of the string is okay but the characters are "misplaced" or so :-) I thought about a problem with StringBuffer first, but the StringBuffer works fine for Apache ... so I really think there's an issue with JRE 6's parser for XML 1.1
Merten
import java.io.StringReader;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import junit.framework.TestCase;
import junit.framework.TestResult;
import junit.framework.TestSuite;
/** snippet to demonstrate problem in SAXParser */
public class ProblemWithSAXParser extends TestCase
public static void main(String[] args)
TestResult result=junit.textui.TestRunner.run(suite());
System.exit(result.wasSuccessful() ? 0 : 1);
private static junit.framework.Test suite()
final TestSuite ts=new TestSuite();
ts.addTestSuite(ProblemWithSAXParser.class);
return (ts);
/** small DocumentHandler, just waiting for one and only XML element <c></c> */
class MySAXDocumentHandler extends DefaultHandler
boolean listening=false;
public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
throws SAXException
System.out.println("startElement uri " + uri + " localName " + localName + " qName " + qName);
if("c".equals(qName))
listening=true;
public void endElement(final String uri, final String localName, final String qName) throws SAXException
System.out.println("endElement uri " + uri + " localName " + localName + " qName " + qName);
if("c".equals(qName))
listening=false;
public void characters(final char ch[], final int start, final int length) throws SAXException
if(listening)
final String str=new String(ch, start, length);
System.out.println("<c> element, start==" + start + " length==" + length + " ch.length==" + ch.length + " ch=="
+ str);
sb.append(str);
private final StringBuffer sb=new StringBuffer();
/** return what I got for XML element <c></c> */
public String toString()
return (sb.toString());
/** test an XML document with an element <c>, use XML 1.0 and XML 1.1 and some (more)
* content in the XML element */
public void testWithSunAndApache() throws Exception
// test XML element content for <c> element
final StringBuffer plain_str=new StringBuffer("");
for(int i=0; i < 500; i++)
plain_str.append("0123456789 This is some text ").append(i).append(". ");
final String xml_orig=plain_str.toString();
// SAX parsers, one Sun, one (original) Apache Xerces
// accept that Apache Xerces is not in path ...
final String prop_name="javax.xml.parsers.SAXParserFactory";
final String prop_val_sun="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl";
final String prop_val_apache="org.apache.xerces.jaxp.SAXParserFactoryImpl";
System.setProperty(prop_name, prop_val_sun);
final SAXParser sax_sun=SAXParserFactory.newInstance().newSAXParser();
System.out.println("SaxParser Sun= " + sax_sun);
assertTrue(("" + sax_sun).indexOf("com.sun.") >= 0);
System.setProperty(prop_name, prop_val_apache);
SAXParser sax_apache;
try
sax_apache=SAXParserFactory.newInstance().newSAXParser();
catch(final Throwable t)
System.err.println("no Apache Xerces in path? " + t);
sax_apache=null;
System.out.println("SaxParser Apache= " + sax_apache);
assertTrue(sax_apache==null || ("" + sax_apache).startsWith("org.apache."));
// i==0: XML 1.0, i==1: XML 1.1
for(int i=0; i <= 1; i++)
assert i == 0 || i == 1;
final String xml_version=(i == 0 ? "1.0" : "1.1");
final StringBuffer sb=new StringBuffer("<?xml version=\"" + xml_version + "\" encoding=\"UTF-8\"?><c>");
sb.append(xml_orig);
sb.append("</c>");
final String xml=sb.toString();
// parse it!
final StringReader string_reader_sun, string_reader_apache;
string_reader_sun=new StringReader(xml);
final InputSource input_source_sun=new InputSource(string_reader_sun);
string_reader_apache=new StringReader(xml);
final InputSource input_source_apache=new InputSource(string_reader_apache);
final MySAXDocumentHandler my_handler_sun, my_handler_apache;
my_handler_sun=new MySAXDocumentHandler();
my_handler_apache=new MySAXDocumentHandler();
sax_sun.parse(input_source_sun, my_handler_sun);
if(sax_apache!=null)
sax_apache.parse(input_source_apache, my_handler_apache);
final String xml_sun=my_handler_sun.toString();
final String xml_apache=my_handler_apache.toString();
assertNotNull(xml_sun);
assertNotNull(xml_apache);
System.out.println("xml version " + xml_version);
System.out.println("xml " + xml);
System.out.println("xml_orig " + xml_orig);
System.out.println("xml_sun " + xml_sun);
System.out.println("xml_apache " + xml_apache);
// test the data returned from DocumentHandler
if(sax_apache!=null)
assertEquals(xml_orig, xml_apache);
assertEquals(xml_orig.length(), xml_sun.length()); // length seems to be okay
assertEquals(xml_orig, xml_sun); // content seems to be not okay for XML 1.1
} -
XML Parser for C++ v2 on HP-UX 11.00
Hi,
We are using XML parser for C++ v2(2.0.1) on HP-UX 11.00.Oracle version is 8.0.5. Our application is dumping core .analyzing the core gives pointers to Oracle function calls. We found that some datatypes in parser's oratypes.h (e.g ub4,sb4)were not in consistence with datatypes in native Oracle's oratypes.h.how to solve this problem? is there any linkage or Includepath order recommended to solve this? let me know if u know any solution/workaround
thanx in advance
vijayanand
nullWe're working on getting this fixed. Thanks for reporting it.
-
Loading XML parser for PL/SQL
I am working my way thru 'Building Oracle XML Applications' by Steve Muench.
I am getting a problem when I try to install the XML parser for PL/SQL
The following errors occur when I try to do
loadjava -v -r -u xmlbook/xmlbook xmlparserv2.jar
initialization complete
loading : oracle/xml/parser/v2/XMLByteReader
creating : oracle/xml/parser/v2/XMLByteReader
Error while creating class oracle/xml/parser/v2/XMLByteReader
ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.XMLByteReader) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
loading : oracle/xml/parser/v2/PrintDriver
creating : oracle/xml/parser/v2/PrintDriver
Error while creating class oracle/xml/parser/v2/PrintDriver
ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.PrintDriver) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
resolving: oracle/xml/parser/v2/PrintDriver
Error while resolving class oracle/xml/parser/v2/PrintDriver
ORA-04043: object /a065289c_PrintDriver does not exist
resolving: org/w3c/dom/html/HTMLAnchorElement
Error while resolving class org/w3c/dom/html/HTMLAnchorElement
ORA-04043: object /564607d_HTMLAnchorElement does not exist
About 20 classes get loaded correctly. All the rest get ORA-29545 or ORA-04043 errors.
I expect the ORA-04043 errors are a result of the earlier errors.
The documentation seems to indicate that there is no need to do
dbms_java.grant_permission to load into your own schema.
I have NT4 (sp6)
Oracle 8.1.7
xmlparserv2.jar dated 24/8/2001 17:01 size 1,177,259
xmlparserv2_2027.jar gives the same errors.
Any help would be appreciated.
nullWas it definitely xmlparsev2.jar that you had to load?
I recently started going through some of these examples as well and found that the standard xml parser was there but that I needed to load the xml parser for PL/SQL. I did this using loadjava from a subdirectory within the xdk directory and everything worked fine. -
Java +XML (SAX) Parser for Oracle 8.1.5 EE
Hi there :)
I am looking java classes for SAX to parse XML. I cannot find a valid parser, cause after downloaded from Oracle XDK for java, when i try to load this calasses i get a messages that i alot of classes connot be resolved.
If somebody have valid classes on Ora 8.1.5 please send me mail.
AdamHave i possibilities to using some javatypes in oracle java stored procedure if this class is not loaded into db?
Cause i would like to create a java stored procedure to parse and insert some data from xml. I was thinking to pass xml file name as a parameter to my java procedure.
I must use Oracle 8.1.5 with jdk 1.1.7, and the best parser for me is SAX.
Please help.
Have i possobilities to use class inside oracle, which are placed outside oracle?
Something like classpath, where can i modify value (but classpath inside oracle)? -
What is the best solution for xml parsing?
Hi. I've got a huge problem with the XML xtra. When I was
running my application the memory usage started to grow up
and up...I've only parse the XML once on the beggining, so I
thought that maybe it was a problem with the garbage
colector, etc...after a loooong time, I've realized that
every time that I access some node to get some information, the
movie uses more and more memory. I've read in the groups that
the XML xtra is known for memory leaks issues, so I've
did what they suggested and changed to the dom-lingo cast
(the one from shocknet)...The problem is that now when I'm
parsing the XML it takes like 50 seconds (with the XML xtra
it was like 2 secs) something that I think it would be too slow
for the end-user... I don't know if there's a faster (and
free) alternative...
I'm using Director MX and my XML file it's about 550 kb
Thanks.It's reported tht the main memory leak has been fixed as of
10.1, a more
mino r node reference related leak can be worked around
http://www.killingmoon.com/director/bugs/xml_parser/
A workaround some used before the xtra beng made usable was
to call on
the Flash XML object available via in the flash xtra, here's
an article.
"Reading XML Into Director MX 2004 With a Simple Flash
Object"
http://director-online.com/buildArticle.php?id=1154 -
ANN: Oracle XML Parser for Java v2.0.0.1
A new maintenance release of the Oracle Parser for Java is
available for download. It has the following fixes and changes:
Bug fixes for #920536, i.e. Cannot access element attributes via
XSLT; #898423. i.e. ElementDecl's in DTDs; #774774, i.e. DOM
extensions using XSL pattern matching; #863890 i.e. SAX
IOException not thrown.
New APIs in the following new interface:
1. oracle.xml.parser.v2.NSResolver
- resolveNamespacePrefix( find the namespace definition in scope
for a given namespace prefix )
New APIs in the following classes:
1. oracle.xml.parser.v2.XMLNode
- selectNodes( Selects nodes from the tree which match the given
pattern; client can provide an NSResolver implementation to
resolve namespace prefixes in the pattern ).
2. oracle.xml.parser.v2.ElementDecl
- getParseTree( Returns the root Node of Content Model parse
tree, which could then be traversed node by node using
getFirstChild() and getLastChild(). The Node types are: PLUS,
COMMA, ASTERISK, ELEMENT, QMARK ).
This is the first beta patch release for v2.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
nullunzip -l appsborg2.zip | grep 9.0.4
0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip -
Options for XML parsing in WAS 6.20 ABAP and higher
Hello Experts,
What options are available to me for working with XML documents in SAP R/3 4.7? I am working on SAP WAS 6.20 ABAP and was wondering which tools/techniques I can use for parsing XML files?
I am developing an ABAP program and primarily need to be able to parse XML documents. I need to be able to traverse up and down their data structures (trees/nodes/elements/etc.).
In SAP R/3 4.6 I used to use the iXML library but it seems that there are many advanced and powerful features included in SAP WAS 6.20 ABAP and up.
Could someone please give me a summary of and their opinions on some these "newer" options?
Thanks,
- Vik.Hi Vik,
There are two ways you can parse/interpret XML documents in ABAP -
1. iXML - Which you have already used in 46 release. It wasn't easy to use set of functions but still it was possible to parse documents using iXML library. In WAS 6.20 you can now use class CL_XML_DOCUMENT which is much more easier to use than iXML library. It is bilt on top of iXML using the same DOM model.
2. XSLT - Useing XSLT_TOOLS or XSLT transaction you can create XSLT programs to transform XML to ABAP data objects and then work with ABAP data objects. In this case you have the option of using some other tool like XMLSPY to write the XSLT and then copy that to SAP.
From your post it looks like you will probably have to traverse the tree in unpridictable way, probably DOM based parsing using CL_XML_DOCUMENT is more suitable for you.
Cheers,
Sanjeev
Maybe you are looking for
-
2012 Airport Express Digital Output
Does the new 2012 AE pass 24 bit 192Khz audio from the optical digital output? DV
-
Adobe CC Membership Cancellation/Reactivation
On January 12th, 2015, I purchased a one year Student subscription to Adobe Creative Cloud. My current subscription was set to expire on the 18th of January, 2015. I wanted to wait to activate my new purchase until the expiration date, due to some co
-
How to create the shared library?
I am new to this topic. I would like to know how I should create the shared library? I followed the provided lesson's steps and in step 5, it states that a shared library has to be create. I am using Win2000 and I have installed Visual C++ 6.0, and w
-
Como actualizar de os x 10.7.5 a os x maverick
hola tengo mi macbook pro 15-inch intel core 2 duo 2.33 4 gb ram 500gb disco rogido, y quisiera actualizar a os x maverick, pero me dice que no es compatible con mi ordenador, actualmente estoy corriendo os x 10.7.5, necsito saber si alguna manera
-
How do i redeem exactly 33 cents in the US itunes store?
how do i redeem exactly 33 cents in the US itunes store?