Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [HELP!!] Multiple XSL stylesheet for a single XML file...

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 7/5/2004 11:49:00 AM

Emily Chen wrote:

> I have a XML file contains the information that i want to display in the
> different webpages, is it possible to create different XSL files to
> access the specific part of the single XML file? So that i can transform
> them to different webpages.
> 
> The XML file is like this:
> 
> <artists>
>   <male>
>     <maleSinger1>
>       <contents> </contents>
>       <album1>   </album1>
>       <album2>   </album2>
>     <maleSinger2>
>       <contents> </contents>
>       <album1>   </album1>
>       <album2>   </album2>
>   </male>
>   <female>
>     <femaleSinger1>
>       <contents> </contents>
>       <album1>   </album1>
>       <album2>   </album2>
>     <femaleSinger2>
>       <contents> </contents>
>       <album1>   </album1>
>       <album2>   </album2>
>   </female>
>   <group>
>    .......................
>    ......................
>   </group>
> </artists>
> 
> i want to create a XSL style sheet for the male, female, and group to
> transforming to a XHTML webpage. For maleSinger1 and maleSinger2, create
> a XSL stylesheet for transforming to a XHTML webpage... 
> Any idea for that? 

It rather seems to me that you need/want only one XSLT stylesheet that 
is then able to create different output files. Some XSLT 1.0 processors 
have extensions for that but MSXML doesn't.
There is a .NET extension that allows that, see
   http://www.tkachenko.com/dotnet/nxslt.html

Of course if all you want is different XSLT files to produce on output 
XHTML file each then I don't see any problem, that should work with any 
XSLT 1.0 processor.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent