Hi ... I have a quick question. For learning purposes I have been using JDBC,
but recently Ive been trying to get into integrating XML into Servlets for
dynamic processing a page, but I have a question about XML parsing (not sure if
this would be the right list). Ive been using a small simple Perl XML parser I
made for some material but I wanted to know if there was something this simple
that existed for "servlet people".
If my file is something like this:
<TV>
<MODEL>Sony</MODEL>
<DIMENSIONS>17</DIMENSION>
<REMOTE>Yes</REMOTE>
</TV>
And I wanted to integrate it into my return back to the user, what is the
*easiest* way to insert it? Anything like String TV[] = getContent("MODEL");
Im looking for something that I can give it a file and give me back all the
content between the XML tags, simple and easy. I just want to know if there is
a package that exists that does this, or should I just write the parser myself?
Thanks.
- Jon
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jon Baer / MTV Networks
1515 Broadway - 29th Floor
New York, NY 10036
E. [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html