"nothing is saved as well.", are you sure any file of name xyz.xml is
created, in usr/home for example ? I don't know much with Linux but if this
is supposed to write a file, it should...

Sorry.
----- Original Message -----
From: "Hans Wursten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 3:09 PM
Subject: Re: saving xml to file - server prob


> I have writing-rights.
> Yes, I am using windows. But if I write "xyz.xml" as filename instead of
the
> "\\ten-web\..."
> or use slashes, nothing is saved as well.
>
>
> > maybe the way you wrote the path with antislashes.... Linux system uses
> > slashes... Do you use Windows system on your local computer ?
> >
> > Maybe a write rights problem too.
> >
> > Babs
> > ----- Original Message -----
> > From: "Hans Wursten" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, September 19, 2002 2:45 PM
> > Subject: saving xml to file - server prob
> >
> >
> > > I am using the stylesheet below to save generated xml to a file. It
> > works
> > > fine, locally on my computer.
> > > But when I try to use the webapp on the (linux)server (ten-web),
nothing
> > is
> > > saved!
> > > What could be the problem?
> > > Thanks for any help!
> > >
> > >
> > > <xsl:stylesheet
> > >   version="1.0"
> > >   xmlns:xsp="http://apache.org/xsp";
> > >   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > >   xmlns:="http://www.w3.org/TR/xhtml1/transitional";
> > >   xmlns:add="http://www.w3.org/TR/xhtml1/transitional";
> > >   xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
> > >   extension-element-prefixes="redirect">
> > >
> > > <xsl:output method="xml" version="1.0" indent="yes"
> > encoding="iso-8859-1"/>
> > >
> > > <xsl:param name="framework" select="//requirements/@framework"/>
> > >
> > > <xsl:template match="/">
> > >
> > > <xsl:variable name="filename"
> > > select="concat('\\Ten-web\webapps\reqDyn\requirement\', $framework,
> > '.xml')"/>
> > >
> > > <megatop>
> > >
> > >     <redirect:write file="{$filename}">
> > >
> > > <xsl:apply-templates/>
> > >
> > >     </redirect:write>
> > >
> > > </megatop>
> > >
> > > </xsl:template>
> > >
> > >
> > > <xsl:template match="@*|*|text()|processing-instruction()">
> > > <xsl:copy>
> > > <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
> > > </xsl:copy>
> > > </xsl:template>
> > >
> > >
> > > </xsl:stylesheet>
> > >
> > > --
> > > Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen -
> > > und tolle Preise absahnen! http://www.onlinestar.de
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Please check that your question  has not already been answered in the
> > > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> > >
> > > To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
> --
> Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen -
> und tolle Preise absahnen! http://www.onlinestar.de
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to