Programming...
Have been stuck by the problem of parsing an XML document for three days! Couldn't parse the XML with JDOM, I tried the sample code provided by Apache Xerces J. This time, there's error when compiling the sample code, stating that org.apache.xerces.parsers.DOMParser couldn't be found. Talked to some colleagues about my problem, but they didn't have any sample code for parsing XML in java...O my god...
Today I finally got it solved, haha... After parsing it with the DOMParser, I passed the document into the DOMBuilder. Then I can make the document into a JDOM structure which means I can access it easily. I think I can go on quickly with the remaining. Great.
Have been stuck by the problem of parsing an XML document for three days! Couldn't parse the XML with JDOM, I tried the sample code provided by Apache Xerces J. This time, there's error when compiling the sample code, stating that org.apache.xerces.parsers.DOMParser couldn't be found. Talked to some colleagues about my problem, but they didn't have any sample code for parsing XML in java...O my god...
Today I finally got it solved, haha... After parsing it with the DOMParser, I passed the document into the DOMBuilder. Then I can make the document into a JDOM structure which means I can access it easily. I think I can go on quickly with the remaining. Great.
0 Comments:
Post a Comment
<< Home