Oliver Schalch schrieb:

Hello,

> Since I was threw into a big project and have to pull me more or less
> byself throught it, i have questions from the following lines, or if any
> can explain me what exactly will happen in this .xsl file:

I would recomment to read some Info about XSL(T):
http://www.w3schools.com/xsl/
After reading this, you should understand.

> This is between a html <form>:
> <xsl:apply-templates select="/lex:output/lex:lexeme"
> xmlns:lex="http://chaperon.sourceforge.net/schema/lexer/2
> .0"/>

This chooses the element "/lex:output/lex:lexeme"
(i.e. <lex:output><lex:lexeme text="bar">foo</lex:lexeme></lex:output>)
and applies the corresponding template (see above).

> And this is after the </html>:
> <xsl:template match="lex:lexeme"
> xmlns:lex="http://chaperon.sourceforge.net/schema/lexer/2.0";><xsl:value-of
> select="@text"/></xsl:template>

This template matches "lex:lexeme" and selects the Value of the
attribute text. (i.e. "bar" in the example above)

The "xmlns:lex=..." is the Namespace declaration.

> Of course this is in a <xsl:stylesheet>.
> 
> I would be happy if someone coulde explain me, step for step, where it
> goes trought, and, where I find the parts to read the documentation
> about those things. I just need some pushes until I get my "Aha" :-).

HTH
Christoph

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

Reply via email to