Hi Derek

... not sound so encouraging ;-) - It seems to me, that - after following solproviders howto, lenya is accessing the xml from the external server (changing the uri to a not existing one results in a error message) - in my case I don't understand how to write the xslt for the output.

best regards and don't give up.

Jürgen


Am Feb 9, 2006 um 17:54 schrieb Derek Harmel:

I have nothing to add other than I have been completely unsuccessful
in trying to get Lenya to allow URLs for documents that don't exist in
the sitetree.  For whatever reason that I cannot figure out, I always
get some annoying error about the document not existing though I
clearly have a pipeline set up to process and serialize the URL.  I
don't get it, I'm about to give up on Lenya and Cocoon.

On 2/9/06, Jürgen Ragaller <[EMAIL PROTECTED]> wrote:
Hi all!

I am trying (hard) to get the external data howto working (lenya
1.2.4) as described in the second solution under

http://lenya.apache.org/1_2_x/how-to/external_data.html
or
http://solprovider.com/lenya/external

I have problems, writing people2xhtml.xsl .

For a starting point I copied page2xhtml.xsl and tried to access the
xml data from http://www.xmlhack.com/cdf.cdf (the external uri) writing:


.... lenya xmlns, parameters
<xsl:template match="cmsbody">
   <html>
   <head>
     ... lenya head code
   </head>
   <body>
     ... lenya body code

   <xsl:apply-templates select="TITLE" />

   </body>
</html>

</xsl:template>

<xsl:template match="TITLE">
   <xsl:value-of select="." />
<xsl:template>

...other lenya xsl code

Have fun... Probably this is plain wrong ;;;-)

Thank You for help - If someone can provide an example
people2xhtml.xsl from a successful external data howto try, I would
be very interested in having a look at the code - it would make the
example complete.


Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Derek Harmel
 :: Web Programmer
 :: KCI Technologies
 :: (410) 891-1746
 :: [EMAIL PROTECTED]


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

Reply via email to