P
Peter Duniho
The javax.xml and javax.xml.stream packages have some classes that look
very useful for writing and reading XML (the latter package especially).
Unfortunately, as near as I can tell they are for the most part only
supported in Java 6 and later. The few things that are documented as
being in Java 5, I don't see how they are useful for actually writing XML.
The XMLStreamWriter and XMLStreamReader classes are the ones in particular
that I'd find useful. But I need something that doesn't require Java 6.
I can write a simple implementation myself for my own purposes. What I'm
writing isn't very complicated and I can get by without a full-fledged
XML-compliant class. But I'd just as soon use a built-in class if there
is one.
I've searched the Sun docs every way that I can think of, but the only
thing that turns up each time are the Java 6 classes. The closest thing I
could find is a writer in the SQL package, but it doesn't seem appropriate
for my use (there's no database involved here).
Is there any simple XML support in Java 5? If so, can you please point me
to the appropriate class name or documentation page?
Thanks!
Pete
very useful for writing and reading XML (the latter package especially).
Unfortunately, as near as I can tell they are for the most part only
supported in Java 6 and later. The few things that are documented as
being in Java 5, I don't see how they are useful for actually writing XML.
The XMLStreamWriter and XMLStreamReader classes are the ones in particular
that I'd find useful. But I need something that doesn't require Java 6.
I can write a simple implementation myself for my own purposes. What I'm
writing isn't very complicated and I can get by without a full-fledged
XML-compliant class. But I'd just as soon use a built-in class if there
is one.
I've searched the Sun docs every way that I can think of, but the only
thing that turns up each time are the Java 6 classes. The closest thing I
could find is a writer in the SQL package, but it doesn't seem appropriate
for my use (there's no database involved here).
Is there any simple XML support in Java 5? If so, can you please point me
to the appropriate class name or documentation page?
Thanks!
Pete