Subject: Re: [xsl] Priority and import precedence From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 31 Jan 2005 16:07:04 GMT |
> It just seems really strange that the ordering of the import statements > should be more important that the priority attribute. I think that the reason for xsl:import's existence is that you should be able to take 10000000000 lines of Norm's docbook stylesheets, xsl:import them and then define a couple of your own templates for specific elements where you want your own processing. You can be sure that your templates will win, even if you have not fully digested the publicly available stylesheets that you were importing. If you had to know the priorities on the templates that you wanted to override, you'd have to understand the stylesheets well enough to work out which templates were being used, and with what priority, and then specify a higher one. (well actually it would be easier just to keep adding 0's to the end of the priority until you won:-) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Priority and import prece, Andrew Welch | Thread | RE: [xsl] Priority and import prece, Andrew Welch |
Re: [xsl] from start tag A to end t, David Carlisle | Date | RE: [xsl] xalan-j - outputing html , Michael Kay |
Month |