This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: one xsl file for two parsings
- To: xsl-list at mulberrytech dot com
- Subject: Re: one xsl file for two parsings
- From: Dan Morrison <dman at es dot co dot nz>
- Date: Wed, 05 Apr 2000 01:52:12 +1200
- Organization: Disorganised
- References: <38E9EC98.E7F45238@axime-is.fr>
- Reply-To: xsl-list at mulberrytech dot com
Joseph Vallot wrote:
>
> In this example, parsing depend on <type> value.
>
> If somebody could help...
I can see how you'd do this with xsl:choose, but is your example
complete, or do you need a solution to the general case (type could be
anything)?
If you know the set of possible types, Easy.
If you don't, it could get very fiddly.
.dan.
:=====================:====================:
: Dan Morrison : The Web Limited :
: http://here.is/dan : http://web.co.nz :
: dman@es.co.nz : danm@web.co.nz :
: 04 384 1472 : 04 495 8250 :
: 021 115 7339 : :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list