Groups | Search | Server Info | Login | Register


Groups > comp.text.xml > #876

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

From Peter Flynn <peter@silmaril.ie>
Newsgroups comp.text.xml
Subject Re: How do I set a filesystem local stylesheet for xsl transformation?
Date 2017-01-20 00:21 +0000
Message-ID <eed3gjFocimU2@mid.individual.net> (permalink)
References <o5ipni$58k$1@gioia.aioe.org>

Show all headers | View raw


On 01/16/2017 03:57 PM, Johann Klammer wrote:
> (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?

Browser XSLT is so badly broken that it is probably better to use
Saxon-CE or Saxon-JS.

///Peter

Back to comp.text.xml | Previous | NextPrevious 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