A Way of Creating XHTML Page from XML by Introducing dom4j
Yandong Xu · Computer Technology and Development · 2010
The returning search results displayed by SRU interface of cross-database search system are the XML document stream.IE browser can resolve the file stream,according to XSLT document,the XML document stream will automatically translated into XHTML document stream,can show search results.However,Firefox,Google Chrome browser was unable to resolve this XML document stream,which shows the non-standard text format text,users can not view the search results.In order to make these browsers display search results,by using dom4j API,according to XSLT documents,translated XML document stream into a XHTML document stream,so search results can normally display in Firefox,Google Chrome browser.