Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-help-dev] IHelpContentProducer filter for XSLT?



Regarded Help Developers:

Looking at bug 37676, the IHelpContentProducer interface, and the
org.eclipse.help.contentProducer extension point, it's exciting to have
this functionality available.

Would it make sense for a content producer to act as a filter?  That is,
can a content producer call a getInputStream(String pluginID, String href,
Locale locale) API to read a content file from a documentation plugin and
modify the content before returning it through a different input stream?

In particular, could a filter read an XML content file from a documentation
plugin and execute a cached XSLT script to filter and transcode the
contents, returning the generated XHTML?  Possibly determining the
appropriate XSLT script based on an extension point for the documentation
plugin?  Could that be a powerful solution for a common scenario?


Speculatively,


Erik Hennum
ehennum AT us DOT ibm DOT com




Back to the top