Hi ,
 
I am using Xerces / Xalan to transform XML pages to HTML.
After installing the latest version of Xalan and Xerces I am getting the following :
 
Error] :301:7: Element type "tr" must be declared.
[Error] :301:24: Element type "td" must be declared.
[Error] :302:60: Element type "xsl:value-of" must be declared.
[Error] :305:51: Element type "xsl:for-each" must be declared.
[Error] :306:7: Element type "tr" must be declared.
[Error] :306:24: Element type "td" must be declared.
[Error] :307:60: Element type "xsl:value-of" must be declared.
 
Lost of it :-)
 
This is hapenning after executing the following code :
 
TransformerFactory tFactory = TransformerFactory.newInstance();
StreamSource xslSource;
.
.
.
xslSource = new StreamSource(fis);
templates = tFactory.newTemplates(xslSource);
 
Does anyone have any ideas ? BTW , it was not hapenning on earlier versions of Xerces/Xalan ....
 
Every XSL file is starting with :
 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
 
Thanks in advance.
 

Regards ,
Dima Gutzeit
.
---------------------------------
MailVision LTD.
R&D Team.
Phone: 972 - 4 - 8508020
Fax: 972 - 3 - 9285149
http://www.mailvision.com


Reply via email to