411 REFERENCE · Wikibooks
XQuery/Filling Portlets
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Motivation
You want to be able to create reports that work with industry standard portals. These systems have standard div tags with class attributes that are standardized.
For example the searchbox for a page will have the following XHTML:
<div class="portal-searchbox">
</div>
Method
We will create a report that is structured as a set of divs with the appropriate class tags. We can then take the URL for this report and add it to the portal management system. Our report will automatically be styled according to the central portal style sheet.
Portal software allows
These divs need to be filled by XQueries:
portal-wrapper
portal-top
portal-header
portal-breadcrumbs
portal-searchbox
portal-advanced-search
portal-footer
portal-colophon
portal-personaltools