Re: [xslt] simpler testcase



doh.

::::::::::::::
test1.xsl
::::::::::::::
<?xml version="1.0"?>
<xsl:stylesheet
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
   version="1.0"
   xmlns:dyn="http://exslt.org/dynamic";
   extension-element-prefixes="dyn"
   >

   <xsl:output method="xml" indent="yes"/>

   <xsl:template match="grammar">
     <dummy>
       <xsl:element name="rngform" 
namespace="http://simonwoodside.com/rng";>
         <title>RNG Form</title>
       </xsl:element>
     </dummy>
   </xsl:template>
</xsl:stylesheet>

::::::::::::::
test2.xsl
::::::::::::::
<?xml version="1.0"?>
<xsl:stylesheet
   xmlns:mid="http://simonwoodside.com/rng";
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
   version="1.0"
   >

   <xsl:output method="html" indent="yes"/>

   <xsl:template match="mid:rngform";>
     <html>
       <body>
         <xsl:apply-templates/>
       </body>
     </html>
   </xsl:template>

   <xsl:template match="mid:title";>
     <h1>
      <xsl:apply-templates/>
     </h1>
   </xsl:template>
</xsl:stylesheet>

On Friday, March 28, 2003, at 04:46  AM, Daniel Veillard wrote:

> On Thu, Mar 27, 2003 at 10:59:02PM -0500, S Woodside wrote:
>> A simpler testcase. Again I produced two different results in the
>> browser by forking manually from the trace.
>
>   I'm still lost, without the stylesheet used there is nothing I can 
> debug
> or look at.
>
> Daniel
>
> -- 
> Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
> veillard@redhat.com  | libxml GNOME XML XSLT toolkit  
> http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
>
>
--
      anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel




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