RE: [xsl] Select statement within HREF

Subject: RE: [xsl] Select statement within HREF
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Fri, 31 Oct 2003 16:27:42 +0100
> 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.

2nd option I am working on.  I do get my client to have xml in the next
folder (if folder exists).  

Can I use any function to append PI to my xml documents on the fly?

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: 31 October 2003 15:40
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Select statement within HREF




>      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


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

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


Current Thread