OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Modular DocBook still not working


Betty,
Here are valid versions of the original source files and a PDF I
generated with them.
If you are still having problems getting this to build there could be an
issue with the xslt processor set up. 
We use saxon, driven by Ant.
Here is how we set up the call to the xslt processor:
		<java classname="com.icl.saxon.StyleSheet"
classpathref="xslt-classpath" dir="." fork="true" maxmemory="512M">
			<sysproperty
key="javax.xml.parsers.DocumentBuilderFactory"
value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" />
			<sysproperty
key="javax.xml.parsers.SAXParserFactory"
value="org.apache.xerces.jaxp.SAXParserFactoryImpl" />
			<sysproperty
key="org.apache.xerces.xni.parser.XMLParserConfiguration"
value="org.apache.xerces.parsers.XIncludeParserConfiguration" />
			<arg value="-x" />
			<arg
value="org.apache.xml.resolver.tools.ResolvingXMLReader" />
			<arg value="-y" />
			<arg
value="org.apache.xml.resolver.tools.ResolvingXMLReader" />
			<arg value="-r" />
			<arg
value="org.apache.xml.resolver.tools.CatalogResolver" />
			<arg value="-o" />
			<arg value="output/__temp.fo" />
			<arg value="${docbook.in}" />
			<arg
value="${env.DBCK_HOME}/custom-ns/${BOOKLIB}-pdf.xsl" />
			<arg
value="target.database.document=${PDFSITEMAP}" />
			<arg value="current.docid=${docbook.docid}" />
		</java>

Hope that helps.
Cheers,
Eric

-----Original Message-----
From: Betty Ing [mailto:ingbe@mcmaster.ca] 
Sent: Friday, April 03, 2009 12:00 PM
To: Tom_Towle@bcbsil.com
Cc: docbook-apps@lists.oasis-open.org; Betty Ing
Subject: Re: [docbook-apps] Modular DocBook still not working

Hello Tom,

Thanks for your code. I have seen similar examples to yours, however I
wanted to work with DocBook 5.0  The reference to V4.5 indicates that
you are using not using V5.0  However, there are still references to
namespaces, which I don't quite understand since namespaces started
with V5.0, if I understand correctly.

How would I modify your code for V5.0? Also, could you please provide
the sample code for command1.xml?

Thank you in advance.

Betty


On Fri, 3 Apr 2009 09:49:52 -0500
 Tom_Towle@bcbsil.com wrote:
> Here is an example that works for me
> --------------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
> "..\docbook\docbookx.dtd">
> <book id="book">
>   <title>Command Reference</title>
>   <reference>
>     <title>Commands</title>
>     <xi:include href="command1.xml"
>      xmlns:xi="http://www.w3.org/2001/XInclude"; />
>     <xi:include href="command2.xml"
>      xmlns:xi="http://www.w3.org/2001/XInclude"; />
>       </reference>
>   </book>
> 
> 
>
                                                                      
>     
>              Tom_Towle@bcbsil.
>                                             
>              com
>                                                           
>
                                                                      
>  To 
>              04/03/2009 09:42          "Betty Ing"
> <ingbe@mcmaster.ca>     
>              AM
>                                                         cc 
>
                                       docbook-apps@lists.oasis-open.org
>   
>
 
Subject
> 
>                                        Re: [docbook-apps] Modular
> DocBook  
>                                        still not working
>                   
>
                                                                      
>     
>
                                                                      
>     
>
                                                                      
>     
>
                                                                      
>     
>
                                                                      
>     
>
                                                                      
>     
> 
> 
> 
> 
> I have had weird errors that were resolved by changing the date in
> the
> namespace
> 
> Element include in namespace 'http://www.w3.org/2003/XInclude'
> why this works or how I dunno but it happens when I move from one
> laptop to
> a desktop machine  - all in eclipse environment with a mirrored bill.
> 
> 
> 
> 
>              "Betty Ing"
>              <ingbe@mcmaster.c
>              a>
>                                                         To
>
                                       docbook-apps@lists.oasis-open.org
>              04/03/2009 09:28
>                                           cc
>              AM
>
 
Subject
>                                        [docbook-apps] Modular DocBook
>                                        still not working
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Thanks to Remko, Camille, and Thomas for your suggestions. I have
> since
> modified SectionA and SectionB accordinly; Chapter is still the same
> as
> before.
> 
> I am still getting the following errors:
> 
> ------
> 
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
> 
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
> 
> Writing index.html for chapter
> 
> -------
> 
> What else am I still missing? Suggestions are welcome.
> 
> Betty
> 
> [attachment "Chapter.xml" deleted by Tom Towle/IL/HCSC] [attachment
> "SectionA.xml" deleted by Tom Towle/IL/HCSC] [attachment
> "SectionB.xml"
> deleted by Tom Towle/IL/HCSC]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
> 
> 
> 
> **********
> 
> The information contained in this communication is confidential,
> private,
> proprietary, or otherwise privileged and is intended only for the use
> of
> the addressee.  Unauthorized use, disclosure, distribution or copying
> is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312)653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500
> in
> Oklahoma; or (972)766-6900 in Texas.
> 
> **********
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
> 
> 
> 
> 
> 
> 
> **********
> 
> The information contained in this communication is confidential,
> private, proprietary, or otherwise privileged and is intended only
> for the use of the addressee.  Unauthorized use, disclosure,
> distribution or copying is strictly prohibited and may be unlawful.
>  If you have received this communication in error, please notify the
> sender immediately at (312)653-6000 in Illinois; (800)835-8699 in New
> Mexico; (918)560-3500 in Oklahoma; or (972)766-6900 in Texas.
> 
> **********
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

<?xml version="1.0" encoding="utf-8"?>
<chapter version="5.0"
  xmlns="http://docbook.org/ns/docbook";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xmlns:xlink="http://www.w3.org/1999/xlink";>
  <title>This chapter is a compilation of a use case for the Syrup E-Reserve System based on the scenario The Syrup Physical-Item Story.</title>
  <xi:include  href="SectionA.xml" />
  <xi:include  href="SectionB.xml" />
</chapter>
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xmlns="http://docbook.org/ns/docbook";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xmlns:xlink="http://www.w3.org/1999/xlink";>
  <title>Adding a Reserve</title> 	
		
				  <para>To add a reserve, do the following:</para>
<para>				  
???Where does the professor enter the semester, for example, Fall 2009??? How about the course name and course number??? Is it on the MyCourse screen???
</para>				  
				  <orderedlist>
					<listitem>
					  <para>On the Syrup E-Reserve System screen, click the <guilabel>Add a Reserve</guilabel>tab.</para>

					</listitem>
					
					<listitem>
					  <para>On the Add a Reserve screen, in the <userinput>Search Terms</userinput> box, type in some key words, and click the <guibutton>Query</guibutton> button.</para>
					  
						<example>
							<title>Example of some key words</title>
					  
								<para>Moby Dick</para>
						</example>
				  
					</listitem>
					
					<listitem>
					  <para>Matches are presented in groups of ten. Choose the best match from all the possible matches.</para>
					</listitem>
				
					</orderedlist>
<para>
???Is the book "on reserve" at this point?
</para>
    <section>
      <title>Behind the scenes of Adding a Reserve:</title>

      <orderedlist>
        <listitem>
          <para>Syrup stores the relevant portions of the MARC record in the Syrup item.</para>
        </listitem>

        <listitem>
          <para>Syrup gathers all the physical-item requests for the term.</para>
        </listitem>

        <listitem>
          <para>Syrup sends the requests, a list of MARC extracts, to Circulation.</para>
          <para> ???Are MARC extracts the same as the Syrup item, relevant portions of the MARC
            record??? If so, we should standarize on one term. </para>
        </listitem>

        <listitem>
          <para>Circulation reads the requests and routes the corresponding items to
            Reserves.</para>
        </listitem>

        <listitem>
          <para>Circulation possibly activates short-term loan fees before sending items to
            Reserves.</para>
        </listitem>

      </orderedlist>
      <para> ???Are short-term loan fees actually fines??? </para>
    </section>
  </section>
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xmlns="http://docbook.org/ns/docbook";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xmlns:xlink="http://www.w3.org/1999/xlink";>
  <title>Subsequent Tasks after a Reserve Request:</title>
 
  <orderedlist>
    <listitem>
      <para>Syrup stores the relevant portions of the MARC record in the Syrup
      item.</para>
    </listitem>

    <listitem>
      <para>Syrup gathers all the physical-item requests for the term.</para>
    </listitem>

    <listitem>
      <para>Syrup sends the requests, a list of MARC extracts, to
      Circulation.</para>
    </listitem>

<listitem><para>
???Are MARC extracts the same as the Syrup item, relevant portions of the MARC record??? If so, we should standarize on one term.
</para></listitem>
<listitem><para>
???Are the Syrup items configurable???
</para></listitem>

    <listitem>
      <para>Circulation reads the requests and routes the corresponding items
      to Reserves.</para>
    </listitem>

    <listitem>
      <para>Circulation possibly activates short-term loan fees before sending
      items to Reserves.</para>
    </listitem>
  </orderedlist>

<para>
???Are short-term loan fees actually fines???
</para>

</section>

Chapter.pdf



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]