restxsl

Transform reStructuredText files into XML files using XSL stylesheets
Download

restxsl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Michael Alyn Miller
  • Publisher web site:
  • http://www.strangegizmo.com
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 20 KB

restxsl Tags


restxsl Description

Transform reStructuredText files into XML files using XSL stylesheets restxsl transforms reStructuredText files into XML files using XSL templates. Most users will output XHTML files, but any form of XML file can be created.Every aspect of the generated content and layout can be controlled. A sample XSL template is provided to get you going, but you can easily create templates to match any type of site design. The strangeGizmo.com web site is 100% reStructuredText, generated entirely with restxsl.As an added bonus, restxsl can apply SmartyPants-style processing to your reStructuredText files. Quotes, dashes, and ellipses are all educated automatically as part of the restxsl processing pipeline. This behavior is controlled by a parameter to restxsl and can be enabled and disabled as desired.restxsl uses existing technologies to separate content, layout, and presentation. The result is an easy-to-use, well-balanced approach to web site design:· reStructuredText is used to author your content.· XSL handles the layout step, transforming your content into XHTML.· CSS styles your content and presents it to the user.Maintaining a reST+XSL+CSS site is much easier than maintaining an XHTML-based site. No complex tags or layout decisions enter into the content equation. Just fire up a text editor and start typing.restxsl will also make it very easy to change the layout and look of your site. Want to make a style change? Use CSS, just like in the CSS+XHTML world. Need to move content blocks around? Just change the appropriate XSL template; the content files stay the same. What's New in This Release: · Hyphens in literal blocks are now encoded as non-breaking hyphens. This prevents web browsers from wrapping lines that should otherwise be preserved. · restxsl.transform.restxsl now accepts an additional keyword argument (extModuleCookie) that will be passed to the first argument of all methods called by the pyxslt directive. This can be used to pass state information from the code that calls restxsl to the extension module’s functions. · Corrected the code that handles the pyxslt directive so that it looks for a node with the name pyxslt instead of python, which was the node name used by the alpha code. · The pyxslt directive now adds an additional attribute named method to the pyxslt tag. This attribute includes the name of the method that was called by the pyxslt directive. · There was an error in the pyxslt directive that prevented it from properly serializing the result set.


restxsl Related Software