newbie
by Kevin Waterson <kevin(at)oceania.net>
|
Date: |
Thu, 23 Jan 2003 21:00:21 +1100 |
To: |
hwg-xml(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi all, new to xml/xsl yadda yadda
I am storing so information in a database (mysql)
I retrieve the information with a php class that converts
the sql to a xml string which I then format with an xsl template.
it all works fine and hoopy but I wondered at having multiple
documents within the same template.
Here I have a snippet from a document I am trying to create
<link href="./themes/default/css/blah.css" type="text/css" rel="stylesheet"></link>
<html>
<body>
<div id="Header">
<xsl:for-each select="userroot/result/row">
<span class="topmenu"><A href="{url}"> <xsl:value-of select="name"/> </A></span>
</xsl:for-each>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Is it possible, to have another template on the same page?
or am I wide of the mark here and missing something basic.
My only real guide is the w3schools site.
Kind regards
Kevin
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Kevin Waterson
Port Macquarie, Australia
HWG hwg-xml mailing list archives,
maintained by Webmasters