Skip to Content

Creating a ResourceFilter with JAVA

Hi, all!

I asked through the OSS if it was possible to display XML documents from a repository branch (several subfolders) as a flat structure (traverse the tree and ignore folder location, just display them as if they were all in the same folder). I was told that it wasn't, but however, it could be a possibility to create a ResourceFilter with JAVA to perform this task. Now, I've searched the web and all documentation I could find, but not much useful info on how to do this. If anyone has any idea of where to find information about this, or maybe even another solution to the problem, I'd be really happy!

Have a nice weekend!

Best Regards,

Hans Petter Bjørn

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 09, 2004 at 07:32 PM

    If this what you searching for:

    Content Filter Managers

    When a client requests contents of a resource and a filter is configured for that resource then the content is always returned via the filter. The content itself is fetched from the repository manager, and then passed on to a filter manager for processing. Different filter managers are responsible for different types of file transformations. Currently the following managers are available:

    The Xslt filter manager transforms an XML document into a document with a different format. In the transformation process, an XSLT style sheet is applied to document and then a program called a formatter program creates a version of the document with the desired output format. With the help of the Xslt filter manager an XML file can be transformed and displayed in the formats:


    The Html filter manager changes the layout of an HTML document. It transforms an HTML document to a document with new formatting by applying a cascading stylesheet.

    At a technical level, the processes controlled by the different filter managers are executed by the Publishing Pipeline. This is responsible for actually converting a resource from one layout or format to another. For example, when an XML file is converted into a RSS file that is suitable for news items, the Publishing Pipeline performs the following steps:

    The XML file is translated into an internal XML that is represented as an XML DOM.

    An XSLT stylesheet is applied to the XML DOM. This adds layout information to the XML DOM and prepares it for the conversion to the new RSS format.

    A program called a formatter converts the XML DOM into the RSS output format and displays it for viewing.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.