incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbuff...@apache.org
Subject svn commit: r550329 [7/13] - in /incubator/xap/site: docs/ docs/xmodify/ docs/xmodify/content/ docs/xmodify/css/ docs/xmodify/doc/ docs/xmodify/doc/complexTypes/ docs/xmodify/doc/complexTypes/html/ docs/xmodify/doc/complexTypes/xml/ docs/xmodify/doc/ov...
Date Mon, 25 Jun 2007 03:05:26 GMT
Added: incubator/xap/site/docs/xmodify/frame-left.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/frame-left.html?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/frame-left.html (added)
+++ incubator/xap/site/docs/xmodify/frame-left.html Sun Jun 24 20:05:18 2007
@@ -0,0 +1,76 @@
+<META http-equiv = "Expires" CONTENT="Sun, 31 Dec 1995 09:30:00">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional">
+<html>
+	<head>
+		<title>XAP: Welcome</title>
+		<LINK REL="STYLESHEET" HREF="../../main.css">
+	</head>
+
+	<body class=body>	
+		<table width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+			<tr>
+				<td colspan="2">
+					<img src="../../images/spaced.gif" border=0 height=10><br>
+				</td>
+			</tr>
+			<tr>
+				<td valign=top width=216 style="padding: 0px;">
+					<div style="width: 216; background-color: #F4F4F4;">
+						<img src="../../images/topLeftHeader.gif" border="0" width="216" height="10">
+					</div>
+					<div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; ">
+						<table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0">
+							<tr>
+								<td valign=top style="padding: 0px; margin: 0px;">							
+									<!-- start: left navigation bar -->
+									<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Introduction</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a target="content" href="content/overview.html">Overview</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a target="content" href="content/processors.html">Processors</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a target="content" href="content/troubleshooting.html">Trouble Shooting</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Examples</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="content/general.html" target="content">General Usage</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="content/sendmeapic.html" target="content">Send Me a Pic</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Root Tag</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/modifications-element-type.html" target="content">modifications</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Operations</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/append-element-type.html" target="content">append</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/clone-element-type.html" target="content">clone</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/create-document-element-type.html" target="content">create-document</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/insert-after-element-type.html" target="content">insert-after</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/insert-at-element-type.html" target="content">insert-at</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/insert-before-element-type.html" target="content">insert-before</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/remove-attribute-element-type.html" target="content">remove-attribute</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/remove-element-element-type.html" target="content">remove-element</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/replace-element-type.html" target="content">replace</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/replace-children-element-type.html" target="content">replace-children</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/set-attribute-element-type.html" target="content">set-attribute</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;HTML Only Operations</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/set-innerhtml-element-type.html" target="content">set-innerhtml</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/set-style-element-type.html" target="content">set-style</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/embed-xal-element-type.html" target="content">embed-xal</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Operation Children</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/attribute-element-type.html" target="content">attribute</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/value-of-element-type.html" target="content">value-of</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/variable-element-type.html" target="content">variable</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="doc/complexTypes/html/style-element-type.html" target="content">style</a><br>
+									</div>
+									<!-- end: left navigation bar -->								
+								</td>
+								<td>
+									<img src="../../images/spaced.gif" border=0 height=250 width=0>
+								</td>
+							</tr>
+						</table>
+					</div>
+					<div style="width: 216; background-color: #F4F4F4;">
+						<img src="../../images/LeftFooter.gif" width=216 height=10>
+					</div>
+				</td>
+				<td>
+					<img src="../../images/spaced.gif" border=0 height=450 width=0>
+				</td>
+			</tr>
+		</table>
+	</body>
+</html>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/frame-top.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/frame-top.html?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/frame-top.html (added)
+++ incubator/xap/site/docs/xmodify/frame-top.html Sun Jun 24 20:05:18 2007
@@ -0,0 +1,58 @@
+<META http-equiv = "Expires" CONTENT="Sun, 31 Dec 1995 09:30:00">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional">
+<html>
+	<head>
+		<title>XAP: Welcome</title>
+		<LINK REL="STYLESHEET" HREF="../../main.css">
+	</head>
+	<body class=body>
+		<div style="width:972px;">		
+			<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0">
+				<tr>
+					<td valign=bottom align=right width=100% style="vertical-align: bottom; border-bottom: 0px; padding-bottom: 5px;">
+						<a href="../../index.html" target="_parent"><img src="../../images/header_logo.gif" style="position: static; left: 0px;" hspace="0" vspace="0" border="0" valign="bottom" align="left"></a>
+						<a href="http://incubator.apache.org/index.html" target="_parent"><img src="../../images/incubator.png" style="position: static; left: 0px;" hspace="0" vspace="0" border="0" valign="bottom" align="right"></a>
+					</td>
+				</tr>
+			</table>
+			<!-- start: top navigation bar -->
+			<table width="100%" style="background-color: white; border: 0px; height: 30px; " BORDER="0" CELLSPACING="0" CELLPADDING="0">
+				<tr style="background-image: url(../../images/background.gif); background-repeat: repeat; background-position: top;">
+					<td width=20>&nbsp;&nbsp;</td>
+					<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(../../images/highlight.gif)';" 
+						onMouseOut="this.style.backgroundImage='url(../../images/background.gif)';" onClick="document.location='?cid=1054';" 
+						style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;">
+							<a href="../../index.html" target="_parent" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a>
+					</td>
+					<td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;
+					</td>
+					<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(../../images/highlight.gif)';" 
+						onMouseOut="this.style.backgroundImage='url(../../images/background.gif)';" 
+						onClick="document.location='http://wiki.apache.org/incubator/xap/Demos';" 
+						style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;">
+							<a href="http://wiki.apache.org/incubator/xap/Demos" target="_parent" class="headerTitle" style="color: white; text-decoration: none;">See it in Action</a>
+					</td>
+					<td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;
+					</td>
+					<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(../../images/highlight.gif)';" 
+						onMouseOut="this.style.backgroundImage='url(../../images/background.gif)';" 
+						onClick="document.location='http://wiki.apache.org/incubator/xap';" 
+						style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;">
+							<a href="http://wiki.apache.org/incubator/xap" target="_parent" class="headerTitle" style="color: white; text-decoration: none;">Wiki</a>
+					</td>
+					<td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;
+					</td>
+					<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(../../images/highlight.gif)';" 
+						onMouseOut="this.style.backgroundImage='url(../../images/background.gif)';" 
+						onClick="document.location='?cid=1056';" 
+						style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;">
+							<a href="../../download.html" target="_parent" class="headerTitle" style="color: white; text-decoration: none;">Download</a>
+					</td>
+					<td width=100%>&nbsp;
+					</td>
+				</tr>
+			</table>
+			<!-- end: top navigation bar -->
+		</div>
+	</body>
+</html>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/images/base.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/base.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/base.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/embed-xal.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/embed-xal.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/embed-xal.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/event.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/event.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/event.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/initial-screen.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/initial-screen.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/initial-screen.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/initial-search.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/initial-search.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/initial-search.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/minus.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/minus.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/minus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/plus.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/plus.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/plus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/title.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/title.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/title.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/type.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/type.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/type.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/images/xModifyOverview.gif
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/images/xModifyOverview.gif?view=auto&rev=550329
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/site/docs/xmodify/images/xModifyOverview.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/site/docs/xmodify/js/myJS.js
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/js/myJS.js?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/js/myJS.js (added)
+++ incubator/xap/site/docs/xmodify/js/myJS.js Sun Jun 24 20:05:18 2007
@@ -0,0 +1,23 @@
+   var isOpen=false;
+  function openSubCat(n) {
+	if(isOpen){
+		isOpen=false;
+		document.getElementById(n).style.display="none";
+	}else{
+		isOpen=true;
+		document.getElementById(n).style.display="block";
+	}
+ 
+}
+function toggleDiv(imageID,divID) {
+	if(document.getElementById(divID).style.display=="block"){
+		imageID.src="../../../images/plus.gif";
+		document.getElementById(divID).style.visibility="hidden";
+		document.getElementById(divID).style.display="none";
+	}else{
+		imageID.src="../../../images/minus.gif";
+		document.getElementById(divID).style.visibility="visible";
+		document.getElementById(divID).style.display="block";
+	}
+ 
+}
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/adddatarow.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/adddatarow.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/adddatarow.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/adddatarow.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,14 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Append a row data to the table
+    -->
+	<xm:modifications document="html">
+	    <xm:append select="#mytable"><![CDATA[
+	        <tr type="data">
+                <td>12390i</td>
+                <td>Larry Franklin</td>
+            </tr>
+			]]>
+	    </xm:append>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/addrow.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/addrow.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/addrow.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/addrow.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,14 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Append a row data to the table
+    -->
+	<xm:modifications document="html">
+	    <xm:append select="#mytable"><![CDATA[
+	        <tr>
+                <td>12390i</td>
+                <td>Larry Franklin</td>
+            </tr>
+			]]>
+	    </xm:append>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/clear-form.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/clear-form.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/clear-form.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/clear-form.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,13 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Clear the values of the inputs
+    -->
+	<xm:modifications document="html">
+	    <xm:set-attribute select="#username">
+			<xm:attribute name="value" value=""/>
+	    </xm:set-attribute>
+	    <xm:set-attribute select="#password">
+			<xm:attribute name="value" value=""/>
+	    </xm:set-attribute>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/clear-table.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/clear-table.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/clear-table.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/clear-table.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,8 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Remove all the rows in the page marked with data.
+    -->
+	<xm:modifications document="html">
+	    <xm:remove-element select="//TR[@type='data']"/>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/clone.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/clone.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/clone.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/clone.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,11 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Use the clone tag to create a clone of the 
+		input field and append it to the div.
+    -->
+	<xm:modifications document="html">
+        <xm:append select="#inputContainer">
+            <xm:clone select="#username"/>
+        </xm:append>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/insert-after.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/insert-after.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/insert-after.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/insert-after.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,15 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Insert a row data to the table before the row
+		specified by the select statement
+    -->
+	<xm:modifications document="html">
+	    <xm:insert-after select="#insertAfterMe"><![CDATA[
+	        <tr>
+                <td>12390i</td>
+                <td>Larry Franklin</td>
+            </tr>
+			]]>
+	    </xm:insert-after>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/insert-at.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/insert-at.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/insert-at.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/insert-at.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,15 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Insert a row data to the table before 
+		in the first position
+    -->
+	<xm:modifications document="html">
+	    <xm:insert-at select="#insertAfterMe" index="1"><![CDATA[
+	        <tr>
+                <td>12390i</td>
+                <td>Larry Franklin</td>
+            </tr>
+			]]>
+	    </xm:insert-at>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/insert-before.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/insert-before.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/insert-before.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/insert-before.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,15 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Insert a row data to the table before the row
+		specified by the select statement
+    -->
+	<xm:modifications document="html">
+	    <xm:insert-before select="#insertBeforeMe"><![CDATA[
+	        <tr>
+                <td>12390i</td>
+                <td>Larry Franklin</td>
+            </tr>
+			]]>
+	    </xm:insert-before>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/replace-children.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/replace-children.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/replace-children.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/replace-children.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,12 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+	<xm:modifications document="html">
+	    <xm:replace-children select="#replace-contents"><![CDATA[
+			    <div><b>Results of Poll.</b></div><br>
+			    <div>
+					100% Yes<br>
+					0% No
+				</div>
+			]]>
+	    </xm:replace-children>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/replace.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/replace.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/replace.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/replace.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,14 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+	<xm:modifications document="html">
+	    <xm:replace select="#replace-contents"><![CDATA[
+	        <div style="border:1px solid #aaa;margin:10px;padding:10px;" id="replace-contents">
+			    <div><b>Results of Poll.</b></div><br>
+			    <div>
+					100% Yes<br>
+					0% No
+				</div>
+			</div>
+			]]>
+	    </xm:replace>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/reset-form.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/reset-form.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/reset-form.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/reset-form.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,13 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Change value of the form elements with the 
+    -->
+	<xm:modifications document="html">
+	    <xm:set-attribute select="#username">
+			<xm:attribute name="value" value="janesmith"/>
+	    </xm:set-attribute>
+	    <xm:set-attribute select="#password">
+			<xm:attribute name="value" value="wakeup"/>
+	    </xm:set-attribute>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/resettable.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/resettable.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/resettable.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/resettable.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,12 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Change the content of the table back to the orginal
+    -->
+	<xm:modifications document="html">
+	    <xm:replace-children select="#mytable"><![CDATA[
+	        <tr style="background-color:#aaa"><th align="left">Employee ID</th><th align="left">Full Name</th></tr>
+    		<tr id="insertBeforeMe"><td>3456g</td><td>Jame Smith</td></tr>
+			]]>
+	    </xm:replace-children>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/resettable2.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/resettable2.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/resettable2.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/resettable2.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,13 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Change the content of the table back to the orginal
+    -->
+	<xm:modifications document="html">
+	    <xm:replace-children select="#mytable"><![CDATA[
+		    <tr style="background-color:#aaa"><th width="150px" align="left">Employee ID</th><th width="150px" align="left">Full Name</th></tr>
+		    <tr id="insertAfterMe"><td>3456g</td><td>Jame Smith</td></tr>
+		    <tr><td>9833o</td><td>Larry Doyle</td></tr>
+			]]>
+	    </xm:replace-children>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/set-innerhtml.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/set-innerhtml.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/set-innerhtml.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/set-innerhtml.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,12 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+	<xm:modifications document="html">
+	    <xm:set-innerhtml select="#replace-contents"><![CDATA[
+		    <div><b>Results of Poll.</b></div><br>
+		    <div>
+				100% Yes<br>
+				0% No
+			</div>
+			]]>
+	    </xm:set-innerhtml>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/set-style.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/set-style.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/set-style.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/set-style.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,11 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Clear change the styles of the input fields
+    -->
+    <xm:modifications document="html">
+        <xm:set-style select="//INPUT">
+            <xm:style name="background-color" value="red"/>
+            <xm:style name="border" value="3px dashed #aaa"/>
+        </xm:set-style>
+    </xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/operations/variable.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/operations/variable.xml?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/operations/variable.xml (added)
+++ incubator/xap/site/docs/xmodify/operations/variable.xml Sun Jun 24 20:05:18 2007
@@ -0,0 +1,13 @@
+<xal xmlns:xm="http://openxal.org/core/xmodify">
+   <!--
+        Use the variable tag to create a clone of the 
+		input field and append it to the div with a 
+		value-of tag.
+    -->
+	<xm:modifications document="html">
+        <xm:variable name="variableName" select="#username"/>
+        <xm:append select="#inputContainer">
+            <xm:value-of name="variableName"/>
+        </xm:append>
+	</xm:modifications>
+</xal>
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/transformation/ComplexTypeTransformer.xsl
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/transformation/ComplexTypeTransformer.xsl?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/transformation/ComplexTypeTransformer.xsl (added)
+++ incubator/xap/site/docs/xmodify/transformation/ComplexTypeTransformer.xsl Sun Jun 24 20:05:18 2007
@@ -0,0 +1,643 @@
+<!-- *********************************************************************
+* This XSL stylesheet is responsible for XML transformation to           *
+* generate HTML documentation for the ComplexType schema                 *
+* definitions                                                            *
+*                                                                        *
+* Author: Wipro Technologies                                             *
+* Version       Date                History                              *
+* 1.0           12-Apr-07           Initial version                      *
+* 1.1           02-May-07           Grouping of attributes               *
+* 1.2           04-May-07           Grouping of attributes finalised     *
+
+**************************************************************************-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:meta="http://www.w3.org/2001/XMLSchema"
+ xmlns:event="http://www.w3.org/2001/XMLSchema">
+
+ <xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
+
+ <!-- ************  These parameters stores version and date information -->
+ <xsl:param name="version"/>
+ <xsl:param name="date"/>
+
+ <!-- ************ These variables stores css,script and images path  -->
+ <xsl:variable name="scriptPath">../../../js/myJS.js</xsl:variable>
+ <xsl:variable name="imageMinusPath">../../../images/minus.gif</xsl:variable>
+ <xsl:variable name="imageBasePath">../../../images/base.gif</xsl:variable>
+ <xsl:variable name="imageEventPath">../../../images/event.gif</xsl:variable>
+ <xsl:variable name="imageTypePath">../../../images/type.gif</xsl:variable>
+ <xsl:variable name="cssPath">../../../css/stylesheet.css</xsl:variable>
+
+ <xsl:template match="*[local-name()='extension']" mode="model">
+  <xsl:apply-templates select="*" mode="model"></xsl:apply-templates> 
+ </xsl:template>
+ 
+ <xsl:template match="text()|comment()" mode="model">
+  
+ </xsl:template>
+ 
+ <xsl:template match="*[local-name()='group']" mode='groupContent'>
+  <xsl:for-each select=".//*[local-name()!='group'][local-name()!='document'][local-name()!='briefDocument'] "> <!-- flatten groups! .//*[local-name()!='group'] -->
+   <xsl:apply-templates select="." mode="model"/>
+   <xsl:if test="position() != last()">
+    <xsl:text> | </xsl:text>
+   </xsl:if>
+  </xsl:for-each>
+ </xsl:template>
+ 
+ <xsl:template match="*[local-name()='sequence']" mode="model">
+  <xsl:text> ( </xsl:text>
+  <xsl:choose>
+   <xsl:when test="count(*)=1 and local-name(*)='group' and not(*/@maxOccurs) and not(*/@minOccurs)">
+      <xsl:apply-templates select="*" mode="groupContent"></xsl:apply-templates>
+   </xsl:when>
+   <xsl:otherwise>
+    <xsl:for-each select="*">
+     <xsl:apply-templates select="." mode="model"></xsl:apply-templates>
+     <xsl:if test="position() != last()">
+      <xsl:text>, </xsl:text>
+     </xsl:if>
+    </xsl:for-each>
+   </xsl:otherwise>
+  </xsl:choose>
+  <xsl:text> )</xsl:text>
+  <xsl:apply-templates select="." mode="markOccurrence"/>
+  <xsl:text> </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="*" mode="markOccurrence">
+  <xsl:if test="@maxOccurs = 'unbounded'">
+   <xsl:text>*</xsl:text>
+  </xsl:if>
+  <xsl:if test="@maxOccurs = '1'">
+   <xsl:text>?</xsl:text>
+  </xsl:if>
+ </xsl:template>
+ 
+ <xsl:template match="*[local-name()='choice']" mode="model">
+  <xsl:text> ( </xsl:text>
+  <xsl:for-each select="*">
+   <xsl:choose>
+    <xsl:when test="local-name()='group' and not(@maxOccurs) and not(@minOccurs)">
+     <xsl:apply-templates select="." mode="groupContent"/>
+    </xsl:when>
+    <xsl:otherwise>
+     <xsl:apply-templates select="." mode="model"/>
+    </xsl:otherwise>
+   </xsl:choose>
+   <xsl:if test="position() != last()">
+    <xsl:text> | </xsl:text>
+   </xsl:if>
+  </xsl:for-each>
+  <xsl:text> )</xsl:text>
+  <xsl:apply-templates select="." mode="markOccurrence"/>
+  <xsl:text> </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="*[local-name()='group']" mode="model">
+  <xsl:if test=".//*[local-name()='any']|.//*[local-name()='element']">
+   <xsl:text> ( </xsl:text>
+   <xsl:apply-templates select="." mode="groupContent"/>
+  <xsl:text> )</xsl:text>
+  <xsl:apply-templates select="." mode="markOccurrence"/>
+  <xsl:text> </xsl:text>
+  </xsl:if>
+ </xsl:template>
+ 
+ <xsl:template match="*[local-name()='any']" mode="model">
+  <xsl:element name="span">
+   <xsl:attribute name="class">AnyElement</xsl:attribute>
+   Any element from any namespace
+  </xsl:element>
+  <xsl:apply-templates select="." mode="markOccurrence"/>
+ </xsl:template>
+ 
+ <xsl:template match="*[local-name()='element']" mode="model">
+  <xsl:element name="a">
+   <xsl:attribute name="href">
+    <xsl:value-of select="concat(@type,'.html')"/>
+   </xsl:attribute>
+   <xsl:value-of select="@name"/>
+  </xsl:element>
+  <xsl:apply-templates select="." mode="markOccurrence"/>
+ </xsl:template>
+ 
+ <!-- ************* This template is main template and creates basic 
+  structure of html document i.e. html,body etc. tags. This template 
+  also inturns call other templates to display complexType. -->
+ <xsl:template match="/">
+  <xsl:element name="html">
+   <xsl:element name="head">
+    <xsl:element name="link">
+     <xsl:attribute name="rel">stylesheet</xsl:attribute>
+     <xsl:attribute name="type">text/css</xsl:attribute>
+     <xsl:attribute name="href">
+      <xsl:value-of select="$cssPath"/>
+     </xsl:attribute>
+    </xsl:element>
+   </xsl:element>
+   <xsl:element name="body">
+    <xsl:element name="script">
+     <xsl:attribute name="src">../../../js/myJS.js</xsl:attribute>
+     <xsl:attribute name="language">javascript</xsl:attribute>
+     <xsl:attribute name="type">text/javascript</xsl:attribute>
+    </xsl:element>
+    <xsl:call-template name="header"/>
+    <xsl:call-template name="overview"/>
+    <xsl:call-template name="documentation"/>
+    <xsl:call-template name="attributesSummary"/>
+    <xsl:call-template name="attributeDetails"/>
+
+    <xsl:call-template name="footer"/>
+    <xsl:element name="script">
+     <xsl:attribute name="src">http://www.google-analytics.com/urchin.js</xsl:attribute>
+     <xsl:attribute name="language">javascript</xsl:attribute>
+     <xsl:attribute name="type">text/javascript</xsl:attribute>
+    </xsl:element>
+    <xsl:element name="script">
+     <xsl:text>
+      uacct = "UA-2110702-1";
+      urchinTracker();
+     </xsl:text>
+    </xsl:element>
+   </xsl:element>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ******** This template displays header data of complexType i.e name and 
+      url of xal -->
+ <xsl:template name="header">
+  <xsl:element name="h2">
+   <xsl:element name="span">
+    <xsl:attribute name="class">smal</xsl:attribute>
+    <xsl:text>"</xsl:text><xsl:value-of select="/complexType/@targetNamespace"/><xsl:text>"</xsl:text>
+   </xsl:element>
+   <xsl:element name="br"/>
+   <xsl:variable name="name" select="complexType/@name"/>
+   <xsl:value-of select="substring-before($name,'-element-type')"/>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ********* This template displays overview section of complexType. 
+     The overview section comprises of complex type name and list of 
+     elements associated with complexType. These element come into 
+     three section i.e. Group, Sequence and Choice. Also these 
+     elements are complexType and clicking on complexType name opens
+      details of clicked complexType.
+-->
+ <xsl:template name="overview">
+  <xsl:element name="div">
+   <xsl:element name="h4">
+    <xsl:attribute name="class">Group</xsl:attribute>
+    <xsl:element name="img">
+     <xsl:attribute name="src">
+      <xsl:value-of select="$imageMinusPath"/>
+     </xsl:attribute>
+     <xsl:attribute name="id">complexOverviewMinus</xsl:attribute>
+     <xsl:attribute name="onClick">
+     javascript:toggleDiv(this,'complexOverviewDivID');</xsl:attribute>
+    </xsl:element>
+    <xsl:text>Overview</xsl:text>
+   </xsl:element>
+  </xsl:element>
+  <xsl:element name="div">
+   <xsl:attribute name="id">complexOverviewDivID</xsl:attribute>
+   <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+   <xsl:text> &lt;</xsl:text>
+   <xsl:variable name="name" select="complexType/@name"/>
+   <xsl:value-of select="substring-before($name,'-element-type')"/>
+   <xsl:text> [attributes]</xsl:text>
+   <xsl:choose>
+    <!-- If there are any elements or "any" document the model in the overview -->
+    <xsl:when test="//*[node()[local-name()='any'] | node()[local-name()='element']]/*">
+     <xsl:text>&gt; </xsl:text>
+     <xsl:element name="br"/>
+     <xsl:apply-templates select="complexType/*" mode="model"/>
+     <xsl:element name="br"/>
+     <xsl:text>&lt;/</xsl:text>
+     <xsl:value-of select="substring-before($name,'-element-type')"/>&gt; </xsl:when>
+    <xsl:otherwise>
+     <xsl:text>/&gt;</xsl:text>
+    </xsl:otherwise>
+   </xsl:choose>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ********* This template displays documentation part of complexType  -->
+ <xsl:template name="documentation">
+  <xsl:if test="complexType/xsd:annotation/xsd:documentation">
+   <xsl:element name="div">
+    <xsl:element name="h4">
+     <xsl:attribute name="class">Group</xsl:attribute>
+     <xsl:element name="img">
+      <xsl:attribute name="src">
+       <xsl:value-of select="$imageMinusPath"/>
+      </xsl:attribute>
+      <xsl:attribute name="id">complexDocMinus</xsl:attribute>
+      <xsl:attribute name="onClick">javascript:toggleDiv(this,'complexDocDivID');</xsl:attribute>
+     </xsl:element>
+     <xsl:text>Documentation</xsl:text>
+    </xsl:element>
+   </xsl:element>
+   <xsl:element name="div">
+    <xsl:attribute name="id">complexDocDivID</xsl:attribute>
+    <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+    <xsl:value-of select="complexType/xsd:annotation/xsd:documentation"
+     disable-output-escaping="yes"/>
+   </xsl:element>
+  </xsl:if>
+ </xsl:template>
+
+ <!-- ********** This template displays Attribute Summary(i.e. Name,Type and 
+      Description)of attributes of complexType if attribute exists. Clicking
+      on name of attribute moves the focus to attribute details section for
+      attribute name selected.  -->
+ <xsl:key name="uni"
+  match="attribute/*[local-name()='annotation']/*[local-name()
+ ='appinfo']/*[local-name()='property']"
+  use="@category"/>
+ <xsl:template name="attributesSummary">
+  <xsl:if test="//*[local-name()='attributes']">
+   <xsl:element name="div">
+    <xsl:element name="h4">
+     <xsl:attribute name="class">Group</xsl:attribute>
+     <xsl:element name="img">
+      <xsl:attribute name="src">
+       <xsl:value-of select="$imageMinusPath"/>
+      </xsl:attribute>
+      <xsl:attribute name="id">complexAttributesMinus</xsl:attribute>
+      <xsl:attribute name="onClick"
+      >javascript:toggleDiv(this,'complexAttributesDivID');</xsl:attribute>
+     </xsl:element>
+     <xsl:text>Attribute Summary</xsl:text>
+    </xsl:element>
+   </xsl:element>
+   <xsl:element name="div">
+    <xsl:attribute name="id">complexAttributesDivID</xsl:attribute>
+    <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+    <xsl:element name="table">
+     <xsl:element name="tr">
+      <xsl:element name="td">
+       <xsl:attribute name="class">TableCellHeader NameCell</xsl:attribute>
+       <xsl:text>Attribute Name</xsl:text>
+      </xsl:element>
+      <xsl:element name="td">
+       <xsl:attribute name="class">TableCellHeader</xsl:attribute>
+       <xsl:text>Type</xsl:text>
+      </xsl:element>
+      <xsl:element name="td">
+       <xsl:attribute name="class">TableCellHeader</xsl:attribute>
+       <xsl:text>Description</xsl:text>
+      </xsl:element>
+     </xsl:element>
+     <xsl:call-template name="noCategoryAttributeDisplay"/>
+     <xsl:for-each
+      select="//attribute/*[local-name()='annotation']/*[local-name()
+     ='appinfo']/*[local-name()='property'] [generate-id() = 
+      generate-id(key('uni',@category)[1])]">
+      <xsl:sort select="@category"/>
+      <xsl:element name="tr">
+       <xsl:attribute name="class">TableRowColor</xsl:attribute>
+       <xsl:attribute name="valign">top</xsl:attribute>
+       <xsl:attribute name="bgcolor">white</xsl:attribute>
+       <xsl:element name="td">
+        <xsl:attribute name="class">TableGroupCell</xsl:attribute>
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:attribute name="colspan">3</xsl:attribute>
+        <xsl:value-of select="@category" disable-output-escaping="no"/>
+        <xsl:element name="br"/>
+       </xsl:element>
+      </xsl:element>
+      <xsl:call-template name="attributeDisplay">
+       <xsl:with-param name="category_name" select="@category"/>
+      </xsl:call-template>
+     </xsl:for-each>
+    </xsl:element>
+   </xsl:element>
+  </xsl:if>
+ </xsl:template>
+
+ <!-- This template is for getting all the attributes without categories and calls 
+     dataAttribute template to display data for those attributes. -->
+ <xsl:template name="noCategoryAttributeDisplay">
+  <xsl:if
+   test="//attribute[not(*[local-name()='annotation']/*[local-name()='appinfo']/*[local-name()='property']/@category)]">
+   <xsl:element name="tr">
+    <xsl:attribute name="class">TableRowColor</xsl:attribute>
+    <xsl:attribute name="valign">top</xsl:attribute>
+    <xsl:attribute name="bgcolor">white</xsl:attribute>
+    <xsl:element name="td">
+     <xsl:attribute name="class">TableGroupCell</xsl:attribute>
+     <xsl:attribute name="valign">top</xsl:attribute>
+     <xsl:attribute name="colspan">3</xsl:attribute>
+     <xsl:text>Uncategorized</xsl:text>
+     <xsl:element name="br"/>
+    </xsl:element>
+   </xsl:element>
+  </xsl:if>
+  <xsl:for-each select="//attribute">
+   <xsl:choose>
+    <xsl:when
+     test="*[local-name()='annotation']/*[local-name()='appinfo']/*[local-name()='property']/@category"> </xsl:when>
+    <xsl:otherwise>
+     <xsl:message>Uncategorized attribute <xsl:value-of select="@name"/> in complex type: <xsl:value-of select="ancestor::node()[local-name()='complexType']/@name"/></xsl:message>
+     <xsl:call-template name="dataAttribute">
+      <xsl:with-param name="currentAttr" select="current()"/>
+     </xsl:call-template>
+    </xsl:otherwise>
+   </xsl:choose>
+  </xsl:for-each>
+ </xsl:template>
+
+ <!-- This template is generic and it displays the contents for attributes.   -->
+ <xsl:template name="dataAttribute">
+  <xsl:param name="currentAttr"/>
+  <xsl:element name="tr">
+   <xsl:attribute name="class">TableRowColor</xsl:attribute>
+   <xsl:attribute name="valign">top</xsl:attribute>
+   <xsl:attribute name="bgcolor">white</xsl:attribute>
+   <xsl:element name="td">
+    <xsl:attribute name="class">TableRightCell NameCell</xsl:attribute>
+    <xsl:attribute name="valign">top</xsl:attribute>
+    <xsl:element name="a">
+     <xsl:attribute name="href">#<xsl:value-of select="$currentAttr/@name"/></xsl:attribute>
+     <xsl:value-of select="@name"/>
+    </xsl:element>
+   </xsl:element>
+   <xsl:variable name="typeRef" select="$currentAttr/@type"/>
+   <xsl:element name="td">
+    <xsl:attribute name="valign">top</xsl:attribute>
+    <xsl:attribute name="align">left</xsl:attribute>
+    <xsl:variable name="typeValue" select="$currentAttr/@type"/>
+    <xsl:variable name="typeName" select="contains($typeValue,'-type')"/>
+    <xsl:variable name="eventName" select="contains($typeValue,'-event')"/>
+    <xsl:choose>
+     <xsl:when test="$typeName">  <!-- should be isTypeName -->
+      <xsl:attribute name="class">TableLeftCell</xsl:attribute>
+      <xsl:element name="a">
+       <xsl:attribute name="href">
+        <xsl:value-of select="concat('../../simpleTypes/html/',$typeRef,'.html')"/>
+       </xsl:attribute>
+       <xsl:variable name="attrType" select="@type"/>
+       <xsl:choose>
+        <xsl:when test="contains($attrType,'-attribute-type')">
+         <xsl:value-of select="substring($attrType, 1, (string-length($attrType) - string-length('-attribute-type')))"/>
+        </xsl:when>
+        <xsl:otherwise>
+         <xsl:value-of select="@type"/>
+        </xsl:otherwise>
+       </xsl:choose>
+      </xsl:element>
+     </xsl:when>
+     <xsl:otherwise>
+      <xsl:attribute name="class">TableLeftCell Types</xsl:attribute>
+      <xsl:variable name="attrType" select="$currentAttr/@type"/>
+      <xsl:choose>
+       <xsl:when test="contains($attrType,'-attribute-type')">
+        <xsl:value-of select="$attrType"/>
+       </xsl:when>
+       <xsl:otherwise>
+        <xsl:value-of select="$currentAttr/@type"/>
+       </xsl:otherwise>
+      </xsl:choose>
+     </xsl:otherwise>
+    </xsl:choose>
+   </xsl:element>
+   <xsl:element name="td">
+    <xsl:attribute name="class">TableLeftCell</xsl:attribute>
+    <xsl:value-of select="$currentAttr/briefDocument" disable-output-escaping="yes"/>
+   </xsl:element>
+  </xsl:element>
+ </xsl:template>
+
+
+ <xsl:template name="attributeDisplay">
+  <xsl:param name="category_name"/>
+  <xsl:for-each select="//attribute[*[local-name()='annotation']/*[local-name()='appinfo']/*[local-name()='property']/@category=$category_name]">
+  <xsl:sort select="@name"/>
+    <xsl:call-template name="dataAttribute">
+     <xsl:with-param name="currentAttr" select="current()"/>
+    </xsl:call-template>
+  </xsl:for-each>
+ </xsl:template>
+
+ <!-- ********** This template displays Attribute Details(i.e. About, Definition,
+      Values, Usage)of attributes of complexType if attribute exists -->
+ <xsl:template name="attributeDetails">
+  <xsl:if test="//attribute">
+   <xsl:element name="div">
+    <xsl:element name="h4">
+     <xsl:attribute name="class">Group</xsl:attribute>
+     <xsl:element name="img">
+      <xsl:attribute name="src">
+       <xsl:value-of select="$imageMinusPath"/>
+      </xsl:attribute>
+      <xsl:attribute name="id">complexAttributeDetailMinus</xsl:attribute>
+      <xsl:attribute name="onClick"
+      >javascript:toggleDiv(this,'complexAttributeDetailDivID');</xsl:attribute>
+     </xsl:element>
+     <xsl:text>Attribute Details</xsl:text>
+    </xsl:element>
+   </xsl:element>
+   <xsl:element name="div">
+    <xsl:attribute name="id">complexAttributeDetailDivID</xsl:attribute>
+    <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+    <xsl:for-each select="//attribute">
+     <xsl:sort select="@name"/>
+     <xsl:element name="h3">
+      <xsl:element name="img">
+       <xsl:attribute name="align">top</xsl:attribute>
+       <xsl:attribute name="src">
+        <xsl:value-of select="$imageBasePath"/>
+       </xsl:attribute>
+      </xsl:element>
+      <xsl:element name="a">
+       <xsl:attribute name="name">
+        <xsl:value-of select="@name"/>
+       </xsl:attribute>
+       <xsl:value-of select="@name"/>
+      </xsl:element>
+     </xsl:element>
+     <xsl:element name="table">
+      <xsl:attribute name="class">TableDetail</xsl:attribute>
+      <xsl:element name="tr">
+       <xsl:element name="td">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:attribute name="class">TableRightCell NameCell</xsl:attribute>
+        <xsl:text>About</xsl:text>
+       </xsl:element>
+       <xsl:element name="td">
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:value-of select="document" disable-output-escaping="yes"/>
+       </xsl:element>
+      </xsl:element>
+      <xsl:element name="tr">
+       <xsl:element name="td">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:text>Type</xsl:text>
+       </xsl:element>
+       <xsl:element name="td">
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:element name="p">
+         <xsl:element name="span">
+          <xsl:attribute name="class">Types</xsl:attribute>
+          <xsl:variable name="typeRef" select="@type"/>
+          <xsl:variable name="typeName" select="contains($typeRef,'-type')"/>
+          <xsl:variable name="eventName" select="contains($typeRef,'-event')"/>
+          <xsl:choose>
+           <xsl:when test="$typeName">
+            <xsl:element name="a">
+             <xsl:attribute name="href">
+              <xsl:value-of select="concat('../../simpleTypes/html/',$typeRef,'.html')"/>
+             </xsl:attribute>
+             <xsl:variable name="attrtype" select="@type"/>
+             <xsl:choose>
+              <xsl:when test="contains($attrtype,'-attribute-type')">
+               <xsl:value-of select="$attrtype"/>
+              </xsl:when>
+              <xsl:otherwise>
+               <xsl:value-of select="@type"/>
+              </xsl:otherwise>
+             </xsl:choose>
+            </xsl:element>
+           </xsl:when>
+           <xsl:otherwise>
+            <xsl:variable name="attrType" select="@type"/>
+            <xsl:choose>
+             <xsl:when test="contains($attrType,'-attribute-type')">
+              <xsl:value-of select="$attrType"/>
+             </xsl:when>
+             <xsl:otherwise>
+              <xsl:value-of select="@type"/>
+             </xsl:otherwise>
+            </xsl:choose>
+           </xsl:otherwise>
+          </xsl:choose>
+         </xsl:element>
+        </xsl:element>
+       </xsl:element>
+      </xsl:element>
+      <xsl:element name="tr">
+       <xsl:element name="td">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:text>Values</xsl:text>
+       </xsl:element>
+       <xsl:element name="td">
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:element name="span">
+         <xsl:attribute name="class">Types</xsl:attribute>
+         <xsl:variable name="typeValue" select="@type"/>
+         <xsl:variable name="typeName" select="contains($typeValue,'-type')"/>
+         <xsl:choose>
+          <xsl:when test="$typeName">
+           <xsl:variable name="simpleTypeRef" select="@ref"/>
+           <xsl:variable name="referencedDoc"
+            select="concat('../doc/simpleTypes/xml/',$simpleTypeRef)"/>
+           <xsl:for-each select="document($referencedDoc)">
+            <xsl:if test="simpleType/list/values/*">
+              <xsl:text> List of </xsl:text>
+              <xsl:choose>
+                <xsl:when test="simpleType/list/@minLength">
+                  <xsl:value-of select="simpleType/list/@minLength"/>
+                </xsl:when>
+                <xsl:otherwise><xsl:text>Zero</xsl:text></xsl:otherwise>
+              </xsl:choose>
+              <xsl:choose>
+                <xsl:when test="simpleType/list/@maxLength">
+                   to <xsl:value-of select="simpleType/list/@maxLength"/>
+                </xsl:when>
+                <xsl:otherwise><xsl:text> or more </xsl:text></xsl:otherwise>
+              </xsl:choose>
+              <xsl:text> of: </xsl:text>
+            </xsl:if>
+            <xsl:for-each select="simpleType//values/enumerations/enumeration">
+             <xsl:value-of select="@value"/>
+             <xsl:if test="not(position()=last())">
+              <xsl:text> | </xsl:text>
+             </xsl:if>
+            </xsl:for-each>
+            <xsl:if test="simpleType//values/type/@ref">
+             <xsl:if test="simpleType//values/enumerations/enumeration">
+              <xsl:text> | </xsl:text>
+             </xsl:if>
+             <xsl:for-each select="simpleType//values/type">
+              <xsl:variable name="innertypeName" select="@name"/>
+              <xsl:if test="@ref">
+              <xsl:element name="a">
+               <xsl:attribute name="href">
+                <xsl:value-of select="concat('../../simpleTypes/html/',$innertypeName,'.html')"/>
+               </xsl:attribute>
+               <xsl:value-of select="$innertypeName"/>
+              </xsl:element>
+              </xsl:if>
+              <!-- the following doesn't happen in the Java schema
+              -->
+              <xsl:if test="not(@ref)">
+               <xsl:message>not ref</xsl:message>
+               <xsl:element name="span"><xsl:value-of select="$innertypeName"/></xsl:element>
+              </xsl:if>
+              <xsl:if test="not(position()=last())">
+               <xsl:text> | </xsl:text>
+              </xsl:if>
+             </xsl:for-each>
+            </xsl:if>
+            <xsl:if test="simpleType//values/types/type/pattern">
+             <xsl:text> pattern = </xsl:text>
+             <xsl:for-each select="simpleType//values/types/type/pattern">
+              <xsl:value-of select="text()"/>
+             </xsl:for-each>
+            </xsl:if>
+           </xsl:for-each>
+          </xsl:when>
+          <xsl:otherwise>
+           <xsl:value-of select="@type"/>
+          </xsl:otherwise>
+         </xsl:choose>
+        </xsl:element>
+       </xsl:element>
+      </xsl:element>
+      <xsl:element name="tr">
+       <xsl:element name="td">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:text>Usage</xsl:text>
+       </xsl:element>
+       <xsl:element name="td">
+        <xsl:attribute name="class">TableRightCell</xsl:attribute>
+        <xsl:text>optional</xsl:text>
+       </xsl:element>
+      </xsl:element>
+     </xsl:element>
+    </xsl:for-each>
+   </xsl:element>
+  </xsl:if>
+ </xsl:template>
+
+ <!-- ***********  This template displays version and date updation for complexType  -->
+ <xsl:template name="footer">
+  <xsl:element name="table">
+   <xsl:attribute name="class">FooterTable</xsl:attribute>
+   <xsl:element name="tr">
+    <xsl:element name="td">
+     <xsl:attribute name="align">left</xsl:attribute>
+     <xsl:attribute name="width">50%</xsl:attribute>
+     <xsl:attribute name="class">TableRowColor</xsl:attribute>
+     <xsl:text>Version: </xsl:text>
+     <xsl:value-of select="$version"/>
+    </xsl:element>
+    <xsl:element name="td">
+     <xsl:attribute name="align">right</xsl:attribute>
+     <xsl:attribute name="class">TableRowColor</xsl:attribute>
+     <xsl:element name="span">
+      <xsl:attribute name="class">updateDate</xsl:attribute>
+      <xsl:text>last update: </xsl:text>
+      <xsl:value-of select="$date"/>
+     </xsl:element>
+    </xsl:element>
+   </xsl:element>
+  </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>

Added: incubator/xap/site/docs/xmodify/transformation/OverviewTypeTransformer.xsl
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/transformation/OverviewTypeTransformer.xsl?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/transformation/OverviewTypeTransformer.xsl (added)
+++ incubator/xap/site/docs/xmodify/transformation/OverviewTypeTransformer.xsl Sun Jun 24 20:05:18 2007
@@ -0,0 +1,123 @@
+<!-- **************************************************************
+ * This XSL stylesheet is responsible for XML transformation to    *
+ * generate HTML documentation for the overview of the ComplexType *
+ * schema definitions                                              *
+ *                                                                 *
+ * Author: Wipro Technologies                                      *
+ * Version       Date                History                       *
+ * 1.0           12-Apr-07           Initial version               *
+ * 1.1           04-May-07           Revised version               *
+ ****************************************************************-->
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:event="http://openxal.org/ui/java/event" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  
+  <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
+  
+  <!-- ************ The variables contain script,css path and RHS frame name.  -->
+  <xsl:variable name="scriptPath">../../../js/myJS.js</xsl:variable>
+  <xsl:variable name="rightFrameName">mainframe</xsl:variable>
+  <xsl:variable name="cssPath">../../../css/stylesheet.css</xsl:variable>
+  
+  <!-- ************* This template is main template and creates basic structure
+   of html document i.e. html,head,body etc. tags. This template also inturns 
+   call other templates to display overviewType(i.e. complexType name and ref.) -->
+  <xsl:template match="/">
+   <xsl:element name="html">
+    <xsl:element name="head">
+     <xsl:element name="link">
+      <xsl:attribute name="rel">stylesheet</xsl:attribute>
+      <xsl:attribute name="type">text/css</xsl:attribute>
+      <xsl:attribute name="href">
+       <xsl:value-of select="$cssPath"/>
+      </xsl:attribute>
+     </xsl:element>
+    </xsl:element>
+    <xsl:element name="body">
+     <xsl:element name="script">
+      <xsl:attribute name="src">
+       <xsl:value-of select="$scriptPath"/>
+      </xsl:attribute>
+      <xsl:attribute name="language">javascript</xsl:attribute>
+      <xsl:attribute name="type">text/javascript</xsl:attribute>
+      <xsl:text> </xsl:text>
+     </xsl:element>
+     <xsl:call-template name="overviewType"/> 
+    </xsl:element>
+   </xsl:element>
+  </xsl:template>
+
+  <!-- Process a single category -->
+  <xsl:template name="complex-type-category">
+   <xsl:param name="category"/>
+   <xsl:element name="h5">
+    <xsl:value-of select="$category"/>
+   </xsl:element>
+   <xsl:for-each select="/overview/complex-type-list/complex-type-overview[not(@isAbstract = 'true') and .//*[local-name() = 'component' and @category = $category]]">
+    <xsl:sort select="@name"/>
+    <xsl:call-template name="complex-type-item"/>
+   </xsl:for-each>
+  </xsl:template>
+  
+  <!-- Process a single complex type item in the overview list -->
+  <xsl:template name="complex-type-item">
+   <xsl:element name="div">
+    <xsl:attribute name="style">display:block; padding-left:3px; padding-bottom:3px;</xsl:attribute>
+    <xsl:element name="a">
+     <xsl:variable name="complexDocRef" select="@ref"/>
+     <xsl:variable name="complexDocFile" select="substring-before($complexDocRef,'.xml')"/>
+     <xsl:attribute name="href">
+      <xsl:value-of select="concat('../../complexTypes/html/',$complexDocFile,'.html')"/>
+     </xsl:attribute>
+     <xsl:attribute name="target">
+      <xsl:value-of select="$rightFrameName"/>
+     </xsl:attribute>
+     <xsl:value-of select="substring-before(@name,'-element')"/>
+    </xsl:element>
+   </xsl:element>
+  </xsl:template>
+  
+  <!-- ******* This template displays list of names of complexType in left frame
+   and make a link for complextype full details on rightframe. -->
+  <xsl:key name="uni"
+   match="complex-type-overview//*[local-name()='component']"
+   use="@category"/>
+  <xsl:template name="overviewType">
+   <xsl:element name="div">
+    <xsl:attribute name="style">display:block;</xsl:attribute>
+    <xsl:attribute name="class">leftLabel</xsl:attribute>
+    <xsl:attribute name="onclick">JavaScript:openSubCat('insideSubCategory')</xsl:attribute>
+    <xsl:element name="font">
+     <xsl:attribute name="class">FrameTitleFont</xsl:attribute>
+     <xsl:element name="b">
+      <xsl:text>Complex Types</xsl:text>
+     </xsl:element>
+    </xsl:element>
+    <xsl:element name="br"/>
+   </xsl:element>
+   <xsl:element name="div">
+    <xsl:attribute name="id">insideSubCategory</xsl:attribute>
+    <xsl:attribute name="class">leftDetail</xsl:attribute>
+    <xsl:attribute name="style">display:none;</xsl:attribute>
+    <xsl:element name="br"/>
+    <xsl:choose>
+     <xsl:when test="overview/complex-type-list//*[local-name()='component' and @category]">
+      <xsl:for-each select="overview/complex-type-list/complex-type-overview//*[local-name()='component'][generate-id() = 
+       generate-id(key('uni',@category)[1])]">
+       <xsl:sort select="@category"/>
+       <xsl:call-template name="complex-type-category">
+        <xsl:with-param name="category"><xsl:value-of select="@category"/></xsl:with-param>
+       </xsl:call-template>
+      </xsl:for-each>
+     </xsl:when>
+     <xsl:otherwise>
+      <xsl:for-each select="overview/complex-type-list/complex-type-overview[not(@isAbstract='true')]">
+       <xsl:sort select="@name"/>
+       <xsl:call-template name="complex-type-item"/>
+      </xsl:for-each>
+     </xsl:otherwise>
+    </xsl:choose>
+   </xsl:element>
+  </xsl:template>
+ </xsl:stylesheet>
+ 
\ No newline at end of file

Added: incubator/xap/site/docs/xmodify/transformation/SimpleTypeTransformer.xsl
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/transformation/SimpleTypeTransformer.xsl?view=auto&rev=550329
==============================================================================
--- incubator/xap/site/docs/xmodify/transformation/SimpleTypeTransformer.xsl (added)
+++ incubator/xap/site/docs/xmodify/transformation/SimpleTypeTransformer.xsl Sun Jun 24 20:05:18 2007
@@ -0,0 +1,329 @@
+<!-- *************************************************************
+ * This XSL stylesheet is responsible for XML transformation to   *
+ * generate HTML documentation for the SimpleType schema          *
+ * definitions                                                    *
+ *                                                                *
+ * Author: Wipro Technologies                                     *
+ * Version       Date                History                      *
+ * 1.0           12-Apr-07           Initial version              *
+ * 1.1           02-May-07           HTML tags' behaviour in CDATA* 
+ *                                   section                      *
+ * 1.2           04-May-07           Revised version              *
+ * 1.3           14-May-07           Incorporates union types and *
+ *                                   in event type heirarchy.     *
+ * 1.4           22-May-07           Changes made in XPath for    *
+ *                                    overview                    *
+ ***************************************************************-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:event="http://openxal.org/ui/java/event" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
+
+ <!-- ************  These parameters contains version and date information -->
+ <xsl:param name="version"/>
+ <xsl:param name="date"/>
+
+ <!-- ************ The variables contain css,script and image path  -->
+ <xsl:variable name="scriptPath">../../../js/myJS.js</xsl:variable>
+ <xsl:variable name="imageMinusPath">../../../images/minus.gif</xsl:variable>
+ <xsl:variable name="cssPath">../../../css/stylesheet.css</xsl:variable>
+
+ <!-- ************* This template is main template and creates basic 
+   structure of html document i.e. html,body etc. tags. This template 
+   also inturns call other templates to display simpleType. -->
+ <xsl:template match="/">
+  <xsl:element name="html">
+
+   <xsl:element name="head">
+    <xsl:element name="link">
+     <xsl:attribute name="rel">stylesheet</xsl:attribute>
+     <xsl:attribute name="type">text/css</xsl:attribute>
+     <xsl:attribute name="href">
+      <xsl:value-of select="$cssPath"/>
+     </xsl:attribute>
+    </xsl:element>
+   </xsl:element>
+
+   <xsl:element name="body">
+    <xsl:element name="script">
+     <xsl:attribute name="src">
+      <xsl:value-of select="$scriptPath"/>
+     </xsl:attribute>
+     <xsl:attribute name="language">javascript</xsl:attribute>
+     <xsl:attribute name="type">text/javascript</xsl:attribute>
+    </xsl:element>
+    <xsl:call-template name="header"/>
+    <xsl:call-template name="enum"/>
+    <xsl:call-template name="documentation"/>
+    <xsl:if test="//*[local-name()='params']">
+     <xsl:call-template name="eventattributes"/>
+    </xsl:if>
+    <xsl:call-template name="footer"/>
+   </xsl:element>
+
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ******** This template displays header data of simpletype i.e name and url of xal -->
+ <xsl:template name="header">
+  <xsl:element name="h2">
+   <xsl:element name="span">
+    <xsl:attribute name="class">smal</xsl:attribute>
+    <xsl:text>http://openxal.org/ui/java </xsl:text>
+   </xsl:element>
+   <xsl:element name="br"/>
+   <xsl:value-of select="simpleType/@name"/>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ********* This template displays documentation part of simpleType  -->
+ <xsl:template name="documentation">
+
+  <xsl:element name="div">
+   <xsl:element name="h4">
+    <xsl:attribute name="class">Group</xsl:attribute>
+    <xsl:element name="img">
+     <xsl:attribute name="src">
+      <xsl:value-of select="$imageMinusPath"/>
+     </xsl:attribute>
+     <xsl:attribute name="id">simpleEnumMinus</xsl:attribute>
+     <xsl:attribute name="onClick">javascript:toggleDiv(this,'simpleDocDivID');</xsl:attribute>
+    </xsl:element>
+    <xsl:text>Documentation</xsl:text>
+   </xsl:element>
+  </xsl:element>
+
+  <xsl:element name="div">
+   <xsl:attribute name="id">simpleDocDivID</xsl:attribute>
+   <xsl:attribute name="class">CDATAContentTable</xsl:attribute>
+   <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+   <xsl:value-of select="simpleType/annotation/documentation" disable-output-escaping="yes"/>
+   <xsl:value-of select="simpleType/annotation/documentation/pre"
+    disable-output-escaping="yes"/>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ********  This template displays enumeration i.e. values of simpleType  -->
+ <xsl:template name="enum">
+
+  <xsl:element name="div">
+   <xsl:element name="h4">
+    <xsl:attribute name="class">Group</xsl:attribute>
+    <xsl:element name="img">
+     <xsl:attribute name="src">
+      <xsl:value-of select="$imageMinusPath"/>
+     </xsl:attribute>
+     <xsl:attribute name="id">simpleEnumMinus</xsl:attribute>
+     <xsl:attribute name="onClick">javascript:toggleDiv(this,'simpleEnumDivID');</xsl:attribute>
+    </xsl:element>
+    <xsl:text>Overview</xsl:text>
+   </xsl:element>
+  </xsl:element>
+
+  <xsl:element name="div">
+   <xsl:attribute name="id">simpleEnumDivID</xsl:attribute>
+   <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+   <xsl:if test="simpleType/list/values/*">
+      <xsl:text> List of </xsl:text>
+    <xsl:choose>
+     <xsl:when test="simpleType/list/@minLength">
+      <xsl:value-of select="simpleType/list/@minLength"/>
+     </xsl:when>
+     <xsl:otherwise><xsl:text>Zero</xsl:text></xsl:otherwise>
+    </xsl:choose>
+    <xsl:choose>
+     <xsl:when test="simpleType/list/@maxLength">
+      to <xsl:value-of select="simpleType/list/@maxLength"/>
+     </xsl:when>
+     <xsl:otherwise><xsl:text> or more </xsl:text></xsl:otherwise>
+    </xsl:choose>
+    <xsl:text> of: </xsl:text>
+   </xsl:if>
+   <xsl:for-each select="//values/enumerations/enumeration">
+    <xsl:value-of select="@value"/>
+    <xsl:if test="not(position()=last())">
+     <xsl:text> | </xsl:text>
+    </xsl:if>
+   </xsl:for-each>
+   <xsl:if test="//values/type/@ref">
+    <xsl:if test="//values/enumerations/enumeration">
+    <xsl:text> | </xsl:text>
+    </xsl:if>
+    <xsl:for-each select="//values/type">
+     <xsl:variable name="typeName" select="@name"/>
+     <xsl:element name="a">
+      <xsl:attribute name="href">
+       <xsl:value-of select="concat($typeName,'.html')"/>
+      </xsl:attribute>
+      <xsl:value-of select="substring-before($typeName,'-type')"/>
+     </xsl:element>
+     <xsl:if test="not(position()=last())">
+      <xsl:text> | </xsl:text>
+     </xsl:if>
+    </xsl:for-each>
+
+   </xsl:if>
+   <xsl:if test="//values/types/type/pattern">
+    <xsl:text> pattern = </xsl:text>
+    <xsl:for-each select="//values/types/type/pattern">
+     <xsl:value-of select="text()"/>
+    </xsl:for-each>
+   </xsl:if>
+
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ********** This template is root template for displaying Event Summary
+  (i.e. Name,Type and Description)of event of simpletype. It calls displayEventValues
+  template to display these events parameters. Also it calls parentReference template
+  if parentRef exists (attribute in list element) which in turns by recursive
+  looping checks for parentRef and then calls parentRefEventParameters template to 
+  display event parameters of all the parentRef traversed and mean while these 
+  template calls displayEventValues template to displasy these events.  -->
+ <xsl:template name="eventattributes">
+  
+  <xsl:element name="div">
+   <xsl:element name="h4">
+    <xsl:attribute name="class">Group</xsl:attribute>
+    <xsl:element name="img">
+     <xsl:attribute name="src">
+      <xsl:value-of select="$imageMinusPath"/>
+     </xsl:attribute>
+     <xsl:attribute name="id">simpleAttributesMinus</xsl:attribute>
+     <xsl:attribute name="onClick"> javascript:toggleDiv(this,'simpleAttributesDivID');
+     </xsl:attribute>
+    </xsl:element>
+    <xsl:text>Event Parameters</xsl:text>
+   </xsl:element>
+  </xsl:element>
+  
+  <xsl:element name="div">
+   <xsl:attribute name="id">simpleAttributesDivID</xsl:attribute>
+   <xsl:attribute name="style">display:block;visibility:visible</xsl:attribute>
+   <xsl:element name="br"/>
+   
+   <xsl:element name="table">
+    <xsl:attribute name="width">99%</xsl:attribute>
+    <xsl:element name="tr">
+     <xsl:element name="td">
+<!--      <xsl:attribute name="width">160</xsl:attribute>-->
+      <xsl:attribute name="class">TableCellHeader NameCell</xsl:attribute>
+      <xsl:text>Name</xsl:text>
+     </xsl:element>
+     <xsl:element name="td">
+<!--      <xsl:attribute name="width">160</xsl:attribute>-->
+      <xsl:attribute name="class">TableCellHeader TypeCell</xsl:attribute>
+      <xsl:text>Type</xsl:text>
+     </xsl:element>
+     <xsl:element name="td">
+      <xsl:attribute name="class">TableCellHeader</xsl:attribute>
+      <xsl:text>Description</xsl:text>
+     </xsl:element>
+    </xsl:element>
+
+    <xsl:for-each select="//*[local-name()='parameter']">
+     <xsl:call-template name="displayEventValues">
+      <xsl:with-param name="currentEvent" select="current()"/>
+     </xsl:call-template>
+    </xsl:for-each>
+
+    <xsl:for-each select="/simpleType[@baseTypeRef]">
+     <xsl:call-template name="parentReference">
+      <xsl:with-param name="parentRefName" select="@baseTypeRef"/>
+     </xsl:call-template>
+    </xsl:for-each>
+
+   </xsl:element>
+  </xsl:element>
+ </xsl:template>
+
+ <!-- ************ This template checks if the parentRef(attribute in list element)
+  document contain another lists or not and also calls parentRefEventParameters 
+  template to check event parameters. -->
+ <xsl:template name="parentReference">
+  <xsl:param name="parentRefName"/>
+  <xsl:variable name="simpleTypeRef" select="$parentRefName"/>
+  <xsl:variable name="referencedDoc" select="concat('../doc/simpleTypes/xml/',$simpleTypeRef)"/>
+  <xsl:for-each select="document($referencedDoc)/simpleType[@baseTypeRef]">
+   <xsl:call-template name="parentReference">
+    <xsl:with-param name="parentRefName" select="@baseTypeRef"/>
+   </xsl:call-template>
+  </xsl:for-each>
+  <xsl:call-template name="parentRefEventParameters">
+   <xsl:with-param name="parentName" select="$parentRefName"/>
+  </xsl:call-template>
+
+ </xsl:template>
+
+ <!-- ************ This template checks if the parentref document contain
+  different event parameters and also calls displayEventValues template 
+  to display event summary data -->
+ <xsl:template name="parentRefEventParameters">
+  <xsl:param name="parentName"/>
+  <xsl:variable name="simpleTypeRef" select="$parentName"/>
+  <xsl:variable name="referencedDoc" select="concat('../doc/simpleTypes/xml/',$simpleTypeRef)"/>
+  <xsl:for-each
+   select="document($referencedDoc)/simpleType/*[local-name()
+   ='annotation']/*[local-name()='appinfo']/*[local-name()='params']/*[local-name()='parameter']">
+   <xsl:call-template name="displayEventValues">
+    <xsl:with-param name="currentEvent" select="current()"/>
+   </xsl:call-template>
+  </xsl:for-each>
+ </xsl:template>
+
+
+ <!-- **********  This template displays Event Summary(i.e. Name,Type and 
+  Description)of event of simpletype -->
+ <xsl:template name="displayEventValues">
+  <xsl:param name="currentEvent"/>
+  <xsl:element name="tr">
+   <xsl:attribute name="class">TableRowColor</xsl:attribute>
+   <xsl:attribute name="valign">top</xsl:attribute>
+   <xsl:attribute name="bgcolor">white</xsl:attribute>
+   <xsl:element name="td">
+    <xsl:attribute name="class">TableRightCell NameCell</xsl:attribute>
+    <xsl:attribute name="valign">top</xsl:attribute>
+    <xsl:value-of select="$currentEvent/@name"/>
+   </xsl:element>
+   <xsl:element name="td">
+    <xsl:attribute name="class">TableLeftCell</xsl:attribute>
+    <xsl:attribute name="valign">top</xsl:attribute>
+    <xsl:attribute name="align">left</xsl:attribute>
+    <xsl:value-of select="$currentEvent/@type"/>
+   </xsl:element>
+   <xsl:element name="td">
+    <xsl:attribute name="class">TableLeftCell</xsl:attribute>
+    <xsl:value-of select="$currentEvent/text()" disable-output-escaping="yes"/>
+   </xsl:element>
+  </xsl:element>
+ </xsl:template>
+
+
+ <!-- ***********  This template displays version and date updation of simpleType  -->
+ <xsl:template name="footer">
+  
+  <xsl:element name="table">
+   <xsl:attribute name="class">FooterTable</xsl:attribute>
+   <xsl:element name="tr">
+    <xsl:element name="td">
+     <xsl:attribute name="align">left</xsl:attribute>
+     <xsl:attribute name="width">50%</xsl:attribute>
+     <xsl:attribute name="class">TableRowColor</xsl:attribute>
+     <xsl:text>Version: </xsl:text>
+     <xsl:value-of select="$version"/>
+    </xsl:element>
+    <xsl:element name="td">
+     <xsl:attribute name="align">right</xsl:attribute>
+     <xsl:attribute name="class">TableRowColor</xsl:attribute>
+     <xsl:element name="span">
+      <xsl:attribute name="class">updateDate</xsl:attribute>
+      <xsl:text>last update:  </xsl:text>
+      <xsl:value-of select="$date"/>
+     </xsl:element>
+    </xsl:element>
+   </xsl:element>
+
+  </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>



Mime
View raw message