[Moin-user] XSL and XML

Pierre Tissot pierre.tissot at gmail.com
Wed Mar 23 08:01:45 EST 2005


Hi everybody

Is that possible to use the allow_xsl to produce this kind of documents:

to put in the wiki a xml document like this:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/wiki/hello.xsl"?>
<greeting>Hello world.</greeting>

and apply the xsl :

<?xml version="1.0"?><!--hello.xsl-->
  <!--XSLT 1.0 - http://www.CraneSoftwrights.com/training -->

  <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 version="1.0">
 <xsl:output method="html"/>
  <xsl:template match="/">
      <b><i><u><xsl:value-of select="greeting"/></u></i></b>
  </xsl:template>
  
</xsl:transform>

I install

wiki : moin-1.3.4
4Suite : 4Suite-1.0a3
PyXML : 0.8.4

and the error reported is

XsltExceptionNo stylesheets to process.

XsltException: No stylesheets to process.
      __doc__ = None
      __getitem__ = <bound method XsltException.__getitem__ of
<Ft.Xml.Xslt.XsltException instance>>
      __init__ = <bound method XsltException.__init__ of
<Ft.Xml.Xslt.XsltException instance>>
      __module__ = 'Ft.Xml.Xslt'
      __str__ = <bound method XsltException.__str__ of
<Ft.Xml.Xslt.XsltException instance>>
      args = ('No stylesheets to process.', ())
      errorCode = 20
      message = 'No stylesheets to process.'
      params = () 


The VersionXslt is working fine, but what I'm want to do is quite
diferent (I think) maybe is not possible. Anybody tried.

Best regards
Pierre

P.S - Keep on mind that I'm a new fresh wiki user.

-- 
------------------------------------------------------------------------------
Pierre Eliás Tissot-Daguette
CERN - European Organization for Nuclear Research
Division/Group: EP/AIP 
Office: 13-R-010        
Mailbox: F27810
1211 Geneve - Switzerland
Phone:  +41 76 71988
Fax :     +41 22 7679480
Mail:     <pierre.tissot at gmail.com>
------------------------------------------------------------------------------




More information about the Moin-user mailing list