forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diana Shannon <terrac...@mac.com>
Subject Re: import of xml.apache.org main site into forrest
Date Wed, 05 Jun 2002 12:12:52 GMT

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>
> </xsl:template>
>
> This copies the complete root node to the output incl. attributes and 
> children.

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.

Diana
>
> Bert.
>
>
> 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>
>> </xsl:stylesheet>
>>
>> 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?
>>
>> Diana
>


Mime
View raw message