Modified: xerces/c/branches/xerces-2/doc/schema.xml URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/schema.xml?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/schema.xml (original) +++ xerces/c/branches/xerces-2/doc/schema.xml Mon Feb 25 10:58:47 2008 @@ -19,17 +19,21 @@ <!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd"> <s1 title="Schema"> <s2 title="Introduction"> - <p>This package contains an implementation of the W3C XML Schema - Language, a recommendation of the Worldwide Web Consortium - available in three parts: - <jump href="http://www.w3.org/TR/xmlschema-0/">XML Schema: Primer</jump> and - <jump href="http://www.w3.org/TR/xmlschema-1/">XML Schema: Structures</jump> and - <jump href="http://www.w3.org/TR/xmlschema-2/">XML Schema: Datatypes</jump>. - We consider this implementation complete except for the limitations cited below. - </p> - - &schema-feedback-info; + <p>This package contains an implementation of the W3C XML Schema + Language, a recommendation of the Worldwide Web Consortium + available in three parts: + <jump href="http://www.w3.org/TR/xmlschema-0/">XML Schema: Primer</jump> and + <jump href="http://www.w3.org/TR/xmlschema-1/">XML Schema: Structures</jump> and + <jump href="http://www.w3.org/TR/xmlschema-2/">XML Schema: Datatypes</jump>. + We consider this implementation complete except for the limitations cited below. + </p> + <p>We would very much appreciate feedback on the package via the + <jump href="&MailURI;">&XercesCName; mailing lists</jump>, + and we encourage the submission of bugs as described on the + <jump href="&BugURI;">Bug Reporting</jump> page. Please + read this document before using this package. + </p> </s2> <anchor name="limitation"/> @@ -42,8 +46,8 @@ in the parser. Large values for <code>minOccurs</code> should be avoided, and <code>unbounded</code> should be used instead of a large value for <code>maxOccurs</code>.</li> - <li>The parser treats local elements in the same scope with the - same name and namespace as one element declaration and does not + <li>The parser treats local elements in the same scope with the + same name and namespace as one element declaration and does not differentiate between them.</li> </ul> </s2> @@ -61,8 +65,8 @@ </s3> <s3 title="out-of-bound float values"> - <p> - For float data, the specs does not explicitly specify how to deal with + <p> + For float data, the specs does not explicitly specify how to deal with out-of-bound data. Xerces converts these values as below (the values depend on the system specific values of FLT_MAX and FLT_MIN): </p> @@ -74,30 +78,30 @@ <tr> <td>less than -FLT_MAX (approx -3.402823466e+38) </td> <td>-INF</td> - </tr> + </tr> <tr> <td>greater than -FLT_MIN (approx -1.175494351e-38) and less than -0 </td> <td>-0</td> - </tr> + </tr> <tr> <td>greater than +0 and less than +FL_MIN (approx +1.175494351e-38) </td> <td>+0</td> - </tr> + </tr> <tr> <td>greater than +FLT_MAX (approx 3.402823466e+38) </td> <td>+INF</td> - </tr> - </table> + </tr> + </table> <p> The effect of this conversion would invalidate an instance data, for example, "1.1e-39", of a data type derived from float, with minExclusive value '+0', since "1.1e-39" is converted to "+0", which is the same as the minExclusive. - </p> + </p> </s3> <s3 title="out-of-bound double values"> - <p> + <p> Similarly, Xerces converts double values as below (the values depend on the system specific values of DBL_MAX and DBL_MIN): </p> @@ -109,20 +113,20 @@ <tr> <td>less than -DBL_MAX (approx -1.7976931348623158e+308) </td> <td>-INF</td> - </tr> + </tr> <tr> <td>greater than -DBL_MIN (approx -2.2250738585072014e-308) and less than -0 </td> <td>-0</td> - </tr> + </tr> <tr> <td>greater than +0 and less than +DBL_MIN (approx +2.2250738585072014e-308) </td> <td>+0</td> - </tr> + </tr> <tr> <td>greater than +DBL_MAX (approx +1.7976931348623158e+308) </td> <td>+INF</td> - </tr> - </table> + </tr> + </table> </s3> </s2>
Modified: xerces/c/branches/xerces-2/doc/scmprint.xml URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/scmprint.xml?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/scmprint.xml (original) +++ xerces/c/branches/xerces-2/doc/scmprint.xml Mon Feb 25 10:58:47 2008 @@ -41,7 +41,7 @@ </source> <p>Here is some sample output from SCMPrint (as the output is verbose it has been truncated)</p> -<source>cd &XercesCInstallDir;-linux/samples/data +<source>cd &XercesC2InstallDir;-linux/samples/data SCMPrint personal.xsd ********** Printing out information from Schema ********** Modified: xerces/c/branches/xerces-2/doc/senumval.xml URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/senumval.xml?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/senumval.xml (original) +++ xerces/c/branches/xerces-2/doc/senumval.xml Mon Feb 25 10:58:47 2008 @@ -35,7 +35,7 @@ access the Schema information stored in internal data structures. </source> <p>Here is a sample output from SEnumVal</p> -<source>cd &XercesCInstallDir;-linux/samples/data +<source>cd &XercesC2InstallDir;-linux/samples/data SEnumVal personal-schema.xml Name: personnel Modified: xerces/c/branches/xerces-2/doc/stdinparse.xml URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/stdinparse.xml?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/stdinparse.xml (original) +++ xerces/c/branches/xerces-2/doc/stdinparse.xml Mon Feb 25 10:58:47 2008 @@ -52,7 +52,7 @@ <em>-v=auto</em> will validate if a DOCTYPE declaration or a schema declaration is present in the XML document</p> <p>Make sure that you run StdInParse in the samples/data directory.</p> <p>Here is a sample output from StdInParse:</p> -<source>cd &XercesCInstallDir;-linux/samples/data +<source>cd &XercesC2InstallDir;-linux/samples/data StdInParse -v=always < personal.xml stdin: 10 ms (37 elems, 12 attrs, 0 spaces, 268 chars)</source> <p>Running StdInParse with the validating parser gives a different result because Modified: xerces/c/branches/xerces-2/doc/style/dtd/book.dtd URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/dtd/book.dtd?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/style/dtd/book.dtd (original) +++ xerces/c/branches/xerces-2/doc/style/dtd/book.dtd Mon Feb 25 10:58:47 2008 @@ -6,7 +6,7 @@ <!ENTITY % externalEntity SYSTEM "entities.ent"> %externalEntity; -<!ELEMENT book (resources?|document|hidden|faqs|changes|group|container|external|separator)+> +<!ELEMENT book (resources?|document|hidden|faqs|changes|group|container|external|section|separator|separator-space)+> <!ATTLIST book title CDATA #REQUIRED copyright CDATA #IMPLIED> @@ -50,6 +50,10 @@ <!ATTLIST external label CDATA #REQUIRED href CDATA #REQUIRED> +<!ELEMENT section EMPTY> +<!ATTLIST section label CDATA #REQUIRED> + <!ELEMENT separator EMPTY> -<!-- CVS $Revision$ $Date$ --> +<!ELEMENT separator-space EMPTY> + Modified: xerces/c/branches/xerces-2/doc/style/dtd/entities.ent URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/dtd/entities.ent?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/style/dtd/entities.ent (original) +++ xerces/c/branches/xerces-2/doc/style/dtd/entities.ent Mon Feb 25 10:58:47 2008 @@ -1,246 +1,26 @@ <?xml encoding="ISO-8859-1"?> -<!ENTITY XercesCFullName "Xerces C++ Parser"> <!-- fullproductname --> -<!ENTITY XercesCName "Xerces-C++"> <!-- productname --> -<!ENTITY XercesCVersion "2.8.0"> <!-- versionnumber --> -<!ENTITY XercesCVersion152 "1.5.2"> <!-- versionnumber --> -<!ENTITY XercesCProjectName "Xerces"> <!-- projectname --> -<!ENTITY XercesCInstallDir "xerces-c_2_8_0"> <!-- installdirname --> -<!ENTITY XercesCSrcInstallDir "xerces-c-src_2_8_0"> <!-- sourcedirectory --> -<!ENTITY XercesCToolsInstallDir "xerces-c-tools_2_8_0"> <!-- sourcedirectory --> -<!ENTITY XercesCWindowsLib "xerces-c_2"> <!-- windowslibname --> -<!ENTITY XercesCWindowsDLL "xerces-c_2_8"> <!-- windowsDLLname --> -<!ENTITY XercesCUnixSoName "28.0"> <!-- unixlibname --> -<!ENTITY XercesCUnixVersion "28"> <!-- unixlibname --> -<!ENTITY XercesCUnixLib "libxerces-c"> <!-- unixlibname --> -<!ENTITY XercesCNamespace "xercesc"> <!-- C++ namespace name --> -<!ENTITY XercesCNSVersion "xercesc_2_8"> <!-- C++ namespace name with Version --> -<!ENTITY XercesCDevelEmailAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCDevelSAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCDevelUAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCDevelHAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCUserEmailAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCUserSAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCUserUAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY XercesCUserHAddress "[EMAIL PROTECTED]"> <!-- emailaddress --> -<!ENTITY JiraURL "http://issues.apache.org/jira/browse/XERCESC "> <!-- url --> -<!ENTITY XercesDistDir "xerces.apache.org/xerces-c/download.cgi"> <!-- download directory --> +<!ENTITY XercesCProjectName "Xerces"> <!-- projectname --> +<!ENTITY XercesCFullName "Xerces C++ XML Parser"> <!-- fullproductname --> +<!ENTITY XercesCName "Xerces-C++"> <!-- productname --> +<!ENTITY XercesC2Series "2"> <!-- release series --> +<!ENTITY XercesC2Version "2.8.0"> <!-- 2-series version number --> +<!ENTITY XercesC2InstallDir "xerces-c_2_8_0"> <!-- installdirname --> +<!ENTITY XercesC2SrcInstallDir "xerces-c-src_2_8_0"> <!-- sourcedirectory --> +<!ENTITY XercesC2ToolsInstallDir "xerces-c-tools_2_8_0"> <!-- sourcedirectory --> +<!ENTITY XercesC2WindowsLib "xerces-c_2"> <!-- windowslibname --> +<!ENTITY XercesC2WindowsDLL "xerces-c_2_8"> <!-- windowsDLLname --> +<!ENTITY XercesC2UnixSoName "28.0"> <!-- unixlibname --> +<!ENTITY XercesC2UnixVersion "28"> <!-- unixlibname --> +<!ENTITY XercesC2UnixLib "libxerces-c"> <!-- unixlibname --> +<!ENTITY XercesC2Namespace "xercesc"> <!-- C++ namespace name --> +<!ENTITY XercesC2NSVersion "xercesc_2_8"> <!-- C++ namespace name with Version --> + + +<!ENTITY HelpURI "http://xerces.apache.org/xerces-c/feedback.html"> <!-- help and feedback --> +<!ENTITY BugURI "http://xerces.apache.org/xerces-c/bug-report.html"> <!-- bug reporting --> +<!ENTITY MailURI "http://xerces.apache.org/xerces-c/mailing-lists.html"> <!-- mailing lists --> +<!ENTITY RepURI "http://xerces.apache.org/xerces-c/source-repository.html"> <!-- mailing lists --> <!ENTITY colon ":"> <!ENTITY percent "%"> - -<!-- value for home entity in xerces-c_book.xml --> -<!ENTITY home ' -<external href="../index.html" label="Home"/> -'> - -<!-- value for releases_plan entity in xerces-c_book.xml --> -<!ENTITY releases_plan ' -<hidden id="releases_plan" source="releases_plan.xml"/> -'> - -<!-- value for faq-distrib entity in xerces-c_book.xml --> -<!ENTITY faq-distrib ' -<entry id="faq-distrib" source="faq-distrib.xml"/> -'> - -<!-- value for faq-contributing entity in xerces-c_book.xml --> -<!ENTITY faq-contributing ' -<entry id="faq-contributing" source="faq-contributing.xml"/> -'> - -<!-- Entity for bug report information used in bug-report.xml --> -<!ENTITY bug-report ' -<s2 title="How to report bugs"> -<p> Please report bugs to <jump href="&JiraURL;">Jira</jump>, -the Apache bug database. Pick the product "Xerces-C++" -using the following components: -</p> -<table> -<tr><th><em>Component</em></th><th><em>Description</em></th></tr> -<tr><td>DOM</td><td>Items specific to DOM</td></tr> -<tr><td>SAX/SAX2</td><td>Items specific to SAX or SAX2</td></tr> -<tr><td>Non-Validating Parser</td><td>General Parsing Problem</td></tr> -<tr><td>Validating Parser (DTD)</td><td>DTD related parser issue</td></tr> -<tr><td>Validating Parser (Schema)</td><td>Schema related parser issue</td></tr> -<tr><td>Utilities</td><td>Items related to utilities like MessageLoader, Transcoder, NetAccessors, Platform specific utilities</td></tr> -<tr><td>Build</td><td>Problem with build, makefile, project files</td></tr> -<tr><td>Documentation</td><td>Documentation bugs such as FAQ, Programming Guide</td></tr> -<tr><td>Samples/Tests</td><td>Samples or test cases related issues</td></tr> -<tr><td>Miscellaneous</td><td>Items not covered in other categories</td></tr> -</table> -<p>A copy of your bug report is sent automatically to the -<jump href="mailing-lists.html">&XercesCName; development mailing list</jump>. -</p> -</s2> -<s2 title="Search first"> -<p> Check the <jump href="&JiraURL;">Jira</jump> database -before submitting your bug report to avoid creating a duplicate report. -Even the bug has been reported already, you may add a comment to the existing report -since your contribution may lead to a quicker identification/resolution to the bug reported. -</p> -<p> Here is the list of -<jump href= -"http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10510&statusIds=1"> -outstanding bugs</jump> that are currently reported in Jira. -</p> -</s2> -<s2 title="Write a good bug report"> -<p> Writing a useful bug report, which makes the bug reproducible, is the first step -towards the resolution of the bug. Specifics about the bug, like -</p> -<ul> -<li>&XercesCName; version number</li> -<li>Platform</li> -<li>Operating system and version number</li> -<li>Compiler and version number</li> -<li>The XML document (or excerpt) that failed</li> -<li>The C++ application code that failed</li> -<li>Whether you built the &XercesCName; library yourself or used the -binary distribution</li> -<li>What happened</li> -</ul> -<p> -are all necessary information to allow developer to reproduce, -identify, evaluate and eventually, fix the bug, which is the very -purpose of your reporting of the bug. -</p> -<p>If you are providing a patch please review the information in -<jump href="faq-contributing.html#Submitting Patches">Submitting Patches</jump>. -</p> -</s2> -'> - -<!-- build-winunix.xml & faq-distrib.xml supported platforms --> -<!ENTITY build-winunix-supported-platforms ' -<table> -<tr><th><em>Operating System</em></th><th><em>Compiler</em></th></tr> -<tr><th colspan="2"><em>32-bit</em></th></tr> -<tr><td>Windows x86</td><td>MS Visual C++ 7.1 (2003)</td></tr> -<tr><td>Windows x86</td><td>MS Visual C++ 8.0 (2005)</td></tr> -<tr><td>Linux x86</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 x86</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 x86</td><td>Sun C++ 5.7 (Studio 10) or later</td></tr> -<tr><td>Solaris 10 SPARC</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 SPARC</td><td>Sun C++ 5.7 (Studio 10) or later</td></tr> -<tr><td>AIX 5.3 PowerPC</td><td>IBM XL C++ 7.0 or later</td></tr> -<tr><td>HP-UX 11i PA-RISC</td><td>HP aCC A.03.x</td></tr> -<tr><td>HP-UX 11i IA-64</td><td>HP aCC A.06.x</td></tr> -<tr><td>MacOS X 10.4 "Tiger" x86</td><td>GCC 4.0.x (Xcode 2.x) or later</td></tr> -<tr><td>MacOS X 10.4 "Tiger" PowerPC</td><td>GCC 4.0.x (Xcode 2.x) or later</td></tr> - -<tr><th colspan="2"><em>64-bit</em></th></tr> -<tr><td>Windows x86-64</td><td>MS Visual C++ 8.0 (2005)</td></tr> -<tr><td>Linux x86-64</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 x86-64</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 x86-64</td><td>Sun C++ 5.7 (Studio 10) or later</td></tr> -<tr><td>Solaris 10 SPARC</td><td>GCC 3.4.x or later</td></tr> -<tr><td>Solaris 10 SPARC</td><td>Sun C++ 5.7 (Studio 10) or later</td></tr> -<tr><td>AIX 5.3 PowerPC</td><td>IBM XL C++ 7.0 or later</td></tr> -<tr><td>HP-UX 11i PA-RISC</td><td>HP aCC A.03.x</td></tr> -<tr><td>HP-UX 11i IA-64</td><td>HP aCC A.06.x</td></tr> -</table> -'> - -<!-- note in build-winunix.xml about building on untested platforms --> -<!ENTITY build-winunix-note ' -<p>While older platforms/compilers will most likely work, if you are not using any of - these compilers, you are taking a calculated risk -by exploring untested grounds. Your effort in making &XercesCName; work on -new platforms/compilers is greatly appreciated and any problems you face can be addressed -on the <jump href="mailing-lists.html">&XercesCName; mailing lists</jump>. -</p> -'> - -<!-- support faq info for faq-other.xml --> -<!ENTITY faq-other-support ' -<faq title="Is there any kind of support available for &XercesCName;?"> -<q>Is there any kind of support available for &XercesCName;?</q> -<a> -<p>&XercesCName; comes with <em>no</em> formal support.</p> -<p>Every volunteer project obtains its strength from the people involved in -it. Mailing lists provide a simple and effective communication mechanism. You -are welcome to join any of these mailing lists (or all of them if you wish). -You can choose to lurk, or to actively participate. It is up to you. Before you -join these lists, you should look over the resources in the Reference Library -section</p> -<p>Instructions for subscribing as well as archives are available at the -<jump href="mailing-lists.html">&XercesCName; mailing lists</jump> page.</p> -</a> -</faq> -'> - -<!-- patch faq info for faq-other.xml --> -<!ENTITY faq-other-patch ' -<faq title="I have a patch to the &XercesCName; source code. How do I submit it?"> -<q>I have a patch to the &XercesCName; source code. How do I submit it?</q> -<a> -<p>Mail it to the <jump href="mailing-lists.html">&XercesCName; -development mailing list</jump>. Its also a good idea to add a report to -<jump href="&JiraURL;">Jira</jump> to track the issue There are no set rules about -how or what must be included -- if you have fixed a problem or enhanced the code -in some way, we really would like to get your changes, and will take them in -any reasonable form.</p> -<p>Generally a diff of the changed files against the current sources from -<jump href="source-repository.html">SVN</jump> is good, along with some kind of -description of what the change is. (Working with the current sources is important!)</p> -</a> -</faq> -'> - -<!-- note with link to faq-distrib in faq-build.xml --> -<!ENTITY faq-build-faq-distrib1 ' -(please refer to -<jump href="faq-distrib.html#faq-1">FAQ: What platforms / compilers are -being used to build the binary distribution kits?</jump>) -'> - -<!ENTITY faq-build-faq-distrib3 ' -(for exact name -see <jump href="faq-distrib.html#faq-3">FAQ: Which DLLs do I need to distribute with my application?</jump>) -'> - -<!-- note with link to faq-distrib in install.xml per solaris and gtar --> -<!ENTITY install-faq-distrib11 ' -See -<jump href="faq-distrib.html#faq-11">FAQ</jump> for more information. -'> - -<!-- note with link to releases-plan in releases.xml --> -<!ENTITY releases-releases-plan ' -<s2 title="Releases Plan"> -<p> For future release plan about &XercesCName;, -please refer to <jump href="releases_plan.html">Releases Plan</jump>. -</p> -</s2> -'> - -<!-- paragraph in releases.xml with table of bugzilla bugs fixed --> -<!ENTITY releases-fixed-bugs-para ' -'> - -<!-- feedback info in schema.xml --> -<!ENTITY schema-feedback-info ' -<p>We would very much appreciate feedback on the package via the -<jump href="mailing-lists.html">&XercesCName; mailing lists</jump>, -and we encourage the submission of bugs as described on the -<jump href="bug-report.html">Bug Reporting</jump> page. -Please read this document before using this package. -</p> -'> - - -<!-- bug report / contact info in feedback.xml --> -<!ENTITY feedback-bug-report ' -<p>Please browse through this bundled documentation completely. Most of -the common questions have been answered in the FAQs. Specifically, do -read the answer to "<jump href="faq-other.html#faq-4"> Is there any kind -of support available for &XercesCName;?</jump>". Browsing this -documentation, may be the quickest way to get an answer. Of course, if -all else fails, as mentioned in the link above, you can post a question -to one of the <jump href="mailing-lists.html">&XercesCName; mailing -lists</jump>.</p> <p>See <jump href="bug-report.html">Bug Reporting</jump> -if you would like to report a defect (which is greatly appreciated).</p> -'> - - Added: xerces/c/branches/xerces-2/doc/style/graphics/section.gif URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/graphics/section.gif?rev=630956&view=auto ============================================================================== Binary file - no diff available. Propchange: xerces/c/branches/xerces-2/doc/style/graphics/section.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: xerces/c/branches/xerces-2/doc/style/resources/separator-space.gif URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/resources/separator-space.gif?rev=630956&view=auto ============================================================================== Binary file - no diff available. Propchange: xerces/c/branches/xerces-2/doc/style/resources/separator-space.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: xerces/c/branches/xerces-2/doc/style/stylesheets/book2project.xsl URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/stylesheets/book2project.xsl?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/style/stylesheets/book2project.xsl (original) +++ xerces/c/branches/xerces-2/doc/style/stylesheets/book2project.xsl Mon Feb 25 10:58:47 2008 @@ -177,7 +177,7 @@ <processor name="xslt"> <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/> </processor> - </process> + </process> <xsl:call-template name="header"> @@ -191,7 +191,7 @@ <xsl:with-param name="label" select="@label"/> </xsl:call-template> - + <create source="[EMAIL PROTECTED]" target="[EMAIL PROTECTED]" producer="parser" printer="html"> <processor name="xslt"> <parameter name="id" value="[EMAIL PROTECTED]"/> @@ -235,12 +235,22 @@ </xsl:call-template> </xsl:template> + + <xsl:template match="section"> + + <xsl:call-template name="sect-label"> + <xsl:with-param name="id" select="concat('sect-',position())"/> + <xsl:with-param name="label" select="@label"/> + </xsl:call-template> + + </xsl:template> + <!-- ********************************************************************** --> <!-- NAMED TEMPLATES --> <!-- ********************************************************************** --> <!-- Generate the doument header image --> - <xsl:template name="header"> + <xsl:template name="header"> <xsl:param name="id"/> <xsl:param name="source"/> <xsl:param name="label"/> @@ -254,10 +264,10 @@ </xsl:template> <!-- Generate the three rollover label images --> - <xsl:template name="labels"> + <xsl:template name="labels"> <xsl:param name="id"/> <xsl:param name="label"/> - + <create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image"> <parameter name="label" value="{$label}"/> <processor name="xslt"> @@ -286,4 +296,18 @@ </create> </xsl:template> -</xsl:stylesheet> \ No newline at end of file +<!-- Generate one bold section label --> + <xsl:template name="sect-label"> + <xsl:param name="id"/> + <xsl:param name="label"/> + + <create source="" target="graphics/{$id}-label.jpg" producer="context" printer="image"> + <parameter name="label" value="{$label}"/> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/context2section.xsl"/> + <parameter name="color" value="ffffff"/> + </processor> + </create> + </xsl:template> + +</xsl:stylesheet> Added: xerces/c/branches/xerces-2/doc/style/stylesheets/context2section.xsl URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/stylesheets/context2section.xsl?rev=630956&view=auto ============================================================================== --- xerces/c/branches/xerces-2/doc/style/stylesheets/context2section.xsl (added) +++ xerces/c/branches/xerces-2/doc/style/stylesheets/context2section.xsl Mon Feb 25 10:58:47 2008 @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + + <xsl:param name="color"/> + + <xsl:template match="/"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="context"> + <image source="sbk:/style/graphics/section.gif"> + <xsl:apply-templates/> + </image> + </xsl:template> + + <xsl:template match="parameter"> + <xsl:if test="@name='label'"> + <text font="Arial" size="12" x="4" y="2" halign="left" + valign="top" color="{$color}" style="bold" text="[EMAIL PROTECTED]"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> Modified: xerces/c/branches/xerces-2/doc/style/stylesheets/document2html.xsl URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/style/stylesheets/document2html.xsl?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/style/stylesheets/document2html.xsl (original) +++ xerces/c/branches/xerces-2/doc/style/stylesheets/document2html.xsl Mon Feb 25 10:58:47 2008 @@ -119,10 +119,19 @@ <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 --> Modified: xerces/c/branches/xerces-2/doc/xerces-c_book.xml URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2/doc/xerces-c_book.xml?rev=630956&r1=630955&r2=630956&view=diff ============================================================================== --- xerces/c/branches/xerces-2/doc/xerces-c_book.xml (original) +++ xerces/c/branches/xerces-2/doc/xerces-c_book.xml Mon Feb 25 10:58:47 2008 @@ -18,84 +18,58 @@ <!DOCTYPE book SYSTEM "sbk:/style/dtd/book.dtd"> -<book title="&XercesCName; Documentation" copyright="1999-2007 The Apache Software Foundation"> +<book title="&XercesCName; &XercesC2Version; Documentation" copyright="1999-2007 The Apache Software Foundation"> - &home; - - - <separator/> + <section label="&XercesCName; &XercesC2Version;"/> <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"/> - &releases_plan; - - - <separator/> - - <document id="install" label="Installation" source="install.xml"/> - <external href="http://&XercesDistDir;" label="Download"/> - <hidden id="download" source="download.xml"/> - <document id="build" label="Build Instructions" source="build.xml"/> - <hidden id="build-winunix" source="build-winunix.xml"/> - <hidden id="build-other" source="build-other.xml"/> - <hidden id="build-misc" source="build-misc.xml"/> - - <separator/> - - <document id="program" label="Programming" source="program.xml"/> - <hidden id="program-sax" source="program-sax.xml"/> - <hidden id="program-sax2" source="program-sax2.xml"/> - <hidden id="program-dom" source="program-dom.xml"/> - <hidden id="dom3" source="dom3.xml"/> - <hidden id="program-deprecateddom" source="program-deprecateddom.xml"/> - <hidden id="schema" source="schema.xml"/> - <hidden id="program-others" source="program-others.xml"/> - - <document id="samples" label="Samples" source="samples.xml"/> - <hidden id="saxcount" source="saxcount.xml"/> - <hidden id="saxprint" source="saxprint.xml"/> - <hidden id="domcount" source="domcount.xml"/> - <hidden id="domprint" source="domprint.xml"/> - <hidden id="memparse" source="memparse.xml"/> - <hidden id="redirect" source="redirect.xml"/> - <hidden id="pparse" source="pparse.xml"/> - <hidden id="stdinparse" source="stdinparse.xml"/> - <hidden id="enumval" source="enumval.xml"/> - <hidden id="createdoc" source="createdoc.xml"/> - <hidden id="sax2count" source="sax2count.xml"/> - <hidden id="sax2print" source="sax2print.xml"/> - <hidden id="senumval" source="senumval.xml"/> - <hidden id="psviwriter" source="psviwriter.xml"/> - <hidden id="scmprint" source="scmprint.xml"/> - - <group id="faqs" label="FAQs"> - &faq-distrib; - <entry id="faq-build" source="faq-build.xml"/> - <entry id="faq-parse" source="faq-parse.xml"/> - <entry id="faq-other" source="faq-other.xml"/> - &faq-contributing; + <document id="install-&XercesC2Series;" label="Installation" source="install.xml"/> + <document id="build-&XercesC2Series;" label="Build Instructions" source="build.xml"/> + <hidden id="build-winunix-&XercesC2Series;" source="build-winunix.xml"/> + <hidden id="build-other-&XercesC2Series;" source="build-other.xml"/> + <hidden id="build-misc-&XercesC2Series;" source="build-misc.xml"/> + + <separator-space/> + + <document id="program-&XercesC2Series;" label="Programming" source="program.xml"/> + <hidden id="program-sax-&XercesC2Series;" source="program-sax.xml"/> + <hidden id="program-sax2-&XercesC2Series;" source="program-sax2.xml"/> + <hidden id="program-dom-&XercesC2Series;" source="program-dom.xml"/> + <hidden id="dom3-&XercesC2Series;" source="dom3.xml"/> + <hidden id="program-deprecateddom-&XercesC2Series;" source="program-deprecateddom.xml"/> + <hidden id="schema-&XercesC2Series;" source="schema.xml"/> + <hidden id="program-others-&XercesC2Series;" source="program-others.xml"/> + + <document id="samples-&XercesC2Series;" label="Samples" source="samples.xml"/> + <hidden id="saxcount-&XercesC2Series;" source="saxcount.xml"/> + <hidden id="saxprint-&XercesC2Series;" source="saxprint.xml"/> + <hidden id="domcount-&XercesC2Series;" source="domcount.xml"/> + <hidden id="domprint-&XercesC2Series;" source="domprint.xml"/> + <hidden id="memparse-&XercesC2Series;" source="memparse.xml"/> + <hidden id="redirect-&XercesC2Series;" source="redirect.xml"/> + <hidden id="pparse-&XercesC2Series;" source="pparse.xml"/> + <hidden id="stdinparse-&XercesC2Series;" source="stdinparse.xml"/> + <hidden id="enumval-&XercesC2Series;" source="enumval.xml"/> + <hidden id="createdoc-&XercesC2Series;" source="createdoc.xml"/> + <hidden id="sax2count-&XercesC2Series;" source="sax2count.xml"/> + <hidden id="sax2print-&XercesC2Series;" source="sax2print.xml"/> + <hidden id="senumval-&XercesC2Series;" source="senumval.xml"/> + <hidden id="psviwriter-&XercesC2Series;" source="psviwriter.xml"/> + <hidden id="scmprint-&XercesC2Series;" source="scmprint.xml"/> + + <group id="faqs-&XercesC2Series;" label="FAQs"> + <entry id="faq-distrib-&XercesC2Series;" source="faq-distrib.xml"/> + <entry id="faq-build-&XercesC2Series;" source="faq-build.xml"/> + <entry id="faq-parse-&XercesC2Series;" source="faq-parse.xml"/> + <entry id="faq-other-&XercesC2Series;" source="faq-other.xml"/> + <entry id="faq-contributing-&XercesC2Series;" source="faq-contributing.xml"/> </group> - <separator/> - - <document id="api" label="API Reference" source="apidocs.xml"/> - - <external href="ApacheDOMC++Binding.html" label="DOM C++ Binding"/> - - <document id="migrate" label="Migration Guide" source="migration.xml"/> - <hidden id="migrate_archive" source="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/> + <separator-space/> - <document id="source-repository" label="Source Repository" source="source-repository.xml"/> - <document id="applications" label="Applications" source="applications.xml"/> + <document id="api-&XercesC2Series;" label="API Reference" source="apidocs.xml"/> + <external label="DOM C++ Binding" href="ApacheDOMC++Binding.html"/> + <document id="migrate-&XercesC2Series;" label="Migration Guide" source="migration.xml"/> + <hidden id="migrate-archive-&XercesC2Series;" source="migration_archive.xml"/> </book> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
