![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - [HELP!!] Multiple XSL stylesheet for a single XML file... >Thread Next - Re: [HELP!!] Multiple XSL stylesheet for a single XML file... Re: [HELP!!] Multiple XSL stylesheet for a single XML file...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/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
