Hello ranch!
I have an application in which i need to print html document on the fly. There is going to be one document for every section in
a contact manager. i have a derby database that takes care of the user data and i want to display this data in the recently
mentioned html documents. I am working on a parser that will look for a specific element in the hypertext document where
i will print out data from the database such as headlines, images and blocks of text elements. Am i thinking in the right direction?
So far i have a class that creates html files in a directory on the fly if they not exists. The application first deletes theese
files on startup and then creates and process them. I am stuck when it comes to find the correct way to print out the html data
in theese documents and to process the html data. It is my goal to do this just as when you are creating xml documents
from the dom package. I want to do this using the javax.swing.text.html packages in
java and not just with the io writer classes.
I am displaying the files in a JEditorPane through nodes in a jtree component. The hard part right now is to figure out a way
to process the data within the documents in a similar manner to the processing of a xml document. I will return later with some
source code but right now i need to be pinched a little at certain directions and not just my own i am a complete
mushroom
when it comes to html parsing using java
...