You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Aguirre, Carlos (C.)" <ca...@visteon.com> on 2001/12/19 00:13:42 UTC

HELP With docs...

Hi,
how can i make reference to a .doc file 
i have 
webapps/deptos/sales
inside of sales 
i have the xml file and two .doc files 
in the xml file i make a reference to de doc files
like this 
<document link="sales.doc">
in the sitemap i have this for the gifs and it works fine
<map:match pattern="*.gif">
        <map:read src="{1}.gif" mime-type="image/gif"/>        
</map:match>

but for the the .doc files it does not work..

how can i declare them in the map:match???

regards...

Carlos Aguirre

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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: HELP With docs...

Posted by Mauricio Souza Lima <ma...@terra.com.br>.
I think you forgot to put the map:match for the .doc files to us.


"Aguirre, Carlos (C.)" wrote:
> 
> Hi,
> how can i make reference to a .doc file
> i have
> webapps/deptos/sales
> inside of sales
> i have the xml file and two .doc files
> in the xml file i make a reference to de doc files
> like this
> <document link="sales.doc">
> in the sitemap i have this for the gifs and it works fine
> <map:match pattern="*.gif">
>         <map:read src="{1}.gif" mime-type="image/gif"/>
> </map:match>
> 
> but for the the .doc files it does not work..
> 
> how can i declare them in the map:match???
> 
> regards...
> 
> Carlos Aguirre
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>

-- 
Mauricio Souza Lima
Rational Consulting
mauriciosl@terra.com.br
Rua Helena, 140 / cj. 82
São Paulo - SP - Brazil
Fone / Direct: +55 11 3842-7138

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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Accessing and Merging XML Documents with XSP

Posted by me...@nickfingerhut.com.
Hi everybody,

can someone tell me, how to access xml documents with XSP and how to merge 2
or more xml files with using XSP NOT the sitemap functionalities? Both with
cocoon2.


regards,
Nick Fingerhut


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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: xml-stylesheet in Cocoon 2

Posted by Joerg Heinicke <jo...@gmx.de>.
More or less Cocoon 2 is completely different. The sitemap.xmap is the
important file. For more information read
http://xml.apache.org/cocoon/ctwig/index.html, which describes "everything"
with Cocoon 2.

Regards,

Joerg

> Hello,
>
> does anyone know if these kind of statements still work in cocoon2?
>
> <?cocoon-process type="xslt" ?>
> <?xml-stylesheet href="format-xsp.xsl" type="text/xsl" ?>
>
> i tried to run these stuff on my cocoon2 machine but i was'nt able to run
> these scripts.
>
> regards
>
> Nick



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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


xml-stylesheet in Cocoon 2

Posted by me...@nickfingerhut.com.
Hello,

does anyone know if these kind of statements still work in cocoon2?

<?cocoon-process type="xslt" ?>
<?xml-stylesheet href="format-xsp.xsl" type="text/xsl" ?>

i tried to run these stuff on my cocoon2 machine but i was'nt able to run
these scripts.

regards

Nick


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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>