YaNaM

Pipeline Tutorial


This is a quick walk through of the YaNaM XSLT Editor pipeline functionality.

The aim of this document is to demonstrate how you can link together transformations and see the out put in the application.
For more information about the project and its direction please go here.

Steps

  1. You need to have the JDK 1.4.2 from Sun before you can start.
    So far this app is only tested on Linux so it may or may not run on Windows or another OS.
  2. Untar the yanam.X.tar.gz with the command :
    tar xvzf yanam.X.tar.gz
  3. Change directory with the command :
    cd yanam
  4. Run the app with the command :
    java -jar yanam.jar
  5. You should now have the screen below
  6. In the XML tab type the following :
    <root>test</root>
  7. In the XSLT tab type the following :
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <xsl:copy-of select="." />
      </xsl:template>
    </xsl:stylesheet>
  8. Create a second page by selecting File --> New Editor
  9. You will be prompted for a name.
    You can accept the default here.
  10. Select the XSLT tab and type in the same as you did for the first XSLT sheet.
  11. In the pipe liste menu on the left check both items.
  12. Now press the run pipe command on the top toolbar.
    You should now have a screen like this.
  13. Click the output tab on default_1 and you should see the result of your transformations
  14. If you do not see any output then check the error tables on both forms to see what the debugger has detected
  15. There are other features in YaNaM such as :
      Drag and drop from the functions menu
      Reordering of transforms by dragging the list items
      Stepping over transforms by unselecting editors.
      The usual short cut keys CTL + Z, CTL + Y, CTL + C, CTL + X and CTL + P should also function.
  16. Please send feed back to the forums.

Last Updated 19/09/2003