BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


XHTML


 
 

<< XALANXML DOM >>
 


By Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First Posted 03/23/2001
Times viewed 343

Wrapping several generated XHTML pages inside one reusable XHTML frame


Summary Wrapping several generated XHTML pages inside one reusable xhtml frame of and and such.

In XSLT it is very easy to call templates for inserting a piece of content. This allows you to reuse the generating of a specific piece of content at different spots in a document. A thing that is just as important, but not as obvious, is how to reuse a wrapping piece of output code that can be used to wrap several different pieces of content. In this example we create a wrapper to generate an HTML page with , and possible and such. <p><Table width=100%><tr><td><b>Additional information</b></td></tr><tr><td><textarea name='code' readOnly='' rows='23' style='BORDER-BOTTOM: gray 1px inset; BORDER-LEFT: gray 1px inset; BORDER-RIGHT: gray 1px inset; BORDER-TOP: gray 1px inset; OVERFLOW: auto; width=100%' wrap='off' cols='70'><!-- Template to allow reuse of the standard start and end tags of HTML documents. Content and title can be passed as parameters --> <xsl:template name="pagewrapper"> <xsl:param name="content"/> <xsl:param name="titlebar"/> <html> <head><link href="style.css" rel="stylesheet" type="text/css" /> <title> <xsl:value-of select="$titlebar"/>

Further additional information


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< XALANXML DOM >>
 





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML