Re: xalan -validate

Subject: Re: xalan -validate
From: Carlos Araya <elrond@xxxxxxxxxxxxxxxx>
Date: Wed, 14 Jun 2000 10:57:41 -0700 (PDT)
What it refers to is that you have to declare the style sheet's


Another question, why are you building a stylesheet DTD? That's not the
way you create an xsl stylesheet.


On Wed, 14 Jun 2000, Yasser El-Zein wrote:

|I am using xalan with the -validate flag. The parser complains about all the 
|<xsl:> constructs in my xsl file, that they should be declared. When I 
|define the DOCTYPE:
|<!DOCTYPE xsl:stylesheet [
|        <!ELEMENT xsl:stylesheet ANY>
|        <!ATTLIST xsl:stylesheet
|                version   CDATA #REQUIRED
|                xmlns:xsl CDATA #REQUIRED
|        >
|        <!ELEMENT xsl:template  ANY>
|        <!ATTLIST xsl:template match CDATA #REQUIRED>
|        <!ELEMENT xsl:value-of  ANY>
|        <!ATTLIST xsl:value-of select CDATA #REQUIRED>
|	...
|the parser stops complaining about the constructs declared in the DOCTYPE.
|I should not be doing this, right? Is there a concept similar to the C; 
|include (java; import) that would allow me to declare xsl and html tags?
|Get Your Private, Free E-mail from MSN Hotmail at
| XSL-List info and archive:

Carlos E. Araya
WebCT Project Coordinator - New Media Specialist
Alquist Center for Instrucctional Development
San Jose State University
1 Washington Square
San Jose, Ca 95192-0026

email	: araya@xxxxxxxx (prefered)		| Phone (408) 924 2859
	  elrond@xxxxxxxxxxxxxxxx		| Pager (408) 308 1793
Web	:	| Fax   (408) 924 2437	

finger elrond@xxxxxxxxxxxxxxxx for PGP key
Note: you are currently using an unregistered evaluation copy of your 
life. Register now for the full-featured version and cheat codes!         

 XSL-List info and archive:

Current Thread