Hi 

I did this, but it won't work:

<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:output method="text"/>


<xsl:template match="friend">
<xsl:text>
BEGIN:VCARD
VERSION:2.1
N:</xsl:text><xsl:value-of
select="/friend/name/last"/>;<xsl:value-of
select="/friend/name/first"/>
<xsl:text>REV:20010701T191407Z
END:VCARD</xsl:text>
</xsl:template>

</xsl:stylesheet>

what is wrong there ??

daniel 

 --- Mike Haarman <[EMAIL PROTECTED]>
schrieb: > 
> Include this as a top level element in your
> stylesheet.
> 
> <xsl:output method="text"/>
> 
> It will output the string value of all text nodes in
> the result tree.  You
> should set an encoding to avoid Xalan's complaints
> when it finds a
> character it cannot represent in the default.
> 
> Mike
> 
> 
> 
> 
> 
> Daniel Pfuhl <[EMAIL PROTECTED]> on 07/05/2001
> 03:05:12 PM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   User CocoonList <[EMAIL PROTECTED]>
> cc:
> Subject:  PlainText Output
> 
> 
> Hello
> 
> can someone tell me where to find some examples to
> learn how I can transform my xml and output this as
> plain text?
> 
> thanks in advance
> 
> daniel
> 
> =====
>
--------------------------------------------------------
> Daniel Pfuhl
> mailto:[EMAIL PROTECTED]
> 
>
__________________________________________________________________
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> 
>
---------------------------------------------------------------------
> 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:
> <[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/faqs.html>
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>  



=====
--------------------------------------------------------
Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to