Changes between Version 16 and Version 17 of XsltMacro


Ignore:
Timestamp:
Jan 3, 2007, 8:03:45 AM (17 years ago)
Author:
roadrunner
Comment:

Updated for 0.5, including use_object option.

Legend:

Unmodified
Added
Removed
Modified
  • XsltMacro

    v16 v17  
    1212
    1313The macro can either be installed as a simple macro or as a plugin;
    14 the ''use_iframe'' option (see below) only works when installed as a
    15 plugin.
     14the ''use_iframe'' and ''use_object'' options (see below) only work
     15when installed as a plugin.
    1616
    1717This macro requires that [http://xmlsoft.org/ libxml2],
     
    2020
    2121
    22 == IFrames ==
     22== IFrames/Objects ==
    2323
    2424Because a macro's output is embedded in the html of the wiki page, the
    2525xsl-stylesheet must not produce a full html page. As an alternative,
    26 you can pass the ''use_iframe'' option to the macro; this will cause
    27 the macro put an <iframe> tag into the page instead of the results
     26you can pass the ''use_iframe'' or ''use_object'' option to the macro;
     27this will cause the macro put an <iframe> or <object> tag
     28(respectively) into the page instead of the results
    2829from the stylesheet. The stylesheet can (and must) then generate a
    2930complete html page.
    3031
    31 The downside of iframes is that you need to know the height of the
    32 result in order to set the height of the iframe; otherwise you'll
    33 either get extra space at the bottom or you'll have to scroll through
    34 the frame. The macro generates some javascript to automatically set
    35 this height, but that only works if the user has javascript enabled of
    36 course.
     32The downside of iframes/objects is that you need to know the height of
     33the result in order to set the height of the iframe/object; otherwise
     34you'll either get extra space at the bottom or you'll have to scroll
     35through the frame. The macro generates some javascript to
     36automatically set this height, but that only works if the user has
     37javascript enabled of course.
    3738
    3839== Bugs/Feature Requests ==
     
    5354unzip, change the directory to {{{xsltmacro/0.9}}}, run[[BR]]
    5455{{{python setup.py bdist_egg}}}, and copy the resulting
    55 {{{dist/xslt-0.4-pyX.Y.egg}}} to your plugins directory.
     56{{{dist/xslt-0.5-pyX.Y.egg}}} to your plugins directory.
    5657
    5758== Source ==