xsl basic usage

Nicholas Saunders <[email protected]>
Newsgroups gmane.comp.cms.tiki.user
Message-ID <CALJeZcTox-XvTo4ymA=wwsOO82jCfAayvC8u4PXg3gd1KAJVQg@mail.gmail.com>
Hi,

just a very basic question.  How do I use xsl from within tiki?  something like:



<scene>
  <FX>General Road Building noises.</FX>
  <speech speaker="Prosser">
    Come off it Mr Dent, you can't win
    you know. There's no point in lying
    down in the path of progress.
  </speech>
  <speech speaker="Arthur">
    I've gone off the idea of progress.
    It's overrated
  </speech>
</scene>


and

...
<xsl:template match="FX">
  <fo:block font-weight="bold">
    <xsl:apply-templates/>
  </fo:block>
</xsl:template>

<xsl:template match="speech[@speaker='Arthur']">
  <fo:block background-color="blue">
    <xsl:value-of select="@speaker"/>:
    <xsl:apply-templates/>
  </fo:block>
</xsl:template>
...


https://www.w3.org/Style/XSL/WhatIsXSL.html



anything specific to tiki here?





thanks,

Nick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.