[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Can you have a dummy XSL?

Subject: Can you have a dummy XSL?
From: "Hewko, Doug" <Doug.Hewko@xxxxxxxxxxxxxxx>
Date: Wed, 1 Aug 2001 06:50:44 -0400
dummy.xsl
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.