Web hosting contract - CHAPTER 6 INTRODUCTION TO XSLT 175 The

CHAPTER 6 INTRODUCTION TO XSLT 175 The first line of this code block tells the XSLT processor to match the element. The transformation applies to everything between the opening and closing tags. The stylesheet achieves this with the element, which specifies a template for the transformation. The next four lines show what to insert at the start of the template, before the contents from the original element. The stylesheet adds a paragraph with two links. The template doesn t transform the tag itself, so you have to include this tag at the start of the template. The transformation changes the starting tag to

Visit NASA! | Tour the solar system

This transformation includes a header with two links. Applying the Transformation The following line actually applies the transformation to the element: This line says, Work through all of the contents of the element and perform any other transformations you need to on any tags you find. In this case, you don t want to transform the rest of the element. Rather, you want it to pass through unchanged. You ll see how this happens shortly. Adding the Footer The last lines in this code block add the footer after the unchanged element:


Copyright Planetary Fun 2006. This creates a horizontal rule followed by the words Copyright Planetary Fun 2006. Unfortunately, because you re outputting to HTML 4.0, the
tag transforms to
. You end by closing the element to tell the XSLT processor that you ve finished working with the element. Transformation Without Change When the stylesheet applies the transformation, you want the remaining document contents to remain unchanged, including the , , , <style>, <b>,<br /> <h1>,<br /> <h2>, <ul>, and <li> elements. If you don t specify a transformation for these tags, the XSLT processor will ignore them. <br />From our experience, we are can tell you that you can find a reliable and cheap webhost service at <a href="http://www.tomcatjavahosting.com">Java Web Hosting</a> services. </p> <p class="postmetadata alt"> <small> This entry was posted on Saturday, September 29th, 2007 at 7:11 am and is filed under <a href="http://www.tomcatjavahosting.com/category/tomcat/" title="View all posts in Tomcat" rel="category tag">Tomcat</a>. You can follow any responses to this entry through the <a href='http://www.tomcatjavahosting.com/tomcat/web-hosting-contract-chapter-6-introduction-to-xslt-175-the/feed/'>RSS 2.0</a> feed. You can <a href="#respond">leave a response</a>, or <a href="http://www.tomcatjavahosting.com/tomcat/web-hosting-contract-chapter-6-introduction-to-xslt-175-the/trackback/" rel="trackback">trackback</a> from your own site. </small> </p> </div> </div> <!-- You can start editing here. --> <!-- If comments are open, but there are no comments. --> <h3 id="respond">Leave a Reply</h3> <form action="http://www.tomcatjavahosting.com/wp-comments-post.php" method="post" id="commentform"> <p><input type="text" name="author" id="author" value="" size="22" tabindex="1" /> <label for="author"><small>Name (required)</small></label></p> <p><input type="text" name="email" id="email" value="" size="22" tabindex="2" /> <label for="email"><small>Mail (will not be published) (required)</small></label></p> <p><input type="text" name="url" id="url" value="" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <!--<p><small><strong>XHTML:</strong> You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> </small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> <input type="hidden" name="comment_post_ID" value="257" /> </p> </form> </div> <hr /> <div id="footer"> <!-- If you'd like to support WordPress, having the "powered by" link someone on your blog is the best way, it's our only promotion or advertising. --> <p> Java Web Hosting, Subdomain, Vps Hosting, Cpanel, Programming Blog is proudly powered by <a href="http://www.visionwebhosting.net/">cheap hosting</a> <br /><a href="feed:http://www.tomcatjavahosting.com/feed/">Entries (RSS)</a> and <a href="feed:http://www.tomcatjavahosting.com/comments/feed/">Comments (RSS)</a>. <!-- 20 queries. 0.095 seconds. --> </p> </div> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> </body> </html>