Re: XSL Stylesheet warning message

Subject: Re: XSL Stylesheet warning message
From: Carlos Araya <elrond@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2000 16:15:56 -0700 (PDT)
On Fri, 14 Jul 2000, Jose Carlos wrote:

|"XSL Warning:Specificity conflicts found:  
|"* | text() | @*", text()|@*" Last found in stylesheet
|will be used.

Jose: The two rules that you specified have the same weight. After trying
to decide which one to run (and because they are worth the same to the
converter) it couldn't make up it's mind and decided to let you know that
it was running the last two of those rules. 

| 
|Has any of you guys encountered this before ? 

Yes, I have encountered before, both in XSL and CSS

|What are its implications? 

Because the two rules are similar, I don't see too many problems. Just to
be sure, I would put the more general of the two conflicting rules at the
end so the parser will execute the one matching the most nodes

HTH
Carlos

--
 p |Carlos E. Araya
 - |WebCT Project Coordinator - New Media Specialist
 G |Alquist Center for Instrucctional Development
   |San Jose State University

email	: araya@xxxxxxxx (prefered)		| Phone (408) 924 2859
Web	: http://valinor.sjsu.edu/~elrond/	| fax 	(408) 924 2439
	  http://www.silverwolf-net.net (under construction)

finger elrond@xxxxxxxxxxxxxxxx for PGP key
-- 
LIFE: You can't control the length, but you can control the depth and
width. -- From Randal Schwartz picture archive


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread