ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] Select statement within HREF
by David Carlisle other posts by this author
Oct 31 2003 2:40PM messages near this date
RE: [xsl] Select statement within HREF | 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
Thread:
SHEIKH Sajjad
David Carlisle


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved