forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject Re: import of main site into forrest
Date Wed, 05 Jun 2002 13:11:45 GMT
I just gave it as an example, not that I implied to use it.
Steven's reason is correct.  You can't apply styling within the copy-of, 
but there are times you don't need it.
Thanks for pointing it out Steven.

At 08:12 5/06/2002 -0400, you wrote:

>On Wednesday, June 5, 2002, at 07:47  AM, Bert Van Kets wrote:
>>An alternative is
>><xsl:template match"/">
>>   <xsl:copy-of>
>>     <xsl:value-of select="."/>
>>   </xsl:copy-of>
>>This copies the complete root node to the output incl. attributes and 
>But you may not want this, particularly if your form is loosely 
>incorporated within another a document-v11 element, say, a table that has 
>separate treatment within document2html.xsl.
>>At 07:24 5/06/2002 -0400, you wrote:
>>>On Wednesday, June 5, 2002, at 06:37  AM, Piroumian Konstantin wrote:
>>>>Is there a vision on how another design/layout can be used for site
>>>>generation without using some specific markup or something more advanced
>>>>than the document-v11-dtd? Isn't it for documents and not sites?
>>>It's my recent understanding that
>>>   <xsl:template match="node()|@*" priority="-1">
>>>     <xsl:copy>
>>>       <xsl:apply-templates select="@*"/>
>>>       <xsl:apply-templates/>
>>>     </xsl:copy>
>>>   </xsl:template>
>>>within document2html.xsl copies xhtml elements that are not explicitly 
>>>handled in the document-v11.dtd. I've tried this and it works, e.g., for 
>>>forms. Sorry for my probably naive question: how would you validate docs 
>>>which contain such elements?

View raw message