Re: [xslt] When will XSTL 1.0 fully implemented?

OK, I know that this wasn't necessarily directed at me, but I figured
it was a good time to jump in :) I posted the following bug report a
little bit ago and got no response.  I'm having trouble getting
xsltproc to match namespaces correctly.

Take for example the following XML file:

<?xml version="1.0"?>

<document xmlns="http://my/namespace";>
  <name>Title of my document</name>

and the following stylesheet:

<xsl:stylesheet version="1.0" 
  <!-- Root Node -->
  <xsl:template match="/">
        <title><xsl:value-of select="my:document/my:name"/></title>
  <!-- Header and Body for the Document -->
  <xsl:template match="my:document">
      <h1><xsl:value-of select="my:name"/></h1>
  <!--Don't display name-->
  <xsl:template match="my:name">


The file output by xsltproc has empty tags for <title> and <h1> where
they should contain the value of <name>.

Any help you can give me would be greatly appreciated.


On Tue, Apr 10, 2001 at 06:40:07AM +0100, Matt Sergeant wrote:
> On Mon, 9 Apr 2001, Sze, Tak F wrote:
> > Does anybody know when will XSLT 1.0 is fully
> > implemented in libxslt? There seems to be not
> > much activity on libxslt.
> It seems to be pretty complete to me. Why don't you post a bug report with
> what you think is missing?
> -- 
> <Matt/>
>     /||    ** Founder and CTO  **  **     **
>    //||    ** Ltd   **  ** XML Application Serving **
>   // ||    ** **  ** XSLT, XPathScript, XSP  **
>  // \\| // ** mod_perl news and resources:  **
>      \\//
>      //\\
>     //  \\
> _______________________________________________
> xslt mailing list
> xslt gnome org


"The programmer, like the poet, works only slightly removed from pure
 thought-stuff.  He builds his castles in the air, from air, creating
 by exertion of the imagination.  Few media of creation are so
 flexible, so easy to polish and rework, so readily capable of
 realizing grand conceptual structures."
                        -- Frederick Brooks, Jr., The Mythical Man Month

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]