XML+CSS+WEB Developer(s) wanted

vo1stv
2013-05-08
2013-05-24
  • vo1stv

    vo1stv - 2013-05-08

    I've just added a couple files to my project (SwitchHats) in the
    <files section>

    My goal is to display an XML file in a split-window view. The XML consists of notes, code, listings, and tex elements. CSS and XSLT are to be used to transform the file for display in the LHS or RHS of the split-window view. On the LHS, code and listings elements are displayed: this allows the file to be compiled for execution. On the RHS, listings and tex are displayed. This allows the file to be typeset for documentation. An optional single view shows all sections as a composite file. CSS is provided showing how the composite file should be formatted.

    That's it. Any help would be appreciated.

     
    • dani

      dani - 2013-05-23

      This new version solve some inconsistencies.

       
  • dani

    dani - 2013-05-15

    What is exactly what you want to do?
    viewer2.html line 40 should be:
    <frameset rows="*,200" onResize="if (navigator.family == 'nn4') window.location.reload()" onload="displayResult('switchhats.xml','combined.xsl','comboview')">
    if not javascript will complain because switchhats.xml, combined.xsl and comboview are not javascript objects.
    Anyway I have a NETWORK_ERR: XMLHttpRequest Exception 101 because the code is trying to load switchhats.xml using file:// instead of http://

     
  • dani

    dani - 2013-05-15

    I mean that you have to put quotes around switchhats.xml, combined.xsl and comboview

     
    • vo1stv

      vo1stv - 2013-05-16

      Thanks for downloading and testing. I uploaded a new version of viewer2.html with single quotes around the filenames. I also added a zipped version to make it easier to download the full set of files for local testing.

      For best results view in Google Chrome. If you must have support for IE6 or another browser I will add it.

      I've implemented it in JavaScript. If one existed, I would have targeted a ubiquitous browser scripting language that browsers can actually run without fear. The JavaScript is only used to populate the three frames. Right now all three frames get the same treatment. What I am looking for is to have one sees TEX and another see CODE and LISTINGS. I suggest using XSL (i.e replace combined.xsl with tex.xsl or c.xsl) to pull in or leave out appropriate sections.

      I will add you as a developer if you like.

       
      • dani

        dani - 2013-05-17

        Yes, I want to be added as a developer to help with javascript, css and xsl issues.

         
        Last edit: dani 2013-05-17
  • dani

    dani - 2013-05-20

    Ok. I finish with the xsl transformation I am adding the ziped files

     
  • vo1stv

    vo1stv - 2013-05-23

    Beautiful!

    We should probably move this discussion to a forum or wiki on the project site.
    I prefer wiki (https://sourceforge.net/p/switchhats/wiki/Home/)... but there is also a developer forum there too (https://sourceforge.net/p/switchhats/discussion/1232732/)

     
    • dani

      dani - 2013-05-24

      The wiki is good for me.

       

Log in to post a comment.