| 
 
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
namespace
<xsl:stylesheet
        version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Another question, why are you building a stylesheet DTD? That's not the
way you create an xsl stylesheet.
Carlos
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 http://www.hotmail.com
|
|
| XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|
--
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	: http://www.sjsu.edu/depts/alquist/	| Fax   (408) 924 2437
	  http://valinor.sjsu.edu/~elrond/	
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:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| xalan -validate, Yasser El-Zein | Thread | Re: xalan -validate, Yasser El-Zein | 
| RE: Using a tree read with document, Thorbjørn Ravn Ander | Date | RE: (Inlined CSS properties) - A dy, Svante Schubert | 
| Month |