[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JDOM XSLT TransformerConfigurationException
Hi Michael,
The following statements generated state.xml file:
URL stateUrl = new URL("http://www.abc.com"); URLConnection stateconnection = stateUrl.openConnection(); stateisInHtml = stateconnection.getInputStream(); statedisInHtml = new DataInputStream(new BufferedInputStream(stateisInHtml)); System.out.flush(); statefosOutHtml = new FileOutputStream("state.html"); while ((oneChar=statedisInHtml.read()) != -1) statefosOutHtml.write(oneChar); .....
statefrInHtml = new FileReader("state.html"); statebrInHtml = new BufferedReader(statefrInHtml); SAXBuilder statesaxBuilder = new SAXBuilder("org.ccil.cowan.tagsoup..Parser", false); org.jdom.Document statejdomDocument = statesaxBuilder.build(statebrInHtml); XMLOutputter stateoutputter = new XMLOutputter(); statefwOutXml = new FileWriter("state.xml"); statebwOutXml = new BufferedWriter(statefwOutXml); stateoutputter.output(statejdomDocument, statebwOutXml);
XPath had no problem looking up state.xml.
Thanks, Jack
From: Michael Kay <mike@s...> To: Jack Bush <netbeansfan@y...>; Robert Koberg <rob@k...> Cc: xml-dev@l... Sent: Monday, 5 January, 2009 2:13:33 AM Subject: RE: JDOM XSLT TransformerConfigurationException Nevertheless, I now encountered another issue this time:
Stay connected to the people that matter most with a smarter inbox. http://au.rd.yahoo.com/galaxy/mail/tagline2/*http://au.docs.yahoo.com/mail/smarterinbox.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|