|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I created an xsl sheet. The only thing that I'm having trouble with is saving it as such. Are you supposed to just save it with .xsl extension?
Anybody help. Thnx |
|
#2
|
|||
|
|||
|
All you have to do is name the XSL file with the .xsl extension and reference it in the XML document with the below processing instruction:
<?xml-stylesheet type="text/xsl" href="filename.xsl" ?> Be sure to put this at the top of the page before any tags. Best place is after the XML declaration but before your first tag |
|
#3
|
|||
|
|||
|
Yep, you're right, but you should refer to your XSL parser for info, because some want to have the XSL stylesheet specified on the command line, such as Sablotron for Win32.
__________________
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - Jamie Zawinski, in comp.lang.emacs |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > How to save a file as xsl? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|