Re: [xslt] libxslt



<received from="Daniel Veillard" date="22 Jul 2001" time="20:49">

<response>

G'day Daniel,

Fair enough, I hadn't confirmed whether it was allowed (but OTOH,
where is it proscribed?).

But it does not solve the real problem, that of the include not working ...

ajh@hawthorn /home/ajh/web/adt/plans 1022 $ xsltproc test.xsl index.xml 
xsltApplyOneTemplate: include was not compiled
unregistered variable StyleInfo
unregistered variable StyleInfo
xmlXPathEval: evaluation failed

</response>

  On Mon, Jul 23, 2001 at 10:27:50AM +1000, John Hurst wrote:
  >   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version=
"1.0">
  >     <xsl:variable name="StyleInfo">
  >       <xsl:element name="META">
  >         <xsl:attribute name="HTTP-EQUIV">Content-Style-Type</xsl:attribute>
  >       </xsl:element>
  >     </xsl:variable>
  >   </xsl:stylesheet>
  
    Hum ... xsl:element outside of a template ... I don't handle those,
  I'm uncertain if this is really allowed ... This would require a bit
  of work to support.
    In the meantime
      <xsl:variable name="StyleInfo">
        <META HTTP-EQUIV="Content-Style-Type"/>
      </xsl:variable>
   should allow to bypass this limitation,
  
  Daniel
  
  -- 
  Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
  veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
  http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
  Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com
  
  _______________________________________________
  xslt mailing list
  xslt@gnome.org
  http://mail.gnome.org/mailman/listinfo/xslt
  

</received>

cheers,
--John Hurst
--  Associate Dean (Teaching), Faculty of Information Technology
--  Associate Professor, School of Computer Science and Software Engineering
--rm G23, Building 63
--PO Box 26, Monash University, Clayton, VIC 3168            ~ ~~~&#:
--ajh@csse.monash.edu.au  +61 3 990 55192        _..___  ---____@___H__
--(mob 0407 569 041) (fax +61 3 990 55146)       |_____[_|_________[__]_
--http://www.csse.monash.edu.au/~ajh              oo oo  oo O--O--O o=o
--free times, see http://www.csse.monash.edu.au/~ajh/cgi-bin/appointments.cgi




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