Added: xerces/c/web/xml/style/stylesheets/document2html.xsl
URL: 
http://svn.apache.org/viewvc/xerces/c/web/xml/style/stylesheets/document2html.xsl?rev=630876&view=auto
==============================================================================
--- xerces/c/web/xml/style/stylesheets/document2html.xsl (added)
+++ xerces/c/web/xml/style/stylesheets/document2html.xsl Mon Feb 25 07:21:44 
2008
@@ -0,0 +1,460 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+
+  <xsl:param name="stylebook.project"/>
+  <xsl:param name="copyright"/>
+  <xsl:param name="id"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="s1">
+    <html>
+      <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
+        <script language="JavaScript" type="text/javascript" 
src="resources/script.js"/>
+        <title><xsl:value-of select="@title"/></title>
+      </head>
+      <body text="#000000" link="#0000ff" vlink="#0000aa" alink="#ff0000"
+            topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
+            bgcolor="#ffffff">
+        <!-- THE TOP BAR (HEADER) -->
+        <table width="620" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td width="135" height="60" rowspan="3" valign="top" align="left">
+              <img width="135" height="60" src="resources/logo.gif" hspace="0" 
vspace="0" border="0"/></td>
+            <td width="456" height="5" valign="top" align="left" colspan="4">
+              <img width="456" height="5" src="resources/line.gif" hspace="0" 
vspace="0" border="0"/></td>
+            <td width="29" height="60"  rowspan="3" valign="top" align="left">
+              <img width="29" height="60" src="resources/right.gif" hspace="0" 
vspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td width="456" height="35" valign="top" align="left" colspan="4" 
bgcolor="#0086b2">
+              <img src="graphics/{$id}-header.jpg" width="456" height="35" 
hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td>
+          </tr>
+          <tr>
+            <td width="168" height="20" valign="top" align="left">
+              <img width="168" height="20" src="resources/bottom.gif" 
hspace="0" vspace="0" border="0"/></td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://xml.apache.org/"; 
onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
+                <img alt="http://xml.apache.org/"; width="96" height="20" 
src="resources/button-xml-lo.gif"
+                     name="xml" hspace="0" vspace="0" border="0"
+                     
onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/>
+              </a>
+            </td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://www.apache.org/"; 
onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
+                <img alt="http://www.apache.org/"; width="96" height="20" 
src="resources/button-asf-lo.gif"
+                     name="asf" hspace="0" vspace="0" border="0"
+                     
onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/>
+              </a>
+            </td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://www.w3.org/"; onMouseOver="rolloverOn('w3c');" 
onMouseOut="rolloverOff('w3c');" target="new">
+                <img alt="http://www.w3.org/"; width="96" height="20" 
src="resources/button-w3c-lo.gif"
+                     name="w3c" hspace="0" vspace="0" border="0"
+                     
onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/>
+              </a>
+            </td>
+          </tr>
+        </table>
+        <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
+        <table width="620" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <!-- THE SIDE BAR -->
+            <td width="120" valign="top" align="left">
+              <img width="120" height="14" src="resources/join.gif" hspace="0" 
vspace="0" border="0"/><br/>
+                <xsl:apply-templates select="document($stylebook.project)"/>
+              <img width="120" height="14" src="resources/close.gif" 
hspace="0" vspace="0" border="0"/><br/>
+            </td>
+            <!-- THE CONTENT PANEL -->
+            <td width="500" valign="top" align="left">
+              <table border="0" cellspacing="0" cellpadding="3">
+                <tr><td><xsl:apply-templates/></td></tr>
+              </table>
+            </td>
+          </tr>
+        </table><br/>
+        <table width="620" border="0" cellspacing="0" cellpadding="0">
+          <tr><td bgcolor="#0086b2"><img src="images/dot.gif" width="1" 
height="1"/></td></tr>
+          <tr>
+            <td align="center"><font size="-1" color="#0086b2"><i>
+              Copyright &#169; <xsl:value-of select="$copyright"/>.
+              All Rights Reserved.
+            </i></font></td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- book -->
+
+  <xsl:template match="book">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="document|faqs|changes|group|container">
+    <xsl:if test="@id=$id">
+      <img src="graphics/[EMAIL PROTECTED]" width="120" height="12" hspace="0" 
vspace="0" border="0" alt="[EMAIL PROTECTED]"/>
+    </xsl:if>
+    <xsl:if test="@id!=$id">
+      <a href="[EMAIL PROTECTED]" onMouseOver="rolloverOn('[EMAIL 
PROTECTED]');" onMouseOut="rolloverOff('[EMAIL PROTECTED]');">
+        <img onLoad="rolloverLoad('[EMAIL PROTECTED]','graphics/[EMAIL 
PROTECTED]','graphics/[EMAIL PROTECTED]');"
+             name="[EMAIL PROTECTED]" src="graphics/[EMAIL PROTECTED]" 
width="120" height="12" hspace="0" vspace="0" border="0" alt="[EMAIL 
PROTECTED]"/>
+      </a>
+    </xsl:if>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="external">
+    <xsl:variable name="extid" select="concat('ext-',position())"/>
+    <a href="[EMAIL PROTECTED]" onMouseOver="rolloverOn('side-{$extid}');" 
onMouseOut="rolloverOff('side-{$extid}');">
+      <img 
onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');"
+           name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" 
width="120" height="12" hspace="0" vspace="0" border="0" alt="[EMAIL 
PROTECTED]"/>
+    </a>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="section">
+    <xsl:variable name="sectid" select="concat('sect-',position())"/>
+    <img name="side-{$sectid}" src="graphics/{$sectid}-label.jpg" width="120" 
height="17" hspace="0" vspace="0" border="0" alt="[EMAIL PROTECTED]"/>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="separator">
+    <img src="resources/separator.gif" width="120" height="6" hspace="0" 
vspace="0" border="0"/><br/>
+  </xsl:template>
+
+  <xsl:template match="separator-space">
+    <img src="resources/separator-space.gif" width="120" height="6" hspace="0" 
vspace="0" border="0"/><br/>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- document -->
+
+  <xsl:template match="s2">
+    <table width="494" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="ffffff" colspan="2" width="494">
+          <table width="494" cellspacing="0" cellpadding="0" border="0">
+            <tr>
+              <td bgcolor="#039acc" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+              <td bgcolor="#039acc" width="492" height="1"><img 
src="resources/void.gif" width="492" height="1" vspace="0" hspace="0" 
border="0"/></td>
+              <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            </tr>
+            <tr>
+              <td bgcolor="#039acc" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#0086b2"  width="492">
+                <font size="+1" face="arial,helvetica,sanserif" 
color="#ffffff">
+                  <img src="resources/void.gif" width="2" height="2" 
vspace="0" hspace="0" border="0"/>
+                  <b><xsl:value-of select="@title"/></b>
+                </font>
+              </td>
+              <td bgcolor="#017299" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            </tr>
+            <tr>
+              <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+              <td bgcolor="#017299" width="492" height="1"><img 
src="resources/void.gif" width="492" height="1" vspace="0" hspace="0" 
border="0"/></td>
+              <td bgcolor="#017299" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="484">
+          <font face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>
+    </table>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="s3">
+    <table width="484" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="ffffff" colspan="2" width="484">
+          <table width="484" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td bgcolor="#039acc" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#039acc" width="482" height="1"><img 
src="resources/void.gif" width="482" height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2"  width="482">
+              <font face="arial,helvetica,sanserif" color="#ffffff">
+                <img src="resources/void.gif" width="2" height="2" vspace="0" 
hspace="0" border="0"/>
+                <b><xsl:value-of select="@title"/></b>
+              </font>
+            </td>
+            <td bgcolor="#017299" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#017299" width="482" height="1"><img 
src="resources/void.gif" width="482" height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#017299" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+          </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="474">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>
+    </table>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="s4">
+    <table width="474" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="ffffff" colspan="2" width="484">
+          <table width="474" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td bgcolor="#039acc" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#039acc" width="472" height="1"><img 
src="resources/void.gif" width="472" height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2"  width="472">
+              <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
+                <img src="resources/void.gif" width="2" height="2" vspace="0" 
hspace="0" border="0"/>
+                <b><xsl:value-of select="@title"/></b>
+              </font>
+            </td>
+            <td bgcolor="#017299" width="1"><img src="resources/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#017299" width="472" height="1"><img 
src="resources/void.gif" width="472" height="1" vspace="0" hspace="0" 
border="0"/></td>
+            <td bgcolor="#017299" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+          </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="464">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>
+    </table>
+    <br/>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- blocks -->
+
+  <xsl:template match="p">
+    <p><xsl:apply-templates/></p>
+  </xsl:template>
+
+  <xsl:template match="note">
+    <table width="100%" cellspacing="3" cellpadding="0" border="0">
+      <tr>
+        <td width="20" valign="top">
+          <img src="resources/note.gif" width="20" height="24" vspace="0" 
hspace="0" border="0" alt="Note"/>
+        </td>
+        <td valign="top">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <i>
+              <xsl:apply-templates/>
+            </i>
+          </font>
+        </td>
+      </tr>
+    </table>
+  </xsl:template>
+
+  <xsl:template match="ul">
+    <ul><xsl:apply-templates/></ul>
+  </xsl:template>
+
+  <xsl:template match="ol">
+    <ol><xsl:apply-templates/></ol>
+  </xsl:template>
+
+  <xsl:template match="li">
+    <li><xsl:apply-templates/></li>
+  </xsl:template>
+
+    <!--Definition lists: gloss, term, label, item -->
+  <xsl:template match="gloss">
+    <dl><xsl:apply-templates/></dl>
+  </xsl:template>
+   <!-- <term> contains a single-word, multi-word or symbolic
+       designation which is regarded as a technical term. -->
+  <xsl:template match="term">
+    <dfn><xsl:apply-templates/></dfn>
+  </xsl:template>
+  <xsl:template match="label" priority="1">
+    <dt><xsl:apply-templates/></dt>
+  </xsl:template>
+  <xsl:template match="item" priority="2">
+    <dd>
+      <xsl:apply-templates/>
+    </dd>
+  </xsl:template>
+
+  <xsl:template match="source">
+  <div align="left">
+  <table width="464" cellspacing="4" cellpadding="0" border="0">
+    <tr>
+      <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+      <td bgcolor="#0086b2" width="462" height="1"><img 
src="resources/void.gif" width="462" height="1" vspace="0" hspace="0" 
border="0"/></td>
+      <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+    </tr>
+    <tr>
+      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#ffffff"  width="462">
+          <font size="-1"><pre><xsl:apply-templates/></pre></font>
+      </td>
+      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
+    </tr>
+    <tr>
+      <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+      <td bgcolor="#0086b2" width="462" height="1"><img 
src="resources/void.gif" width="462" height="1" vspace="0" hspace="0" 
border="0"/></td>
+      <td bgcolor="#0086b2" width="1"   height="1"><img 
src="resources/void.gif" width="1"   height="1" vspace="0" hspace="0" 
border="0"/></td>
+    </tr>
+  </table>
+  </div>
+  </xsl:template>
+
+  <xsl:template match="table">
+    <table width="100%" border="0" cellspacing="2" cellpadding="2">
+      <xsl:apply-templates/>
+    </table>
+  </xsl:template>
+
+  <xsl:template match="tr">
+    <tr><xsl:apply-templates/></tr>
+  </xsl:template>
+
+  <xsl:template match="th">
+    <td bgcolor="#039acc" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]" valign="center" align="center">
+      <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
+        <b><xsl:apply-templates/></b>&#160;
+      </font>
+    </td>
+  </xsl:template>
+
+  <xsl:template match="td">
+    <td bgcolor="#a0ddf0" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]" valign="top" align="[EMAIL PROTECTED]">
+      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+        <xsl:apply-templates/>&#160;
+      </font>
+    </td>
+  </xsl:template>
+
+  <xsl:template match="tn">
+    <td bgcolor="#ffffff" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]">
+      &#160;
+    </td>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- markup -->
+
+  <xsl:template match="em">
+    <b><xsl:apply-templates/></b>
+  </xsl:template>
+
+  <xsl:template match="ref">
+    <i><xsl:apply-templates/></i>
+  </xsl:template>
+
+  <xsl:template match="code">
+    <code><font face="courier, monospaced"><xsl:apply-templates/></font></code>
+  </xsl:template>
+
+  <xsl:template match="br">
+    <br/>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- links -->
+
+  <xsl:template match="link">
+    <xsl:if test="string-length(@anchor)=0">
+      <xsl:if test="string-length(@idref)=0">
+        <xsl:apply-templates/>
+      </xsl:if>
+      <xsl:if test="string-length(@idref)>0">
+        <a href="[EMAIL PROTECTED]"><xsl:apply-templates/></a>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="string-length(@anchor)>0">
+      <xsl:if test="string-length(@idref)=0">
+        <a href="[EMAIL PROTECTED]"><xsl:apply-templates/></a>
+      </xsl:if>
+      <xsl:if test="string-length(@idref)>0">
+        <a href="[EMAIL PROTECTED]@anchor}"><xsl:apply-templates/></a>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="anchor">
+    <a name="[EMAIL PROTECTED]"><xsl:comment>anchor</xsl:comment></a>
+  </xsl:template>
+
+  <xsl:template match="jump">
+    <a href="[EMAIL PROTECTED]"><xsl:apply-templates/></a>
+  </xsl:template>
+
+  <xsl:template match="img">
+    <img src="images/[EMAIL PROTECTED]" border="0" vspace="4" hspace="4" 
align="right"/>
+  </xsl:template>
+
+  <xsl:template match="resource-ref">
+    <xsl:variable name="resourceFile"
+          select="document($stylebook.project)/book/resources/@source"/>
+    <xsl:variable name="xref" select="@idref"/>
+    <xsl:variable name="href"
+          select="document($resourceFile)/resources/[EMAIL 
PROTECTED]/@location"/>
+    <xsl:variable name="label"
+          select="document($resourceFile)/resources/[EMAIL PROTECTED]/@title"/>
+    <A href="{$href}" target="_top"><xsl:value-of select="$label"/></A>
+  </xsl:template>
+
+  <xsl:template match="human-resource-ref">
+    <xsl:variable name="resourceFile"
+          select="document($stylebook.project)/book/resources/@source"/>
+    <xsl:variable name="ref"  select="@idref"/>
+    <xsl:variable name="mailto"
+          select="document($resourceFile)/resources/[EMAIL 
PROTECTED]/@mailto"/>
+   <xsl:variable name="name"
+          select="document($resourceFile)/resources/[EMAIL PROTECTED]/@name"/>
+    <A href="mailto:{$mailto}";><xsl:value-of select="$name"/></A>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+
+<!-- ignore -->
+  <xsl:template match="form">
+    <xsl:copy-of select="." />
+  </xsl:template>
+
+<!-- copy
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+-->
+</xsl:stylesheet>
\ No newline at end of file

Added: xerces/c/web/xml/style/stylesheets/faqs2document.xsl
URL: 
http://svn.apache.org/viewvc/xerces/c/web/xml/style/stylesheets/faqs2document.xsl?rev=630876&view=auto
==============================================================================
--- xerces/c/web/xml/style/stylesheets/faqs2document.xsl (added)
+++ xerces/c/web/xml/style/stylesheets/faqs2document.xsl Mon Feb 25 07:21:44 
2008
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="faqs">
+    <s1 title="[EMAIL PROTECTED]">
+      <s2 title="Questions">
+        <ul>
+          <xsl:apply-templates select="faq" mode="index"/>
+        </ul>
+      </s2>
+        <br/>
+        <xsl:apply-templates select="faq"/>
+    </s1>
+  </xsl:template>
+
+  <xsl:template match="faq" mode="index">
+    <li>
+      <link anchor="faq-{position()}">
+        <xsl:if test="string-length(@title)=0">
+          <xsl:value-of select="q"/>
+        </xsl:if>
+        <xsl:if test="string-length(@title)>0">
+          <xsl:value-of select="@title"/>
+        </xsl:if>
+      </link>
+    </li>
+  </xsl:template>
+
+  <xsl:template match="faq">
+    <anchor name="faq-{position()}"/>
+    <s2 title="{q}">
+      <xsl:apply-templates select="a"/>
+    </s2>
+  </xsl:template>
+
+  <xsl:template match="a">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: xerces/c/web/xml/style/stylesheets/group2document.xsl
URL: 
http://svn.apache.org/viewvc/xerces/c/web/xml/style/stylesheets/group2document.xsl?rev=630876&view=auto
==============================================================================
--- xerces/c/web/xml/style/stylesheets/group2document.xsl (added)
+++ xerces/c/web/xml/style/stylesheets/group2document.xsl Mon Feb 25 07:21:44 
2008
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="group">
+    <s1 title="[EMAIL PROTECTED]">
+      <xsl:apply-templates/>
+    </s1>
+  </xsl:template>
+
+  <xsl:template match="entry">
+    <s2 title="[EMAIL PROTECTED]">
+      <p>
+        Read the <link idref="[EMAIL PROTECTED]"><xsl:value-of 
select="@title"/></link>
+        document or jump directly to:
+      </p>
+      <ul>
+        <xsl:apply-templates/>
+      </ul>
+    </s2>
+  </xsl:template>
+
+  <xsl:template match="voice">
+    <li><link idref="{ancestor::*/@id}" 
anchor="faq-{position()}"><xsl:apply-templates/></link></li>
+  </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: xerces/c/web/xml/xerces-c_book.xml
URL: 
http://svn.apache.org/viewvc/xerces/c/web/xml/xerces-c_book.xml?rev=630876&view=auto
==============================================================================
--- xerces/c/web/xml/xerces-c_book.xml (added)
+++ xerces/c/web/xml/xerces-c_book.xml Mon Feb 25 07:21:44 2008
@@ -0,0 +1,151 @@
+<?xml version="1.0"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<!DOCTYPE book SYSTEM "sbk:/style/dtd/book.dtd">
+
+<book title="&XercesCName; Documentation" copyright="1999-2007 The Apache 
Software Foundation">
+
+  <external href="../index.html"  label="Xerces Home"/>
+
+  <separator/>
+
+     <document id="index"       label="Readme"             
source="readme.xml"/>
+     <document id="charter"     label="Charter"             
source="charter.xml"/>
+     <document id="releases"    label="Release Info"     
source="releases.xml"/>
+     <hidden id="releases_archive"                   
source="releases_archive.xml"/>
+     <hidden id="releases_plan" source="releases_plan.xml"/>
+     <external href="http://&XercesDistDir;";              label="Download"/>
+     <hidden id="download" source="download.xml"/>
+
+  <separator/>
+
+  <section label="&XercesCName; &XercesC2Version;"/>
+
+     <document id="install-&XercesC2Series;" label="Installation" 
source="xerces-&XercesC2Series;/doc/install.xml"/>
+     <document id="build-&XercesC2Series;" label="Build Instructions" 
source="xerces-&XercesC2Series;/doc/build.xml"/>
+     <hidden   id="build-winunix-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/build-winunix.xml"/>
+     <hidden   id="build-other-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/build-other.xml"/>
+     <hidden   id="build-misc-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/build-misc.xml"/>
+
+  <separator-space/>
+
+     <document id="program-&XercesC2Series;" label="Programming"  
source="xerces-&XercesC2Series;/doc/program.xml"/>
+     <hidden   id="program-sax-&XercesC2Series;"           
source="xerces-&XercesC2Series;/doc/program-sax.xml"/>
+     <hidden   id="program-sax2-&XercesC2Series;"          
source="xerces-&XercesC2Series;/doc/program-sax2.xml"/>
+     <hidden   id="program-dom-&XercesC2Series;"           
source="xerces-&XercesC2Series;/doc/program-dom.xml"/>
+     <hidden   id="dom3-&XercesC2Series;"                  
source="xerces-&XercesC2Series;/doc/dom3.xml"/>
+     <hidden   id="program-deprecateddom-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/program-deprecateddom.xml"/>
+     <hidden   id="schema-&XercesC2Series;"                
source="xerces-&XercesC2Series;/doc/schema.xml"/>
+     <hidden   id="program-others-&XercesC2Series;"        
source="xerces-&XercesC2Series;/doc/program-others.xml"/>
+
+     <document id="samples-&XercesC2Series;"     label="Samples" 
source="xerces-&XercesC2Series;/doc/samples.xml"/>
+     <hidden   id="saxcount-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/saxcount.xml"/>
+     <hidden   id="saxprint-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/saxprint.xml"/>
+     <hidden   id="domcount-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/domcount.xml"/>
+     <hidden   id="domprint-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/domprint.xml"/>
+     <hidden   id="memparse-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/memparse.xml"/>
+     <hidden   id="redirect-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/redirect.xml"/>
+     <hidden   id="pparse-&XercesC2Series;"      
source="xerces-&XercesC2Series;/doc/pparse.xml"/>
+     <hidden   id="stdinparse-&XercesC2Series;"  
source="xerces-&XercesC2Series;/doc/stdinparse.xml"/>
+     <hidden   id="enumval-&XercesC2Series;"     
source="xerces-&XercesC2Series;/doc/enumval.xml"/>
+     <hidden   id="createdoc-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/createdoc.xml"/>
+     <hidden   id="sax2count-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/sax2count.xml"/>
+     <hidden   id="sax2print-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/sax2print.xml"/>
+     <hidden   id="senumval-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/senumval.xml"/>
+     <hidden   id="psviwriter-&XercesC2Series;"  
source="xerces-&XercesC2Series;/doc/psviwriter.xml"/>
+     <hidden   id="scmprint-&XercesC2Series;"    
source="xerces-&XercesC2Series;/doc/scmprint.xml"/>
+
+     <group    id="faqs-&XercesC2Series;"        label="FAQs">
+        <entry id="faq-distrib-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/faq-distrib.xml"/>
+        <entry id="faq-build-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/faq-build.xml"/>
+        <entry id="faq-parse-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/faq-parse.xml"/>
+        <entry id="faq-other-&XercesC2Series;"   
source="xerces-&XercesC2Series;/doc/faq-other.xml"/>
+       <entry id="faq-contributing-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/faq-contributing.xml"/>
+     </group>
+
+  <separator-space/>
+
+     <document id="api-&XercesC2Series;" label="API Reference" 
source="xerces-&XercesC2Series;/doc/apidocs.xml"/>
+     <external label="DOM C++ Binding" href="ApacheDOMC++Binding.html"/>
+     <document id="migrate-&XercesC2Series;" label="Migration Guide" 
source="xerces-&XercesC2Series;/doc/migration.xml"/>
+     <hidden   id="migrate-archive-&XercesC2Series;" 
source="xerces-&XercesC2Series;/doc/migration_archive.xml"/>
+
+  <separator/>
+
+  <section label="&XercesCName; &XercesC3Version;"/>
+
+     <document id="install-&XercesC3Series;" label="Installation" 
source="xerces-&XercesC3Series;/doc/install.xml"/>
+     <document id="build-&XercesC3Series;" label="Build Instructions" 
source="xerces-&XercesC3Series;/doc/build.xml"/>
+     <hidden   id="build-winunix-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/build-winunix.xml"/>
+     <hidden   id="build-other-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/build-other.xml"/>
+     <hidden   id="build-misc-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/build-misc.xml"/>
+
+  <separator-space/>
+
+     <document id="program-&XercesC3Series;" label="Programming"  
source="xerces-&XercesC3Series;/doc/program.xml"/>
+     <hidden   id="program-sax-&XercesC3Series;"           
source="xerces-&XercesC3Series;/doc/program-sax.xml"/>
+     <hidden   id="program-sax2-&XercesC3Series;"          
source="xerces-&XercesC3Series;/doc/program-sax2.xml"/>
+     <hidden   id="program-dom-&XercesC3Series;"           
source="xerces-&XercesC3Series;/doc/program-dom.xml"/>
+     <hidden   id="dom3-&XercesC3Series;"                  
source="xerces-&XercesC3Series;/doc/dom3.xml"/>
+     <hidden   id="schema-&XercesC3Series;"                
source="xerces-&XercesC3Series;/doc/schema.xml"/>
+     <hidden   id="program-others-&XercesC3Series;"        
source="xerces-&XercesC3Series;/doc/program-others.xml"/>
+
+     <document id="samples-&XercesC3Series;"     label="Samples" 
source="xerces-&XercesC3Series;/doc/samples.xml"/>
+     <hidden   id="saxcount-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/saxcount.xml"/>
+     <hidden   id="saxprint-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/saxprint.xml"/>
+     <hidden   id="domcount-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/domcount.xml"/>
+     <hidden   id="domprint-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/domprint.xml"/>
+     <hidden   id="memparse-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/memparse.xml"/>
+     <hidden   id="redirect-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/redirect.xml"/>
+     <hidden   id="pparse-&XercesC3Series;"      
source="xerces-&XercesC3Series;/doc/pparse.xml"/>
+     <hidden   id="stdinparse-&XercesC3Series;"  
source="xerces-&XercesC3Series;/doc/stdinparse.xml"/>
+     <hidden   id="enumval-&XercesC3Series;"     
source="xerces-&XercesC3Series;/doc/enumval.xml"/>
+     <hidden   id="createdoc-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/createdoc.xml"/>
+     <hidden   id="sax2count-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/sax2count.xml"/>
+     <hidden   id="sax2print-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/sax2print.xml"/>
+     <hidden   id="senumval-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/senumval.xml"/>
+     <hidden   id="psviwriter-&XercesC3Series;"  
source="xerces-&XercesC3Series;/doc/psviwriter.xml"/>
+     <hidden   id="scmprint-&XercesC3Series;"    
source="xerces-&XercesC3Series;/doc/scmprint.xml"/>
+
+     <group    id="faqs-&XercesC3Series;"        label="FAQs">
+        <entry id="faq-distrib-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/faq-distrib.xml"/>
+        <entry id="faq-build-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/faq-build.xml"/>
+        <entry id="faq-parse-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/faq-parse.xml"/>
+        <entry id="faq-other-&XercesC3Series;"   
source="xerces-&XercesC3Series;/doc/faq-other.xml"/>
+       <entry id="faq-contributing-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/faq-contributing.xml"/>
+     </group>
+
+  <separator-space/>
+
+     <document id="api-&XercesC3Series;" label="API Reference" 
source="xerces-&XercesC3Series;/doc/apidocs.xml"/>
+     <external label="DOM C++ Binding" href="ApacheDOMC++Binding.html"/>
+     <document id="migrate-&XercesC3Series;" label="Migration Guide" 
source="xerces-&XercesC3Series;/doc/migration.xml"/>
+     <hidden   id="migrate-archive-&XercesC3Series;" 
source="xerces-&XercesC3Series;/doc/migration_archive.xml"/>
+
+  <separator/>
+
+  <document id="feedback"    label="Feedback"     source="feedback.xml"/>
+  <document id="bug-report"  label="Bug-Reporting" source="bug-report.xml"/>
+  <document id="mailing-lists"  label="Mailing Lists" 
source="mailing-lists.xml"/>
+
+  <separator/>
+
+   <document id="source-repository"  label="Source Repository" 
source="source-repository.xml"/>
+   <document id="applications"  label="Applications" 
source="applications.xml"/>
+
+</book>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to