| <?xml version="1.0"?> |
| |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:d="http://www.lotus.com/dxl"> |
| |
| <xsl:output method="html"/> |
| |
| <xsl:template match="/"> |
| |
| <HTML> |
| |
| <HEAD> |
| |
| <TITLE></TITLE> |
| |
| </HEAD> |
| |
| <BODY> |
| <table> |
| <xsl:apply-templates/> |
| </table> |
| </BODY> |
| </HTML> |
| |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document"> |
| |
| |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| document metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| |
| |
| <xsl:apply-templates/> |
| </xsl:template> |
| |
| <xsl:template match="/d:document"> |
| |
| |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| document metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| |
| |
| <xsl:apply-templates/> |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:noteinfo"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <xsl:apply-templates/> |
| |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:noteinfo/d:created/d:datetime"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo created metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| noteinfo created metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:noteinfo/d:modified/d:datetime"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo modified metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| noteinfo modified metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:noteinfo/d:revised/d:datetime"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo revised metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| noteinfo revised metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:noteinfo/d:lastaccessed/d:datetime"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo lastaccessed metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| noteinfo lastaccessed metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:noteinfo/d:addedtofile/d:datetime"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| noteinfo addedtofile metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| noteinfo addedtofile metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:updatedby/d:name"> |
| <xsl:for-each select="@*"> |
| <tr> |
| <td> |
| updatedby metadata |
| </td> |
| <td> |
| <xsl:value-of select="name()"/> |
| </td> |
| |
| <td> |
| <xsl:value-of select="."/> |
| </td> |
| |
| |
| </tr> |
| </xsl:for-each> |
| |
| <tr> |
| <td> |
| updatedby metadata value |
| </td> |
| <td> |
| <xsl:value-of select="text()"/> |
| </td> |
| </tr> |
| |
| </xsl:template> |
| |
| |
| |
| |
| <xsl:template match="d:document/d:item"> |
| <tr> |
| <td class="key"> |
| <xsl:value-of select="@name"/> |
| </td> |
| <xsl:apply-templates/> |
| </tr> |
| |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:item/d:text"> |
| <td class="value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:item/d:text"> |
| <td class="text-value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:item/d:textlist/d:text"> |
| <td class="multi-text-value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:item/d:number"> |
| <td class="number-value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| <xsl:template match="/d:document/d:item/d:datetime"> |
| <td class="text-value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:item/d:datetimelist/d:datetimepair/d:datetime"> |
| <td class="date-time-list"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| |
| <xsl:template match="/d:document/d:item/d:rawitemdata"> |
| <td class="raw-item-value"> |
| type:<xsl:value-of select="@type"/> |
| </td> |
| <td class="raw-item-value"> |
| <xsl:value-of select="text()"/> |
| </td> |
| </xsl:template> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| </xsl:stylesheet> |