|
From: <fb...@us...> - 2003-07-11 15:14:59
|
Update of /cvsroot/jgb/jgb/src/xdocs/template
In directory sc8-pr-cvs1:/tmp/cvs-serv31364/src/xdocs/template
Modified Files:
elemdocs.xsl
Log Message:
* src/xdocs/template/elemdocs.xsl:
Added IDs to all main header elements (examples, attributes, parents,
children).
Index: elemdocs.xsl
===================================================================
RCS file: /cvsroot/jgb/jgb/src/xdocs/template/elemdocs.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** elemdocs.xsl 2 Jul 2003 16:18:40 -0000 1.11
--- elemdocs.xsl 11 Jul 2003 15:14:56 -0000 1.12
***************
*** 180,184 ****
<xsl:template match="children">
! <h2>Parent element(s)</h2>
<div>
<xsl:variable name="refid" select="ancestor::element/attribute::id"/>
--- 180,184 ----
<xsl:template match="children">
! <h2 id="parents">Parent element(s)</h2>
<div>
<xsl:variable name="refid" select="ancestor::element/attribute::id"/>
***************
*** 213,217 ****
</div>
! <h2>Child element(s)</h2>
<div>
<xsl:choose>
--- 213,217 ----
</div>
! <h2 id="children">Child element(s)</h2>
<div>
<xsl:choose>
***************
*** 253,262 ****
<xsl:template match="attributes[count(attribute) = 0]">
! <h2>Attributes</h2>
<em>None</em>
</xsl:template>
<xsl:template match="attributes[count(attribute) > 0]">
! <h2>Attributes</h2>
<table id="xmlAttributes" border="1" cellspacing="0" cellpadding="2">
<thead>
--- 253,262 ----
<xsl:template match="attributes[count(attribute) = 0]">
! <h2 id="attributes">Attributes</h2>
<em>None</em>
</xsl:template>
<xsl:template match="attributes[count(attribute) > 0]">
! <h2 id="attributes">Attributes</h2>
<table id="xmlAttributes" border="1" cellspacing="0" cellpadding="2">
<thead>
***************
*** 336,340 ****
<xsl:template match="example">
! <h2>Example usage</h2>
<pre class="xmlCode"><xsl:apply-templates/></pre>
</xsl:template>
--- 336,340 ----
<xsl:template match="example">
! <h2 id="example">Example usage</h2>
<pre class="xmlCode"><xsl:apply-templates/></pre>
</xsl:template>
|