xsl-list
[Top] [All Lists]

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

2008-07-12 05:39:25
 
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
   [.=('ABCD','EFGH','IJKL','LMNO')]">

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.

Thanks,

Pankaj Chaturvedi




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


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."

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--