RE: [xsl] Conditional use of <xsl:apply-imports> or <xsl:import> XSLT 2.0

Subject: RE: [xsl] Conditional use of <xsl:apply-imports> or <xsl:import> XSLT 2.0
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Sat, 12 Jul 2008 18:10:24 +0530
Wendell Wrote:

3. Finally, is this a correct method to approach?

It does not appear on the surface to be incorrect. On the other hand, you
haven't provided many particulars.

On the other hand, I am not completely convinced that you don't want to to
use modes. You can have families of templates in different modes living in
separate stylesheet modules, to make them easier to maintain. Either
templates with modes or named templates with parameters are more flexible
than relying on xsl:apply-imports alone, even with conditional logic.

Yes true. I have revisited my requirements and come to the conclusion that I
should go with "mode". 

BTW <xsl:template match="article/meta/journalcode

Is giving me error, "Expected ) but found: ," (In Oxygen 9.3). I have been
using 1.0 formats with "or" option so I don't know where is the error.


Pankaj Chaturvedi

Confidentiality Notice:" This message and any attachment(s)
contained here are information that is confidential, proprietary to
IDS Infotech Ltd. and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it
is addressed to. If you are not the intended recipient of this
message, you are not authorized to read, forward, print, retain,
copy or disseminate this message or any part of it. If you have
received this e-mail in error, please notify the sender immediately
by return e-mail and delete it from your computer."

Current Thread