cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Storer <store...@muohio.edu>
Subject Re: Easy way to include xhtml when transforming xml to xhtml
Date Thu, 04 Mar 2004 20:08:35 GMT
Thank you so much. That save me a whole lot of time.

Kirk

Markus Heussen wrote:

>Ah now I understand your concern. Use <xsl:copy-of select="content"/> or
><xsl:copy-of select="content/*"/>.
>
>Markus
>
>  
>
>>-----Original Message-----
>>From: Kirk Storer [mailto:storerka@muohio.edu]
>>Sent: Thursday, March 04, 2004 9:00 PM
>>To: users@cocoon.apache.org
>>Subject: Re: Easy way to include xhtml when transforming xml to xhtml
>>
>>
>>Ok, I will try to explain this better.
>>I am using two files as sources, combined via aggregate in the sitemap.
>>The content of one of the files will be contained in <menu></menu>
>>The content of the other file will be contained in <content></content>
>>Both of these are then inside of <page> </page>
>>
>>I want to process the xml within <menu> into xhtml.
>>I merely want to use what is in the <content> tags as it is, it is
>>already xhtml.
>>
>>
>>this is an extremely simplified version of the xsl file
>>----------------------------------------------
>><xsl:template match="page">
>>    <xsl:for-each select="menu">
>>           do whatever
>>    </xsl:for-each>
>>
>>    <xsl:value-of select="content"/>
>></xsl:template>
>>-----------------------------------------------
>>If i use <xsl:value-of select="content"/> it displays the text, but not
>>all of the markup tags
>>
>>How can it get it to include all of the markup tags that are in the
>>file, such as
>> <p> </p>
>> <ul><li></li></ul>
>>etc.
>>
>>Thanks,
>>Kirk
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message