Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Parse XML in Java

Name: Anonymous 2009-04-22 12:28

How to do it?

Name: Anonymous 2009-04-22 12:30

You can't.

Name: Anonymous 2009-04-22 12:32

>>2
I know there's an API under javax.xml, but everything is abstract, even the factories.

Name: Anonymous 2009-04-22 12:34

Java doesn't have an actual XML parser implementation.

Name: Anonymous 2009-04-22 12:35

>>3
Subclass it, you fucking retard.

Name: Anonymous 2009-04-22 12:52

2/10, >>1-san.

Name: Anonymous 2009-04-22 12:57

XML

Java

Now you have to problems.

Name: Anonymous 2009-04-22 13:11

>>5
You're a genius, you fucking idiot. That's why I came here, to see if there's some implemented parser that can work with DTD to generate classes or whatever.

Name: Anonymous 2009-04-22 13:14

>>8
implemented
You're looking for PHP, they have four seperate XML parsers, and a couple of duplicates for people who want to do ``Object Oriented'' programming.

Name: Anonymous 2009-04-22 13:16

>>8
And I hope you've learned by now that that was a very stupid thing to do. Coming here, that is.

Name: Anonymous 2009-04-22 13:17

>>8
If you haven't already noticed, approximately half of all extant programming documents in the entire world are about combining Java and XML in different ways. If you're too lazy to spend two minutes googling for a solution that matches your problem, I don't think you deserve anything better.

Name: Anonymous 2009-04-22 13:38

>>11

hax JA
 my VA
 anus!

Name: Anonymous 2009-04-22 13:47

Don’t you mean SAX my anus??

Name: Anonymous 2009-04-22 13:51


   ____ ∧ ∧   / ̄ ̄ ̄ ̄ ̄ ̄
 ~' ____(,,゚Д゚)< MY ANUS!
   UU    U U    \______

      ∧ ∧  / ̄ ̄ ̄ ̄
    (,,゚Д゚)< HAX HAX
     ⊂  ⊃ \____
    ~|  |
      し`J

Name: Anonymous 2009-04-22 16:45

>>13
I LOL'd.

Name: Anonymous 2009-04-22 19:54

JavaScript and JSON were here. Java and XML are losers.

Name: Anonymous 2009-04-23 6:58

Fag my anus?

Name: Anonymous 2009-04-23 8:29

>>16
Java was here, I am fully compatable and can be integrated with JSON from the groud up, including binding a JSON parser right into the URLConnection.

Name: Anonymous 2009-04-23 8:37

>>18
If only you had first-class functions so you could actually do that without ridiculously verbose hacks. Enjoy your singleton factoryFactoryFactories.

Name: Anonymous 2009-04-23 10:18

>>19
We do have first class functions.1 Face it, there is nothing Java cannot do- that is why it is number one when it comes to XP and RAD.
____________
References:
1. http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Method.html retrieved at Friday, 10:17PM Friday, 24 April.

Name: Anonymous 2009-04-23 10:24

retrieved at 10:17PM, Friday, 24 April.

Name: Anonymous 2009-04-23 10:56

>>20
This is what EXPERT JAVA PROGRAMMERS really believe.

Name: Anonymous 2009-04-23 11:44

>>20
Oh god, knowing that this exists makes me want to write a combinator library in Java.

Name: Anonymous 2009-04-23 13:34

>>23
Oh god, knowing that this exists makes me want to write a combinator library in Java.
... makes me want to ... Java.
0/10

Name: Anonymous 2009-04-23 19:04

Gee guys, let's resort to immature juvenile ad hominem attacks! If you can't come up with a civilized argument, you should probably return to /b/.

Name: Anonymous 2009-04-23 19:05

>>20
0/10

Name: Anonymous 2010-11-15 17:08

Name: Anonymous 2011-02-04 14:00

Name: Anonymous 2011-02-04 16:18

Name: Anonymous 2011-08-29 15:15

[quote]wwwww[/quote]
wwwww
wwwww
wwwwwww
wwwwww
wwwwwwwww

Don't change these.
Name: Email:
Entire Thread Thread List