Sure , here it goes :
 
xml:
 
<?xml version="1.0" encoding="windows-1255"?>
<!DOCTYPE PageContent [
 <!ENTITY nbsp " ">
]>
<PageContent>
 <links>
  <link name="something">bla-bla-bla</link >
 <link name="something1">bla-bla-bla</link >
 <link name="something2">bla-bla-bla</link >
 </links>
</PageContent>
 
xsl:
 
<?xml version="1.0" encoding="windows-1255"?>
<!DOCTYPE PageContent [
 <!ENTITY nbsp " ">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html" version="1.0" encoding="windows-1255" indent="yes"/>
<xsl:include href=""/>
<xsl:include href=""/>
<xsl:include href=""/>
<xsl:template match="PageContent">
.
Some HTML page structure goes here
.
.
.
.
</xsl:template>
</xsl:stylesheet>
 
 
Thanks again for your help.
 
 
----- Original Message -----
From: "Andrew Welch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 23, 2003 12:20 PM
Subject: RE: "Element must be declared" issue



>Thanks for you answer.
>How do I turn off the validation on Xalan ?
>Are you sure the problem is in the XML ? Not in the XSL file ? Why it
does not recognize basic elements defined in the xsl namespace? or even
HTML ...


Ah ok, I'm guessing now but you may have assigned a namespace to the
default namespace in your stylesheet... If you posts a small sample of
xml and a snippet of stylesheet that you still get the error with, it
would help a lot.

cheers
andrew

Reply via email to