<?xml version="1.0"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd" >  
<rss version="0.91">

  <channel>
    <title>Recipes from the XSLT Cookbook</title>
    <language>en-us</language>
    <link>http://www.ActiveState.com/ASPN</link>
    <copyright>Copyright 2001, ActiveState SRL.</copyright>
    <webMaster>aspn-feedback@ActiveState.com</webMaster>

  <image>
    <title>ASPN: ActiveState Programmers Network</title>
    <url>http://www.activestate.com/img/logo_115x35.gif</url>
    <link>http://www.ActiveState.com/ASPN</link>
    <width>115</width>
    <height>35</height>
  </image>

  
  

    <item><title>Generic XML document into a SQL database</title>
<description>This XSLT generates SQL queries that saves the given document into a database&#46; Uses host&#45;language calls to perform the query and to obtain generated IDs&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/551758</link>
</item>
<item><title>Menu and submenu dependent on current page</title>
<description>Sometimes you have tree&#45;like menu and you want to present it as Main menu and show custom sub menu on page that is dependent on current page&#46; Here it is&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/498218</link>
</item>
<item><title>Numbering Figures in a Document</title>
<description>Sometimes&#44; in a formal document&#44; you want the figures numbered like &#34;2&#45;3&#34;&#44; &#34;5&#45;4&#34;&#44;
etc&#46;&#44; where the first number is the section number&#44; and the second number is the figure number within the section&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/415002</link>
</item>
<item><title>Verbatim Copying of Embedded HTML (HTMLViewer)</title>
<description>Some XML sources contain HTML fragments which simply need copying from the source into the output&#46; Here is the essential idea&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/275367</link>
</item>
<item><title>Tokenize strings and tabulate</title>
<description>Tokenizes strings into result tree fragments then processes those fragments to produce a table&#46; Works with mozilla 1&#43; &#40;which allows direct processing of result tree fragments&#41; and with IE6 &#40;with which it uses msxsl&#58;node&#45;set&#40;&#41; to enable the fragment processing&#41;&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/189861</link>
</item>
<item><title>Convert a flat xml file into a structured</title>
<description>Most csv to xml converters produce some kind of flat xml code which often needs to be transformed in a more usable &#40;i&#46;e&#46; structured&#41; representation or to match your existing stylesheets&#46; Tags have to be renamed&#44; others have to be inserted or dropped&#46; This styleheet does it all&#46; You even have not to be an XML programmer to customize it&#39;s behavior&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/151984</link>
</item>
<item><title>Tokenize a string</title>
<description>How to tokenize a string by separating it at a any of several characters and process each token individually&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/149199</link>
</item>
<item><title>Fast method to repeat a string</title>
<description>A recursive template to repeat a string a number of times in a manner similar to the Perl &#39;x&#39; operator&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/148987</link>
</item>
<item><title>Result Pagination with XSL</title>
<description>My technique for separating Xml results into pages&#46; The great thing is that it is fully implemented in XSL&#44; the bad thing is that you still have to deal with the entire result&#44; even though you are only showing a portion of it&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/117251</link>
</item>
<item><title>search and replace </title>
<description>there is no xpath&#45;function like this&#58; replace&#40;needle&#44; haystack&#41;&#46;
here&#39;s how i managed this functionality&#46; this code will replace &#34;&#46;html&#34; through &#34;&#46;php&#34; in a path&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/67667</link>
</item>
<item><title>Count previous nodes</title>
<description>It is sometimes useful to count nodes that precede the current one&#46; One way is to use the built&#45;in xsl&#58;count instruction but if you use the count&#40;&#41; function &#40;as opposed to instruction&#41; with the preceding axis&#44; you can easily use the result of the count in a larger expression&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/67108</link>
</item>
<item><title>Restricting processing to consider only the first instance of an element</title>
<description>Sometimes it is desirable to operate on an element type only once&#44; even if it appears many times in the document&#44; but still have the opertunity to collect information about every occurance&#46; </description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/66461</link>
</item>
<item><title>Generating a newline</title>
<description>Most newlines in XSLT are considered only for pretty&#45;printing the input document&#46; Unless they are adjacent to some other text&#44; they will be just thrown away&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/66001</link>
</item>
<item><title>Creating empty elements</title>
<description>New XSLT users often have problems creating empty elements like &#38;lt&#59;link&#38;gt&#59;&#44; &#38;lt&#59;br&#38;gt&#59;&#44; &#38;lt&#59;hr&#38;gt&#59; and so forth in XSLT stylesheets&#46; This recipe shows how&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65423</link>
</item>
<item><title>Internationalization using language files</title>
<description>
XSLT stylesheets often contain &#34;boiler&#45;plate text&#34; like &#34;Footnote&#34;&#44;
&#34;Total&#34; etc&#46; This text is typically specific to a particular language&#46;
This recipe shows how to localize boilerplate text to a particular
language&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65427</link>
</item>
<item><title>Search and Replace</title>
<description>XSLT has no first&#45;class function to search&#45;and&#45;replace&#46; Instead this
recipe implements it as a template&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65426</link>
</item>
<item><title>Getting text children of an element</title>
<description>There are a few ways to get the text from within an element&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65425</link>
</item>
<item><title>Extract text from XML document</title>
<description>The null XSL stylesheet will output the text of a document&#44; removing all of the tags&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65424</link>
</item>
<item><title>Determining the MSXML version</title>
<description>This is not so much an XSLT recipe but it is covered here because other recipes only work with particular versions of MSXML&#46; Most recipes depend on MSXML3&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65422</link>
</item>

  
</channel>
</rss>