Groups | Search | Server Info | Login | Register


Groups > comp.text.xml > #872

How do I set a filesystem local stylesheet for xsl transformation?

From Johann Klammer <klammerj@NOSPAM.a1.net>
Newsgroups comp.text.xml
Subject How do I set a filesystem local stylesheet for xsl transformation?
Date 2017-01-16 16:57 +0100
Organization Aioe.org NNTP Server
Message-ID <o5ipni$58k$1@gioia.aioe.org> (permalink)

Show all headers | View raw


(in linux with firefox)
This snippet:

<?xml version="1.0" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="res:///usr/share/pcb/pcb_ba.xsl"?>
<!DOCTYPE pcb_ba SYSTEM "/usr/share/pcb/pcb_ba.dtd">

It works ok if I just give href="pcb_ba.xsl"
and the file is in the current directory. 
But if I put an absolute path there, 
I'll just get a blank screen and the 
debugger sez there's no stylesheet loaded. 
Same problem if I prefix with file:// or res:// as above.
I can ls and cat the file, as user, 
so it's likely not a permissions problem. 

What am i doing wrong?

Back to comp.text.xml | Previous | NextNext in thread | Find similar


Thread

How do I set a filesystem local stylesheet for xsl transformation? Johann Klammer <klammerj@NOSPAM.a1.net> - 2017-01-16 16:57 +0100
  Re: How do I set a filesystem local stylesheet for xsl transformation? Luuk <luuk@invalid.lan> - 2017-01-16 21:30 +0100
    Re: How do I set a filesystem local stylesheet for xsl transformation? Johann Klammer <klammerj@NOSPAM.a1.net> - 2017-01-17 09:25 +0100
      Re: How do I set a filesystem local stylesheet for xsl transformation? Johann Klammer <klammerj@NOSPAM.a1.net> - 2017-01-19 16:59 +0100
  Re: How do I set a filesystem local stylesheet for xsl transformation? Peter Flynn <peter@silmaril.ie> - 2017-01-20 00:21 +0000

csiph-web