Author: jonathan
Date: Mon Dec  3 18:52:38 2007
New Revision: 10458

Log:

Miscellaneous formatting improvements and CSS cleanup.  Removal of unused 
styles.

Modified:
   trunk/commons/dynamic-codegen/src/doc.xslt
   trunk/commons/dynamic-codegen/src/tryit.xslt

Modified: trunk/commons/dynamic-codegen/src/doc.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/doc.xslt  (original)
+++ trunk/commons/dynamic-codegen/src/doc.xslt  Mon Dec  3 18:52:38 2007
@@ -239,16 +239,15 @@
                 width: 90%;
             }
 
-            /* footer styles */
             div#footer {
                 margin-top: 30px;
                 clear: both;
-                height: 19px;
+                height: 21px;
                 background-color: #ccc;
                 border-top: solid 1px #F47B20;
-                padding-left: 20px;
+                padding-left: 40px;
                 padding-top: 3px;
-                font-size: 9pt;
+                font-size: 8pt;
             }
 
             /* middle styles */

Modified: trunk/commons/dynamic-codegen/src/tryit.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/tryit.xslt        (original)
+++ trunk/commons/dynamic-codegen/src/tryit.xslt        Mon Dec  3 18:52:38 2007
@@ -315,8 +315,9 @@
     /*
      * selectOperation : Present one of the operations to the user as a form.
      *
-     *    op: name of the operation to present.
+     *    op: name of the operation to present.  If omitted, refresh the last 
selected operation.
      */
+    var currentOperationName = "";
     var currentOperation = "";
     var currentOperationLabel = "";
     function selectOperation(op) {
@@ -326,6 +327,11 @@
             currentOperationLabel.className = "operation";
         }
 
+        // save the current operation name for automatic cleanup
+        if (op == null)
+            op = currentOperationName;
+        else currentOperationName = op;
+
         // show the requested operation
         currentOperation = document.getElementById("params_" + op);
         currentOperation.style.display = "block";
@@ -462,7 +468,7 @@
         thisInput = thisExpando.parentNode.getElementsByTagName("*").item(0);
         if (thisExpando.className == "cornerExpand") {
             // increase the height and width of the textarea, and change the 
icon to "collapse".
-            thisInput.style.width = "50em";
+            thisInput.style.width = "80%";
             thisInput.style.height = "6em";
             thisExpando.className = "cornerCollapse";
             thisExpando.title = "Reduce typing space";
@@ -486,6 +492,11 @@
     function toggleconfig(toHide, toShow) {
         document.getElementById(toHide).style.display = "none";
         document.getElementById(toShow).style.display = "block";
+
+        // bug fix for relative items that might not update correctly.
+        if (browser == "ie" || browser == "ie7") {
+            selectOperation();
+        }
     }
 
     /*
@@ -668,13 +679,14 @@
                 <table class="ops">
                     <xsl:if test="documentation/node()">
                         <tr>
-                            <td colspan="2" class="documentation">
-                                <!-- MASHUP-65 workaround -->
-                                <xsl:choose>
-                                    <xsl:when test="not(documentation/*) and 
starts-with(documentation,'&lt;')"><xsl:value-of select="documentation" 
disable-output-escaping="yes"/></xsl:when>
-                                    <xsl:otherwise><xsl:copy-of 
select="documentation/node()"/></xsl:otherwise>
-                                </xsl:choose>
-                                <div style="height: 20px"></div>
+                            <td colspan="2">
+                                <div class="operationDocumentation">
+                                    <!-- MASHUP-65 workaround -->
+                                    <xsl:choose>
+                                        <xsl:when test="not(documentation/*) 
and starts-with(documentation,'&lt;')"><xsl:value-of select="documentation" 
disable-output-escaping="yes"/></xsl:when>
+                                        <xsl:otherwise><xsl:copy-of 
select="documentation/node()"/></xsl:otherwise>
+                                    </xsl:choose>
+                                </div>
                             </td>
                         </tr>
                     </xsl:if>
@@ -683,7 +695,7 @@
                             <xsl:choose>
                                 <!-- this parameter represents expandable 
parameters -->
                                 <xsl:when test="@token = '#any'">
-                                    <td class="label">(additional 
parameters)</td>
+                                    <td class="label"><div>(additional 
parameters)</div></td>
                                     <td class="param">
                                         <input type="text" 
id="input_{$name}_additionalParameters" class="emptyfield" value="xs:anyType"  
onfocus="prepareInput(event)" onblur="restoreInput(event,'(xs:anyType)')" />
                                         <!-- TODO expandable fields of 
additional parameters -->
@@ -731,9 +743,9 @@
                                     <xsl:variable name="prefix">
                                         <xsl:if test="@type-namespace = 
'http://www.w3.org/2001/XMLSchema'">xs:</xsl:if>
                                     </xsl:variable>
-                                    <td class="label">
+                                    <td class="label"><div>
                                         <xsl:value-of select="@name"/>
-                                        <xsl:if test="@minOccurs &lt; 1 or 
@maxOccurs &gt; 1 or @maxOccurs = 'unbounded'"><sub>(<xsl:value-of 
select="@minOccurs"/>..<xsl:choose><xsl:when test="@maxOccurs = 
'unbounded'">*</xsl:when><xsl:otherwise><xsl:value-of 
select="@maxOccurs"/></xsl:otherwise></xsl:choose>)</sub></xsl:if></td>
+                                        <xsl:if test="@minOccurs &lt; 1 or 
@maxOccurs &gt; 1 or @maxOccurs = 'unbounded'"><sub>(<xsl:value-of 
select="@minOccurs"/>..<xsl:choose><xsl:when test="@maxOccurs = 
'unbounded'">*</xsl:when><xsl:otherwise><xsl:value-of 
select="@maxOccurs"/></xsl:otherwise></xsl:choose>)</sub></xsl:if></div></td>
                                     <td class="param">
                                         <div id="[EMAIL PROTECTED]">
                                             <!-- first child is a hidden 
template for cloning additional array items -->
@@ -787,337 +799,374 @@
 
     <!-- template for inserting CSS -->
     <xsl:template name="css">
-            <!-- css is embedded rather than linked so that the $image-path 
can be altered dynamically -->
-            <style type="text/css">
-body {
-    margin: 0px;
-    padding: 0px;
-    font-family: "Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida 
Sans Unicode",verdana,sans-serif,"trebuchet ms";
-    font-size: 10pt;
-}
-
-p { }
-
-td { }
-
-a:link { }
-
-a:visited { }
-
-a:hover { }
-
-a:active { }
-
-a img {
-    border: 0px;
-}
-
-/* header styles */
-div#header {
-    height: 70px;
-    border-bottom: solid 1px #F47B20;
-}
-div#header h1 {
-    margin-top: 10px;
-    margin-bottom: 0px;
-    margin-left: 0px;
-    margin-right: 0px;
-    padding-left: 40px;
-    padding-top: 15px;
-    padding-right: 0px;
-    padding-bottom: 0px;
-    font-size: 18pt;
-    font-weight: normal;
-}
-div#logo {
-    padding-top: 5px;
-    padding-right: 25px;
-    float: right;
-}
-div#logo a img {
-    border: 0px;
-}
-/* body styles */
-div#body {
-    background-image: url(<xsl:value-of select="$image-path"/>header-bg.gif);
-    background-position: top left;
-    background-repeat: no-repeat;
-}
-div.documentation {
-    padding-left: 40px;
-    padding-top: 10px;
-    padding-bottom: 20px;
-    width: 90%;
-}
-/* end point styles */
-div#endpoint {
-    margin-left: 40px;
-    margin-right: 40px;
-}
-/* end point collapsed styles */
-div#endpoint div#endpoint-collapsed {
-    border-bottom: solid 1px #999;
-    border-right: solid 1px #999;
-    width: 150px;
-}
-div#endpoint div#endpoint-expanded {
-    border-bottom: solid 1px #999;
-    border-right: solid 1px #999;
-    width: 450px;
-}
-
-div#endpoint-collapsed div.bottom .right-corner a img,
-div#endpoint-expanded div.bottom .right-corner a img {
-    border: 0px;
-    vertical-align: bottom;
-}
-div#endpoint-collapsed div.bottom,
-div#endpoint-expanded div.bottom {
-    height: 16px;
-    text-align:right;
-    padding: 0px;
-    margin: 0px;
-}
-div#endpoint-collapsed div.bottom .right-corner,
-div#endpoint-expanded div.bottom .right-corner {
-    width: 16px;
-    border: 0px;
-    margin-bottom: 0px;
-    position:relative;
-    top:6px;
-    left:6px;
-}
-
-/* middle styles */
-div#middle {
-    margin-left: 35px;
-    margin-top: 15px;
-    margin-right: 50px;
-    margin-right: 20px;
-    margin-bottom: 0px;
-}
-/* tabs styles */
-div#middle table#middle-content {
-    padding: 0px;
-    margin: 0px;
-    border-collapse: collapse;
-    width: 100%;
-}
-div#middle table#middle-content tr td {
-    vertical-align: top;
-    padding: 0px;
-}
-div#middle table#middle-content tr td.left-tabs {
-    background-image: url(<xsl:value-of 
select="$image-path"/>left-tabs-bg.gif);
-    background-position: top right;
-    background-repeat: repeat-y;
-    background-attachment: scroll;
-    width: 5%;
-}
-div#middle table#middle-content tr td.bottom-left {
-    background-image: url(<xsl:value-of select="$image-path"/>bottom-left.gif);
-    background-position: top right;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    height: 16px;
-}
-div#middle table#middle-content tr td.bottom {
-    background-image: url(<xsl:value-of select="$image-path"/>bottom.gif);
-    background-position: top left;
-    background-repeat: repeat-x;
-    background-attachment: scroll;
-    height: 16px;
-    text-align: right;
-}
-
-div#middle table#operations {
-    padding: 0px;
-    margin: 0px;
-    border-collapse: collapse;
-}
-div#middle table#operations tr td {
-    vertical-align: top;
-}
-div#middle table#operations tr.operation-top td.operation-left {
-    background-position: left top;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    height: 1px;
-}
-div#middle table#operations tr.operation-top td.operation-right {
-    width: 26px;
-    background-image: url(<xsl:value-of 
select="$image-path"/>operation-top-right.gif);
-    background-position: left top;
-    background-repeat: repeat-x;
-    background-attachment: scroll;
-    height: 1px;
-}
-
-div#middle table#operations tr.operation-selected td.operation-left {
-    background-image: url(<xsl:value-of 
select="$image-path"/>operation-selected-bg.gif);
-    background-position: left bottom;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    padding-bottom: 10px;
-    padding-left: 15px;
-    margin: 0px;
-    padding-top: 5px;
-}
-div#middle table#operations tr.operation-selected td.operation-left a {
-    color: #666;
-    font-weight: bold;
-    text-decoration: none;
-    cursor: text;
-    font-size: 10pt;
-}
-div#middle table#operations tr.operation-selected td.operation-right {
-    width: 26px;
-    background-image: url(<xsl:value-of 
select="$image-path"/>operation-selected-bg-right.gif);
-    background-position: left bottom;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    background-color: #fff;
-}
-
-div#middle table#operations tr.operation td.operation-left {
-    background-image: url(<xsl:value-of 
select="$image-path"/>operations-bg.gif);
-    background-position: left bottom;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    padding-bottom: 10px;
-    padding-left: 15px;
-    margin: 0px;
-    padding-top: 5px;
-    font-size: 10pt;
-}
-div#middle table#operations tr.operation td.operation-left a{
-    color: #000;
-    font-size: 10pt;
-    font-weight: bold;
-    text-decoration: none;
-}
-div#middle table#operations tr.operation td.operation-left a:hover{
-    font-size: 10pt;
-    text-decoration: underline;
-}
-div#middle table#operations tr.operation td.operation-left a:visited {
-    font-size: 10pt;
-    color: #894f7b;
-}
-div#middle table#operations tr.operation td.operation-right {
-    width: 26px;
-    background-image: url(<xsl:value-of 
select="$image-path"/>operations-bg-right.gif);
-    background-position: left bottom;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-}
-
-div#middle table#content-table {
-    padding: 0px;
-    margin: 0px;
-    border-collapse: collapse;
-}
-div#middle table#content-table tr td.content {
-    padding: 10px;
-}
-div#middle table#content-table tr td.content-top {
-    background-image: url(<xsl:value-of select="$image-path"/>content-top.gif);
-    background-position: left top;
-    background-repeat: repeat-x;
-    background-attachment: scroll;
-    height: 21px;
-}
-
-div#middle table#content-table tr td.content-top-right {
-    background-image: url(<xsl:value-of 
select="$image-path"/>content-top-right.gif);
-    background-position: left top;
-    background-repeat: no-repeat;
-    background-attachment: scroll;
-    height: 21px;
-    width: 12px;
-}
-
-/* footer styles */
-div#footer {
-    margin-top: 30px;
-    clear: both;
-    height: 19px;
-    background-color: #ccc;
-    border-top: solid 1px #F47B20;
-    padding-left: 20px;
-    padding-top: 3px;
-    font-size: 9pt;
-}
-
-/* parameter form styles */
-table.ops th,
-table.ops td {padding: 0px 5px; font-size: 80%; margin:0px}
-table.ops thead th {text-align: left; vertical-align: middle; padding: 0 15px; 
}
-table.ops td {text-align: left; vertical-align: top; }
-table.ops td.label {text-align: right; vertical-align:baseline}
-table.ops td.param {width:90%}
-table.ops td.invoke { border-top: 1px solid #DDD; border-bottom: 1px solid 
#DDD; border-right: 1px solid #DDD;}
-table.ops td.operation { border-top: 1px solid white; border-bottom: 1px solid 
white; border-left: 1px solid white; border-right: 1px solid #DDD; 
vertical-align:middle}
-table.ops td.thisoperation { border-top: 1px solid #DDD; border-bottom: 1px 
solid #DDD; border-left: 1px solid #DDD; border-right: 1px solid white; 
vertical-align:middle;}
-.params {display:none; }
-textarea.nonemptyfield { height: 1.7em; overflow-x:hidden; overflow-y:auto; 
margin:0px; border: 1px solid #CCCCCC;}
-textarea.emptyfield { height: 1.7em; color:#CCC; overflow-x:hidden; 
overflow-y:auto; margin:0px; border: 1px solid #CCCCCC;}
-.typeannotation {color:#CCC;}
-.output {font-family: monospace; font-size:10pt; padding-top: 10px; 
padding-left: 10px;}
-#address {width:26em}
-table.config td {font-size: 80%; padding:.5em}
-.config {background-color:#f0f6ff; border: 1px solid #DDD;}
-.corner {position:relative; top:.58em; left:.58em; cursor:pointer }
-.cornerExpand {margin: 0px; border: 0px none; vertical-align: bottom; 
left:-20px; cursor:pointer}
-.cornerCollapse {margin: 0px; border: 0px none; vertical-align: bottom; 
left:-12px; cursor:pointer}
-#configshown {display:none}
-.configExpando {vertical-align:bottom}
-.showDetail {display:block; margin-top:1em; font-family: "Lucida 
Grande","Lucida Sans","Microsoft Sans Serif", "Lucida Sans 
Unicode",verdana,sans-serif,"trebuchet ms"}
-.faultDetail {display:none; margin-top:1em;}
-
-/* styles for pretty-printed XML
-    .fx-block (block of XML - element, multi-line text)
-    .fx-elnm (element name)
-    .fx-atnm (attribute name)
-    .fx-att (attribute value)
-    .fx-text (text content)
-    .fx-cmk (comment markup)
-    .fx-com (comment text)
-    .fx-ns (namespace name)
-    .fx-nsval (namespace value)
-*/
-.fx-block {
-    font-family: "Lucida Grande","Lucida Sans","Microsoft Sans Serif", "Lucida 
Sans Unicode",verdana,sans-serif,"trebuchet ms";
-    font-size:13px;
-    color:#555;
-    line-height:140%;
-    margin-left:1em;
-    text-indent:-1em;
-    margin-right:1em;
-}
-.fx-elnm { color:#005; }
-.fx-atnm { color:#500; }
-.fx-att { color:black }
-.fx-att a:link { color:black; text-decoration: none}
-.fx-att a:hover { color:black; text-decoration:underline}
-.fx-att a:active { color:black; text-decoration:underline}
-.fx-att a:visited { color:black; text-decoration:none }
-.fx-text { color:black; }
-pre.fx-text { margin-left:-1em; text-indent:0em; line-height:15px; }
-.fx-cmk {
-    margin-left:1em;
-    text-indent:-1em;
-    margin-right:1em;
-    color:#050;
-}
-.fx-com { color:#050;}
-.fx-ns { color:#505}
-.fx-nsval {color:#505}
-.fx-nsval a:link { color:#505; text-decoration: none}
-.fx-nsval a:hover { color:#505; text-decoration:underline}
-.fx-nsval a:active { color:#505; text-decoration:underline}
-.fx-nsval a:visited { color:#505; text-decoration:none}
-            </style>
+        <!-- css is embedded rather than linked so that the $image-path can be 
altered dynamically -->
+        <style type="text/css">
+            body {
+                margin: 0px;
+                padding: 0px;
+                font-family: "Lucida Grande","Lucida Sans","Microsoft Sans 
Serif","Lucida Sans Unicode",verdana,sans-serif,"trebuchet ms";
+                font-size: 10pt;
+            }
+
+            p { }
+            td { }
+            a:link { }
+            a:visited { }
+            a:hover { }
+            a:active { }
+
+            a img {
+                border: 0px;
+            }
+
+            /* header styles */
+            div#header {
+                height: 70px;
+                border-bottom: solid 1px #F47B20;
+            }
+            div#header h1 {
+                margin-top: 10px;
+                margin-bottom: 0px;
+                margin-left: 0px;
+                margin-right: 0px;
+                padding-left: 40px;
+                padding-top: 15px;
+                padding-right: 0px;
+                padding-bottom: 0px;
+                font-size: 18pt;
+                font-weight: normal;
+            }
+            div#logo {
+                padding-top: 5px;
+                padding-right: 25px;
+                float: right;
+            }
+            div#logo a img {
+                border: 0px;
+            }
+            /* body styles */
+            div#body {
+                background-image: url(<xsl:value-of 
select="$image-path"/>header-bg.gif);
+                background-position: top left;
+                background-repeat: no-repeat;
+            }
+            div.documentation {
+                padding-left: 40px;
+                padding-top: 10px;
+                padding-bottom: 20px;
+                width: 90%;
+            }
+            /* end point styles */
+            div#endpoint {
+                margin-left: 40px;
+                margin-right: 40px;
+            }
+            /* end point collapsed styles */
+            div#endpoint div#endpoint-collapsed {
+                border-bottom: solid 1px #999;
+                border-right: solid 1px #999;
+                width: 150px;
+            }
+            div#endpoint div#endpoint-expanded {
+                border-bottom: solid 1px #999;
+                border-right: solid 1px #999;
+                width: 450px;
+            }
+
+            div#endpoint-collapsed div.bottom .right-corner a img,
+            div#endpoint-expanded div.bottom .right-corner a img {
+                border: 0px;
+                vertical-align: bottom;
+            }
+            div#endpoint-collapsed div.bottom,
+            div#endpoint-expanded div.bottom {
+                height: 16px;
+                text-align:right;
+                padding: 0px;
+                margin: 0px;
+            }
+            div#endpoint-collapsed div.bottom .right-corner,
+            div#endpoint-expanded div.bottom .right-corner {
+                width: 16px;
+                border: 0px;
+                margin-bottom: 0px;
+                position:relative;
+                top:6px;
+                left:6px;
+            }
+            div#endpoint-expanded #address {
+                width:28em
+            }
+
+            /* middle styles */
+            div#middle {
+                margin-left: 35px;
+                margin-top: 15px;
+                margin-right: 50px;
+                margin-right: 20px;
+                margin-bottom: 0px;
+            }
+            /* tabs styles */
+            div#middle table#middle-content {
+                padding: 0px;
+                margin: 0px;
+                border-collapse: collapse;
+                width: 93%;
+            }
+            div#middle table#middle-content tr td {
+                padding: 0px;
+            }
+            div#middle table#middle-content tr td.left-tabs {
+                background-image: url(<xsl:value-of 
select="$image-path"/>left-tabs-bg.gif);
+                background-position: top right;
+                background-repeat: repeat-y;
+                background-attachment: scroll;
+                width: 5%;
+                vertical-align: top;
+            }
+            div#middle table#middle-content tr td.bottom-left {
+                background-image: url(<xsl:value-of 
select="$image-path"/>bottom-left.gif);
+                background-position: top right;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                height: 16px;
+                vertical-align: top;
+            }
+            div#middle table#middle-content tr td.bottom {
+                background-image: url(<xsl:value-of 
select="$image-path"/>bottom.gif);
+                background-position: top left;
+                background-repeat: repeat-x;
+                background-attachment: scroll;
+                height: 16px;
+                text-align: right;
+                vertical-align: top;
+            }
+
+            div#middle table#operations {
+                padding: 0px;
+                margin: 0px;
+                border-collapse: collapse;
+            }
+            div#middle table#operations tr td {
+                vertical-align: top;
+            }
+            div#middle table#operations tr.operation-top td.operation-left {
+                background-position: left top;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                height: 1px;
+            }
+            div#middle table#operations tr.operation-top td.operation-right {
+                width: 26px;
+                background-image: url(<xsl:value-of 
select="$image-path"/>operation-top-right.gif);
+                background-position: left top;
+                background-repeat: repeat-x;
+                background-attachment: scroll;
+                height: 1px;
+            }
+
+            div#middle table#operations tr.operation-selected 
td.operation-left {
+                background-image: url(<xsl:value-of 
select="$image-path"/>operation-selected-bg.gif);
+                background-position: left bottom;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                padding-bottom: 10px;
+                padding-left: 15px;
+                margin: 0px;
+                padding-top: 5px;
+            }
+            div#middle table#operations tr.operation-selected 
td.operation-left a {
+                color: #666;
+                font-weight: bold;
+                text-decoration: none;
+                cursor: text;
+                font-size: 10pt;
+            }
+            div#middle table#operations tr.operation-selected 
td.operation-right {
+                width: 26px;
+                background-image: url(<xsl:value-of 
select="$image-path"/>operation-selected-bg-right.gif);
+                background-position: left bottom;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                background-color: #fff;
+            }
+
+            div#middle table#operations tr.operation td.operation-left {
+                background-image: url(<xsl:value-of 
select="$image-path"/>operations-bg.gif);
+                background-position: left bottom;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                padding-bottom: 10px;
+                padding-left: 15px;
+                margin: 0px;
+                padding-top: 5px;
+                font-size: 10pt;
+            }
+            div#middle table#operations tr.operation td.operation-left a{
+                color: #000;
+                font-size: 10pt;
+                font-weight: bold;
+                text-decoration: none;
+            }
+            div#middle table#operations tr.operation td.operation-left a:hover{
+                font-size: 10pt;
+                text-decoration: underline;
+            }
+            div#middle table#operations tr.operation td.operation-left 
a:visited {
+                font-size: 10pt;
+                color: #894f7b;
+            }
+            div#middle table#operations tr.operation td.operation-right {
+                width: 26px;
+                background-image: url(<xsl:value-of 
select="$image-path"/>operations-bg-right.gif);
+                background-position: left bottom;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+            }
+
+            div#middle table#content-table {
+                padding: 0px;
+                margin: 0px;
+                border-collapse: collapse;
+            }
+            div#middle table#content-table tr td.content {
+                padding: 0px 10px 10px 10px;
+            }
+            div#middle table#content-table tr td.content-top {
+                background-image: url(<xsl:value-of 
select="$image-path"/>content-top.gif);
+                background-position: left top;
+                background-repeat: repeat-x;
+                background-attachment: scroll;
+                height: 21px;
+            }
+
+            div#middle table#content-table tr td.content-top-right {
+                background-image: url(<xsl:value-of 
select="$image-path"/>content-top-right.gif);
+                background-position: left top;
+                background-repeat: no-repeat;
+                background-attachment: scroll;
+                height: 21px;
+                width: 12px;
+            }
+
+            /* footer styles */
+            div#footer {
+                margin-top: 30px;
+                clear: both;
+                height: 21px;
+                background-color: #ccc;
+                border-top: solid 1px #F47B20;
+                padding-left: 40px;
+                padding-top: 3px;
+                font-size: 8pt;
+            }
+
+            /* parameter form styles */
+            table#content-table div.params {
+                display:none;
+            }
+            table.ops .operationDocumentation {
+                margin-bottom: 1em;
+            }
+            table.ops td {
+                padding: 0px 5px;
+                font-size: 10pt;
+                margin:0px;
+            }
+            table.ops td.label {
+                text-align: right;
+                vertical-align:top
+            }
+            table.ops td.label div {
+                margin-right:1em;
+                margin-top:3px;
+            }
+            table.ops td.param {
+                width:90%;
+            }
+            table.ops textarea.nonemptyfield {
+                height: 1.7em;
+                overflow-x:hidden;
+                overflow-y:auto;
+                margin:0px;
+                border: 1px solid #CCCCCC;
+            }
+            table.ops textarea.emptyfield {
+                height: 1.7em;
+                color:#CCC;
+                overflow-x:hidden;
+                overflow-y:auto;
+                margin:0px;
+                border: 1px solid #CCCCCC;
+            }
+            table.ops .typeannotation {
+                color:#CCC;
+            }
+            table.ops .output {
+                font-family: monospace;
+                font-size:10pt;
+                padding-top: 10px;
+                padding-left: 10px;
+            }
+            table.ops .cornerExpand, table.ops .cornerCollapse {
+                position:relative;
+                top: 8px;
+                left: -8px;
+                cursor:pointer
+            }
+            table.ops .showDetail {
+                display:block;
+                margin-top:1em;
+                font-family: "Lucida Grande","Lucida Sans","Microsoft Sans 
Serif", "Lucida Sans Unicode",verdana,sans-serif,"trebuchet ms"
+            }
+            table.ops .faultDetail {
+                display:none;
+                margin-top:1em;
+            }
+
+            /* styles for pretty-printed XML
+                .fx-block (block of XML - element, multi-line text)
+                .fx-elnm (element name)
+                .fx-atnm (attribute name)
+                .fx-att (attribute value)
+                .fx-text (text content)
+                .fx-cmk (comment markup)
+                .fx-com (comment text)
+                .fx-ns (namespace name)
+                .fx-nsval (namespace value)
+            */
+            .fx-block {
+                font-family: "Lucida Grande","Lucida Sans","Microsoft Sans 
Serif", "Lucida Sans Unicode",verdana,sans-serif,"trebuchet ms";
+                font-size:13px;
+                color:#555;
+                line-height:140%;
+                margin-left:1em;
+                text-indent:-1em;
+                margin-right:1em;
+            }
+            .fx-elnm { color:#005; }
+            .fx-atnm { color:#500; }
+            .fx-att { color:black }
+            .fx-att a:link { color:black; text-decoration: none}
+            .fx-att a:hover { color:black; text-decoration:underline}
+            .fx-att a:active { color:black; text-decoration:underline}
+            .fx-att a:visited { color:black; text-decoration:none }
+            .fx-text { color:black; }
+            pre.fx-text { margin-left:-1em; text-indent:0em; line-height:15px; 
}
+            .fx-cmk {
+                margin-left:1em;
+                text-indent:-1em;
+                margin-right:1em;
+                color:#050;
+            }
+            .fx-com { color:#050;}
+            .fx-ns { color:#505}
+            .fx-nsval {color:#505}
+            .fx-nsval a:link { color:#505; text-decoration: none}
+            .fx-nsval a:hover { color:#505; text-decoration:underline}
+            .fx-nsval a:active { color:#505; text-decoration:underline}
+            .fx-nsval a:visited { color:#505; text-decoration:none}
+        </style>
     </xsl:template>
 </xsl:stylesheet>
 

_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev

Reply via email to