Altova Mailing List Archives


Re: [xsl] xslt transformation did not create any output

From: Boudewijn Bosgoed <bbosgoed@----.-->
To: xsl-list@-----.------------.---
Date: 12/9/2011 1:14:00 PM
Roelof,

The closing tag of <div id="search" is not correct, you miss the "<" of "</div>

               <div id="search">                   
                                <form method="get" id="searchform" action="http:/test.tamarawobben.nl/">                      
                                        <input type="text" value="" name="s" id="s" class="txtField" />                      
                                        <input type="submit" id="searchsubmit" class="btnSearch" value="Find It ;" />                  
                                </form>                
                            /div>
           
Op 9 dec 2011, om 14:09 heeft Roelof Wobben het volgende geschreven:

> 
> 
> Hello, 
> 
> 
> 
> I did not skip that part,
> 
> I think I get confused during the way.
> 
> 
> 
> But according to this page : http://www.w3schools.com/xsl/xsl_apply_templates.asp
> 
> 
> 
> I have to be this way :
> 
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:template match="/" > 
>     <xsl:apply-templates select="head"/>
>      <xsl:apply-templates select="content"/>
>      <xsl:apply-templates select="bottom" />
>  </xsl:template>
> 
>  <xsl:template match="head" >
>    <head>  
>        <title>
>             <xsl:value-of select="$website-name"/> - <xsl:value-of select="$page-title"/>
>         </title>  
>        <link rel="stylesheet" type="text/css" href="{$workspace}/assets/css/style.css"/>  
>        <link rel="alternate" type="application/rss+xml" title="Notepad Chaos RSS Feed" href="http://www.notepadchaos.com/feed/" />
>        <link rel="pingback" href="http://www.notepadchaos.com/xmlrpc.php" />
>        <link rel="alternate" type="application/rss+xml" title="Notepad Chaos Feed" href="http://www.notepadchaos.com/feed/" />
>        <link rel="alternate" type="application/rss+xml" title="Notepad Chaos Comments Feed" href="http://www.notepadchaos.com/comments/feed/" />
>         <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.notepadchaos.com/xmlrpc.php?rsd" />
>         <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.notepadchaos.com/wp-includes/wlwmanifest.xml"/> 
>          <link rel='index' title='Notepad Chaos' href='http://www.notepadchaos.com/' /> 
>    </head>
>  </xsl:template>
> 
> 
> 
> But still the same error. 
> 
> 
> 
> Roelof
> 
> 
> 
> 
> ----------------------------------------
>> Date: Fri, 9 Dec 2011 12:59:48 +0000
>> From: andrew.j.welch@g...
>> To: xsl-list@l...
>> Subject: Re: [xsl] xslt transformation did not create any output
>> 
>> Roelof, it seems like you've skipped 'hello world' as you are missing
>> some of the basics... maybe give that a go before struggling on.
>> 
>> 
>> --
>> Andrew Welch
>> http://andrewjwelch.com
>> 
>> --~------------------------------------------------------------------
>> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
>> or e-mail: <mailto:xsl-list-unsubscribe@l...>
>> --~--
>> 		 	   		  
> --~------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@l...>
> --~--
> 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@l...>
--~--

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.