Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Can you have a dummy XSL?

From: "Hewko, Doug" <Doug.Hewko@--------------->
To:
Date: 8/1/2001 2:54:00 AM
Can you have a XSL that does not do any text formatting or processing? I am
working on a web page and want to enforce a standard look and feel. Part of
this standard is a generic header title, left bar navigation and footer
information. Tables would be used to maintain this look and feel. The title,
left bar and footer will contain text, links and icons. These would all be
standard.

Note: Of course, it might be a good idea to have a XML file to contain the
standard content, but then the question is how do I use two XML files? I am
using Cocoon2 to perform the processing and I start by definine one XML and
one XSL file.



************ XSL STYLESHEET ASSIGNED TO MY XML FILE ***************

<?xml version="1.0"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:param name="view-source"/>

  <xsl:template match="page">
   <html>
    <head>
     <title>
      <xsl:value-of select="pagetitle"/>
     </title>
    </head>
    <body bgcolor="cyan" alink="red" link="blue" vlink="blue">
<table>
<tr><td nowrap="nowrap" width="100">
<xsl:include href="navigation.xsl"/></td>
<td>
     <xsl:apply-templates/>
	 </td></tr>
</table>

************ MY DEVELOPMENT LEFT NAVIGATION ***************
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:text>Hello</xsl:text>
</xsl:stylesheet>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent