For more information and examples, see the relevant section of the XSL FAQ:
"Aaron" <fromtheweb@aaronminoo.com> wrote in message
news:eO7GQawHGHA.2444@TK2MSFTNGP11.phx.gbl...
>I have tried document-for every type tag from XSLT and nothing. I know that
> it can be done--thanks for you help Dimitre.
>
>
>
> "Dimitre Novatchev" <dimitren@tpg.com.au> wrote in message
> news:43d2edf4$0$74635$892e7fe2@authen.yellow.readfreenews.net...
>>
http://www.w3.org/TR/xslt#document >>
>>
>> "Aaron" <fromtheweb@aaronminoo.com> wrote in message
>> news:enfK6ZvHGHA.140@TK2MSFTNGP12.phx.gbl...
>> > Dimitre,
>> >
>> > So what part of XSLT, for-each--apply-templates--variable?
>> >
>> > TIA
>> >
>> >
>> > "Dimitre Novatchev" <dimitren@tpg.com.au> wrote in message
>> > news:43d2a0a4$0$64711$892e7fe2@authen.yellow.readfreenews.net...
>> >> Read about the document() function in XSLT, then use it.
>> >>
>> >> Cheers,
>> >> Dimitre Novatchev
>> >>
>> >>
>> >> "Aaron" <fromtheweb@aaronminoo.com> wrote in message
>> >> news:OhigT$rHGHA.1728@TK2MSFTNGP09.phx.gbl...
>> >> > How do it bind the articlelink nodes in the layout.xsl??
>> >> >
>> >> > I have several xml pages(art1.xml, art2.xml, so on) that I know how
>> >> > link
>> >> > them up via articles.xml,
>> >> > <?xml version="1.0" encoding="utf-8"?>
>> >> > <articles>
>> >> > <articlelink href="art1.xml"/>
>> >> > <articlelink href="art2.xml"/>
>> >> > .....
>> >> > </articles>
>> >> >
>> >> > But the layout.xsl page is this:
>> >> > <?xml version="1.0" encoding="utf-8"?>
>> >> > <xsl:stylesheet version="1.0"
>> >> > xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"> >> >> > <xsl:output method="html" version="1.0" encoding="iso-8859-1"
>> >> > indent="yes"/>
>> >> > <xsl:template match="/">
>> >> > <xsl:for-each select="Article">
>> >> > <table align="center" width="95%" bordercolor="000000"
>> >> > bordercolordark="000000" bordercolorlight="000000">
>> >> > <tr>
>> >> > <td>
>> >> > <font size="5">
>> >> > <b>
>> >> > <xsl:value-of select="Title"/>
>> >> > </b>
>> >> > </font>
>> >> > </td>
>> >> > <td>
>> >> > <xsl:value=of select="Author"/>
>> >> > </td>
>> >> > </tr>
>> >> > <tr>
>> >> > <td colspan=2>
>> >> > <xsl:value-of select="substring(Body,1,350)"
>> > disable-output-escaping="yes"
>> >> > />
>> >> > </td>
>> >> > </tr>
>> >> > <tr>
>> >> > <td align="left">
>> >> > <b><xsl:value-of select="Date"/></b>
>> >> > </td>
>> >> > <td>
>> >> > <a href="http://{name}">
>> >> > <xsl:value-of select="thelink" />
>> >> > </a>
>> >> > <br/>
>> >> > <hr size=2>
>> >> > </td>
>> >> > </tr>
>> >> > </table>
>> >> > <hr size=2 color=blue />
>> >> > </xsl:for-each>
>> >> > </xsl:template>
>> >> > </xsl:stylesheet>
>> >> >
>> >> > TIA
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>