Changes between Version 16 and Version 17 of XsltMacro
- Timestamp:
- Jan 3, 2007, 8:03:45 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XsltMacro
v16 v17 12 12 13 13 The 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 a15 plugin.14 the ''use_iframe'' and ''use_object'' options (see below) only work 15 when installed as a plugin. 16 16 17 17 This macro requires that [http://xmlsoft.org/ libxml2], … … 20 20 21 21 22 == IFrames ==22 == IFrames/Objects == 23 23 24 24 Because a macro's output is embedded in the html of the wiki page, the 25 25 xsl-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 26 you can pass the ''use_iframe'' or ''use_object'' option to the macro; 27 this will cause the macro put an <iframe> or <object> tag 28 (respectively) into the page instead of the results 28 29 from the stylesheet. The stylesheet can (and must) then generate a 29 30 complete html page. 30 31 31 The downside of iframes is that you need to know the height of the32 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 th e frame. The macro generates some javascript to automatically set35 this height, but that only works if the user has javascript enabled of 36 course.32 The downside of iframes/objects is that you need to know the height of 33 the result in order to set the height of the iframe/object; otherwise 34 you'll either get extra space at the bottom or you'll have to scroll 35 through the frame. The macro generates some javascript to 36 automatically set this height, but that only works if the user has 37 javascript enabled of course. 37 38 38 39 == Bugs/Feature Requests == … … 53 54 unzip, change the directory to {{{xsltmacro/0.9}}}, run[[BR]] 54 55 {{{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. 56 57 57 58 == Source ==