Domino Upgrade

VersionSupport end
5.0
6.0
6.5
7.0
Upgrade to 8.5x now!
(see the full Lotus lifcyle) To make your upgrade a success use the Upgrade Cheat Sheet. Contemplating to replace Notes? You have to read this!

Search

Reference

1. Learn XPages online
2. Communicate with IBMers and Lotus Experts using Sametime

About Me

I am the "IBM Collaboration & Productivity Advisor" for IBM Asia Pacific. I'm based in Singapore.
Reach out to me via:
Follow notessensei on Twitter
(posts)
Skype
Sametime
IBM
Facebook
LinkedIn
XING
Amazon Store
Amazon Kindle

Mobile tag

Twitter

Languages

Other languages on request.

Visitors

Useful Tools

Get Firefox
Use OpenDNS
The support for Windows XP is coming to an end and has . Time to consider an alternative to move on. sounds like a lot of time, but, like an object in a mirror, it is closer than you think.

« Developing OpenSource Software is fun (allways) and paid for (sometime) | Main| IBM's product names finally get a bite? »

What are you hiding from me?

QuickImage

By now you should be able to extract your database design as DXL. This opens a series of possibilities to run reports against your database to gain more insights into its design. Since Notes is around for so many years you will face the situation to inherit a database you haven't written. To understand its logic you need so see how Hide-when formulas have been used in the all over design. The following XSLT allows you to do this extraction.

Use it at a starting point and play with the layout. Ideas you could look at: Pack the whole report into a single table and load it into your favorite spreadsheet for sorting (a fancy Ajax lib could do that to).

<xsl:stylesheetversion="1.0" >
<xsl:outputmethod="xml"version="1.0"encoding="UTF-8"indent="yes" />
<xsl:templatematch="/" >
<html >
<head >
<title />
<styletype="text/css" />
</head>
<body >
<table >
<xsl:apply-templatesselect="//d:form" />
<xsl:apply-templatesselect="//d:subform" />
</table>
</body>
</html>
</xsl:template>
<xsl:templatematch="d:form" >
<tr >
<thcolspan="3" >
<h1 > Form
<xsl:value-ofselect="@name" />
</h1>
</th>
</tr>
<tr >
<th />
<th />
<th />
</tr>
<xsl:apply-templatesselect="//d:pardef[d:code/@event='hidewhen']" />
</xsl:template>
<xsl:templatematch="d:subform" >
<tr >
<thcolspan="3" >
<h1 > Subform
<xsl:value-ofselect="@name" />
</h1>
</th>
</tr>
<tr >
<th />
<th />
<th />
</tr>
<xsl:apply-templatesselect="//d:pardef[d:code/@event='hidewhen']" />
</xsl:template>
<xsl:templatematch="d:pardef" >
<tr >
<tdbgcolor="#EEEEFF" >
<xsl:value-ofselect="@id" />
</td>
<tdbgcolor="#EEFFEE" >
<xsl:value-ofselect="d:code/@enabled" />
</td>
<tdbgcolor="#FFEEEE" >
<xsl:value-ofselect="d:code[@event='hidewhen']/d:formula" />
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

Post A Comment

Please note: Comments without a valid and working eMail address will be removed. This is my site, so I decide what stays here and what goes.

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)

Disclaimer

This site is in no way affiliated, endorsed, sanctioned, supported, nor enlightened by Lotus Software nor IBM Corporation. I may be an employee, but the opinions, theories, facts, etc. presented here are my own and are in now way given in any official capacity. In short, these are my words and this is my site, not IBM's - and don't even begin to think otherwise. (Disclaimer shamelessly plugged from Rocky Oliver)
© 2003 - 2012 Stephan H. Wissel - all rights reserved as listed here: Creative Commons License
Unless otherwise labeled by its originating author, the content found on this site is made available under the terms of an Attribution/NonCommercial/ShareAlike Creative Commons License, with the exception that no rights are granted -- since they are not mine to grant -- in any logo, graphic design, trademarks or trade names of any type.