Re: [xsl] Select statement within HREF

Subject: Re: [xsl] Select statement within HREF
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 31 Oct 2003 14:40:11 GMT

>      Can you not just put a style sheet in the top of your xml?

>
>  I would love to do that but it is not practical.
>
>  Imagine, 100,000 folders with xml document in each folder.  They all
>  need to publish.  Manually, it will cost a fortune to add style sheet in
>  each folder and add the reference to that style sheet in each xml
>  document.


Well, you have a choice, you can either do the transformations on the
server and send html to the client, in which case you don't need any
stylesheet PI at all, and you just need to generate <a href links to the
.html files that you have generated, rather than to .xml sources.

Or, you send xml to the client and have the client transform to html,
in which case you need to tell the client which stylesheet to use, and
currently (unfortunately) the only portable way of doing that is with
a xml-stylesheet PI.

David



-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread