W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2004

Re: Calling a different stylesheet based upon XML tag?

From: Mark Lundquist <ml@wrinkledog.com>
Date: Mon, 25 Oct 2004 11:44:10 -0700
Message-Id: <DC035FDC-26B5-11D9-8DE1-000A95908E0E@wrinkledog.com>
Cc: <www-xsl-fo@w3.org>
To: "Wilde Rebecca L SSgt HQ SSG/STS" <Rebecca.Wilde@Gunter.AF.mil>

On Oct 25, 2004, at 6:25 AM, Wilde Rebecca L SSgt HQ SSG/STS wrote:

> Hello,
>
> I'm not sure if I have the right list or not, but I am trying to 
> figure out if I can use XSL or XSLT to direct which XSLT stylesheet I 
> wish to use to transform a set of XML tags.
>
> What I am wanting is to create multiple stylesheets based upon a tag 
> name.  So like one for <Order>, one for <Bill>, etc.  I'd then like to 
> be able to pass my XML through just one main stylesheet and have it 
> figure out which stylesheet I really need to transform and use those 
> template within it instead of another.
>
> What commands or usage do I need to be looking at to make this happen?
>
> Thank you!
>  Becky

Hi Becky,

Go to 
http://www.mulberrytech.com/xsl/xsl-list/subscribe-unsubscribe.html and 
subscribe to the XSL discussion list.  Then ask your question there, 
and I will answer it.

(Don't worry, the answer won't be "Sorry, you can't do this!" :-) :-) 
:-)

~mark
Received on Monday, 25 October 2004 18:44:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT