H
hawat.thufir
I'm looking at
<http://xmlserv.com/API/com/xmlserv/app/shared/SODocument.html#toXHTML(javax.xml.transform.Source)>
and <http://jtidy.sourceforge.net/> in trying to get some XML extracted
from XML. I'm reading two "for dummies" books, "XHTML for dummies" and
"XML for dummies", they're not the most current but are sufficient, I'm
sure.
I have some Java code which, using JTidy, reads in a URL and kicks out
the JTidy parsed file. The code is at <http://thufir.lecktronix.net/>,
click on "files" and "JTidy".
Where's the XML? I'm looking for either a "toXHTML" or "toXML" method
(function/routine/sub-program) in JTidy, but can't find it.
At this point I'm staying away from Necko
<http://people.apache.org/~andyc/neko/doc/html/> and Xerces
<http://xml.apache.org/xerces2-j/> simply because I have something with
JTidy, although I might switch to Necko later.
Anyhow, in the jar (which can be downloaded from
<http://thufir.lecktronix.net/> JTidy does parse a URL
(<http://www.yahoo.com/> is hard-coded in) and generates out.html.
Where's the XML, embedded within the XHTML?
thanks,
Thufir
<http://xmlserv.com/API/com/xmlserv/app/shared/SODocument.html#toXHTML(javax.xml.transform.Source)>
and <http://jtidy.sourceforge.net/> in trying to get some XML extracted
from XML. I'm reading two "for dummies" books, "XHTML for dummies" and
"XML for dummies", they're not the most current but are sufficient, I'm
sure.
I have some Java code which, using JTidy, reads in a URL and kicks out
the JTidy parsed file. The code is at <http://thufir.lecktronix.net/>,
click on "files" and "JTidy".
Where's the XML? I'm looking for either a "toXHTML" or "toXML" method
(function/routine/sub-program) in JTidy, but can't find it.
At this point I'm staying away from Necko
<http://people.apache.org/~andyc/neko/doc/html/> and Xerces
<http://xml.apache.org/xerces2-j/> simply because I have something with
JTidy, although I might switch to Necko later.
Anyhow, in the jar (which can be downloaded from
<http://thufir.lecktronix.net/> JTidy does parse a URL
(<http://www.yahoo.com/> is hard-coded in) and generates out.html.
Where's the XML, embedded within the XHTML?
thanks,
Thufir