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

RE: xslt transformation did not create any output

Subject: RE: xslt transformation did not create any output
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Fri, 9 Dec 2011 13:09:53 +0000
RE:  xslt transformation did not create any output
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@xxxxxxxxx
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  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

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.