Re: [xslt] multiple files generation directory



Hi,

thanks for prompt reply.

On Sat, Jan 25, 2003 at 06:20:58PM -0500, Daniel Veillard wrote:
> On Sat, Jan 25, 2003 at 11:03:04PM +0000, Bro1 wrote:
> > $ xsltproc -v -o /tmp/ /home/bro1/editable.xsl bbb.xml
> 
>   Read my mail ? apparently no, reread it.
> paphio:~ -> xsltproc  | grep -- -o
>         --output file or -o file: save to a given file

The man xsltproc  really says:

"-o directory/ directs the output files to a specified directory. The
directory must already exist."

I have also tried the following command (with full file name):
$ xsltproc -o /tmp/out.htm /home/bro1/editable.xsl bbb.xml

It behaves the same way as the command (with -o directory only):
$ xsltproc -v -o /tmp/ /home/bro1/editable.xsl bbb.xml
i.e. file /tmp/out.html is not created as I am using which is supposed
to now which file should be used for output:

<xsl:document href="tmp.html" method="html">
  Sample output.
</xsl:document>


> Also read http://exslt.org/exsl/elements/document/index.html
> <exsl:document
>    href = { uri-reference }
> 
>     You can learn about what an URI Reference is and how it is
> used in RFC 2396
>        http://www.ietf.org/rfc/rfc2396.txt
Does not help much :/


-- 
Linas Jakucionis aka Brovienas
http://bro1.tk/               - my personal page
http://qixite.sf.net/         - project qixite
http://kylixlibs.sf.net/      - Kylix libraries packaging project



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]