[jboss-svn-commits] JBL Code SVN: r34607 - in labs/jbossrules/trunk/drools-docs: drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start and 16 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Aug 9 08:36:45 EDT 2010


Author: ge0ffrey
Date: 2010-08-09 08:36:41 -0400 (Mon, 09 Aug 2010)
New Revision: 34607

Modified:
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Language_Reference/Section-XML.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Rule_Language/Section-XML.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Building.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Deploying.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Running.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-BPMN2/Chapter-BPMN2.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Console/Chapter-Console.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Flow/Chapter-RuleFlow.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-GettingStarted/Chapter-GettingStarted.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-HumanTasks/Chapter-HumanTasks.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Persistence/Chapter-Persistence.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-AdminGuide.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-UserGuide.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-API/Section-CamelRoutesCreation.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-Introduction/Section-Introduction.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-AbortWorkItemCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-BatchExecutionCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-CompleteWorkItemCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-FireAllRulesCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetGlobalCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectsCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertElementsCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertObjectCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-ModifyCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-QueryCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-RetractCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SetGlobalCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SignalEventCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-StartProcessCommand.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-OSGI/Chapter-OSGI.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Server/Section-Configuration/Section-Configuration.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Install/Section-Eclipse.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.0.0.xml
   labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml
Log:
JBRULES-2587 xml highlighting (note: requires release of jbossorg styles too to actually work)

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Language_Reference/Section-XML.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Language_Reference/Section-XML.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Language_Reference/Section-XML.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -54,7 +54,7 @@
           <primary>XML Rule</primary>
         </indexterm></title>
 
-      <programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+      <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
 &lt;package name="com.sample"
          xmlns="http://drools.org/drools-4.0"
@@ -224,7 +224,7 @@
     <example>
       <title>Detail of rule element</title>
 
-      <programlisting>&lt;rule name="simple_rule"&gt;
+      <programlisting language="xml">&lt;rule name="simple_rule"&gt;
 &lt;rule-attribute name="salience" value="10" /&gt;
 &lt;rule-attribute name="no-loop" value="true" /&gt;
 &lt;rule-attribute name="agenda-group" value="agenda-group" /&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -23,7 +23,7 @@
     it is not inferred from the file name extension. Here is a simple example
     that points to a http location for some rules.</para>
 
-    <programlisting> &lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+    <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
              xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
              xs:schemaLocation='http://drools.org/drools-5.0/change-set http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
    &lt;add&gt;
@@ -48,7 +48,7 @@
     rules from a http URL location, and an Excel decision table from the
     classpath.</para>
 
-    <programlisting> &lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+    <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
              xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
              xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
    &lt;add&gt;
@@ -64,7 +64,7 @@
     that directory. It is expected that all the files are of the specified
     type, since type is not yet inferred from the file name extensions.</para>
 
-    <programlisting> &lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+    <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
              xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
              xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
    &lt;add&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Rule_Language/Section-XML.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Rule_Language/Section-XML.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Rule_Language/Section-XML.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -54,7 +54,7 @@
           <primary>XML Rule</primary>
         </indexterm></title>
 
-      <programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+      <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
 &lt;package name="com.sample"
          xmlns="http://drools.org/drools-4.0"
@@ -224,7 +224,7 @@
     <example>
       <title>Detail of rule element</title>
 
-      <programlisting>&lt;rule name="simple_rule"&gt;
+      <programlisting language="xml">&lt;rule name="simple_rule"&gt;
 &lt;rule-attribute name="salience" value="10" /&gt;
 &lt;rule-attribute name="no-loop" value="true" /&gt;
 &lt;rule-attribute name="agenda-group" value="agenda-group" /&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Building.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Building.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Building.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -162,7 +162,7 @@
     <example>
       <title>XML Schema for ChangeSet XML (not normative)</title>
 
-      <programlisting>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+      <programlisting language="xml">&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns="http://drools.org/drools-5.0/change-set"
            targetNamespace="http://drools.org/drools-5.0/change-set"&gt;
 
@@ -232,7 +232,7 @@
     <example>
       <title>Simple ChangeSet XML</title>
 
-      <programlisting> &lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+      <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
              xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
              xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
    &lt;add&gt;
@@ -274,7 +274,7 @@
     <example>
       <title>ChangeSet XML with resource configuration</title>
 
-      <programlisting>&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+      <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
              xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
              xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
   &lt;add&gt;
@@ -302,7 +302,7 @@
     <example>
       <title>ChangeSet XML which adds a directory's contents</title>
 
-      <programlisting>&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+      <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
             xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
             xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
    &lt;add&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Deploying.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Deploying.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Deploying.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -321,7 +321,7 @@
     <example>
       <title>ChangeSet XML which adds a directories contents</title>
 
-      <programlisting>&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+      <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
             xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
             xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd' &gt;
    &lt;add&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Running.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Running.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-User_Guide/Section-Running.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -1144,7 +1144,7 @@
     <example>
       <title>Simple BatchExecution XML</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;insert out-identifier='outStilton'&gt;
       &lt;org.drools.Cheese&gt;
          &lt;type&gt;stilton&lt;/type&gt;
@@ -1159,7 +1159,7 @@
     <example>
       <title>Simple ExecutionResults XML</title>
 
-      <programlisting>&lt;execution-results&gt;
+      <programlisting language="xml">&lt;execution-results&gt;
    &lt;result identifier='outStilton'&gt;
       &lt;org.drools.Cheese&gt;
          &lt;type&gt;stilton&lt;/type&gt;
@@ -1177,7 +1177,7 @@
     <example>
       <title>BatchExecution Marshalled to XML</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
   &lt;insert out-identifier="stilton"&gt;
     &lt;org.drools.Cheese&gt;
       &lt;type&gt;stilton&lt;/type&gt;
@@ -1201,7 +1201,7 @@
     <example>
       <title>ExecutionResults Marshalled to XML</title>
 
-      <programlisting>&lt;execution-results&gt;
+      <programlisting language="xml">&lt;execution-results&gt;
   &lt;result identifier="stilton"&gt;
     &lt;org.drools.Cheese&gt;
       &lt;type&gt;stilton&lt;/type&gt;
@@ -1251,7 +1251,7 @@
     <example>
       <title>Root XML element</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
 ...
 &lt;/batch-execution&gt;
 </programlisting>
@@ -1266,7 +1266,7 @@
     <example>
       <title>Insert</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;insert&gt;
       ...&lt;!-- any user object --&gt;
    &lt;/insert&gt;
@@ -1281,7 +1281,7 @@
     <example>
       <title>Insert with Out Identifier Command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;insert out-identifier='userVar'&gt;
       ...
    &lt;/insert&gt;
@@ -1297,7 +1297,7 @@
     <example>
       <title>Insert Elements command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;insert-elements&gt;
       &lt;org.domain.UserClass&gt;
          ...
@@ -1319,7 +1319,7 @@
     <example>
       <title>Insert Elements command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;set-global identifier='userVar'&gt;
       &lt;org.domain.UserClass&gt;
          ...
@@ -1341,7 +1341,7 @@
     <example>
       <title>Set Global Command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;set-global identifier='userVar1' out='true'&gt;
       &lt;org.domain.UserClass&gt;
          ...
@@ -1365,7 +1365,7 @@
     <example>
       <title>Get Global Command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;get-global identifier='userVar1' /&gt;
    &lt;get-global identifier='userVar2' out-identifier='alternativeUserVar2'/&gt;
 &lt;/batch-execution&gt;
@@ -1383,7 +1383,7 @@
     <example>
       <title>Query Command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;query out-identifier='cheeses' name='cheeses'/&gt;
    &lt;query out-identifier='cheeses2' name='cheesesWithParams'&gt;
       &lt;string&gt;stilton&lt;/string&gt;
@@ -1400,7 +1400,7 @@
     <example>
       <title>Start Process Command</title>
 
-      <programlisting>&lt;batch-execution&gt;
+      <programlisting language="xml">&lt;batch-execution&gt;
    &lt;startProcess processId='org.drools.actions'&gt;
       &lt;parameter identifier='person'&gt;
          &lt;org.drools.TestVariable&gt;
@@ -1415,7 +1415,7 @@
     <example>
       <title>Signal Event Command</title>
 
-      <programlisting>&lt;signal-event process-instance-id='1' event-type='MyEvent'&gt;
+      <programlisting language="xml">&lt;signal-event process-instance-id='1' event-type='MyEvent'&gt;
    &lt;string&gt;MyValue&lt;/string&gt;
 &lt;/signal-event&gt;
 </programlisting>
@@ -1424,7 +1424,7 @@
     <example>
       <title>Complete Work Item Command</title>
 
-      <programlisting>&lt;complete-work-item id='" + workItem.getId() + "' &gt;
+      <programlisting language="xml">&lt;complete-work-item id='" + workItem.getId() + "' &gt;
    &lt;result identifier='Result'&gt;
       &lt;string&gt;SomeOtherString&lt;/string&gt;
    &lt;/result&gt;
@@ -1435,7 +1435,7 @@
     <example>
       <title>Abort Work Item Command</title>
 
-      <programlisting>&lt;abort-work-item id='21' /&gt;
+      <programlisting language="xml">&lt;abort-work-item id='21' /&gt;
 </programlisting>
     </example>
 
@@ -1595,7 +1595,7 @@
     <example>
       <title>Configuring JPA</title>
 
-      <programlisting>&lt;persistence-unit name="org.drools.persistence.jpa" transaction-type="JTA"&gt;
+      <programlisting language="xml">&lt;persistence-unit name="org.drools.persistence.jpa" transaction-type="JTA"&gt;
    &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
    &lt;jta-data-source&gt;jdbc/BitronixJTADataSource&lt;/jta-data-source&gt;       
    &lt;class&gt;org.drools.persistence.session.SessionInfo&lt;/class&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-BPMN2/Chapter-BPMN2.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-BPMN2/Chapter-BPMN2.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-BPMN2/Chapter-BPMN2.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -97,8 +97,7 @@
   it execuble, including all the parameters for each of the tasks present, hence the
   large process definition):</para>
 
-  <programlisting>
-&lt;?xml version="1.0" encoding="UTF-8"?&gt; 
+  <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt; 
 &lt;definitions id="Definition"
              targetNamespace="http://www.jboss.org/drools"
              typeLanguage="http://www.java.com/javaTypes"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Console/Chapter-Console.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Console/Chapter-Console.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Console/Chapter-Console.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -54,8 +54,7 @@
       for another JPA data source is possible as well of course), and copy it to your
       application server deploy directory:</para>
 
-      <programlisting>
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+      <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;datasources&gt;
   &lt;local-tx-datasource&gt;
     &lt;jndi-name&gt;jdbc/testDS1&lt;/jndi-name&gt;
@@ -84,8 +83,7 @@
       database in that case.  Change the connection url in the hibernate.cfg.xml
       to this:</para>
 
-      <programlisting>
-&lt;property name="connection.url"&gt;jdbc:h2:tcp://localhost/~/test&lt;/property&gt;</programlisting>
+      <programlisting language="xml">&lt;property name="connection.url"&gt;jdbc:h2:tcp://localhost/~/test&lt;/property&gt;</programlisting>
 
       <para>In this case, you should also make sure you have the H2 database running in
       server mode when running the application - for example by executing the org.h2.tools.Server
@@ -321,10 +319,10 @@
   We use freemarker templates to dynamically create forms. To create a form for a
   specific process definition, create a freemarker template with the name 
   {processId}.ftl.  The template itself should use HTML
-  code to model the form.  For example, the form to start the evalution process shown
+  code to model the form.  For example, the form to start the evaluation process shown
   above is defined in the com.sample.evaluation.ftl file:</para>
 
-  <programlisting>
+  <programlisting language="html">
 &lt;html&gt;
 &lt;body&gt;
 &lt;h2&gt;Start Performance Evaluation&lt;/h2&gt;
@@ -346,7 +344,7 @@
   shown earlier uses the task parameter to access the description of the task and show that
   in the task form:</para>
 
-  <programlisting>
+  <programlisting language="html">
 &lt;html&gt;
 &lt;body&gt;
 &lt;h2&gt;Employee evaluation&lt;/h2&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Flow/Chapter-RuleFlow.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Flow/Chapter-RuleFlow.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Flow/Chapter-RuleFlow.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -101,8 +101,7 @@
       sequence of a Start node, an Action node that prints "Hello World" to the console,
       and an End node.</para>
 
-<programlisting>
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+<programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;process xmlns="http://drools.org/drools-5.0/process"
          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
          xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-GettingStarted/Chapter-GettingStarted.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-GettingStarted/Chapter-GettingStarted.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-GettingStarted/Chapter-GettingStarted.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -171,8 +171,7 @@
     of three main subsections: a header (where information like variables, globals and
     imports can be defined), the nodes and the  connections.</para>
 
-<programlisting>
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+<programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;process xmlns="http://drools.org/drools-5.0/process"
          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
          xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-HumanTasks/Chapter-HumanTasks.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-HumanTasks/Chapter-HumanTasks.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-HumanTasks/Chapter-HumanTasks.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -359,8 +359,7 @@
       following fragment shows for example how to use the task management component
       with hibernate and an in-memory H2 database:</para>
 
-      <programlisting>
-&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+      <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;persistence
     version="1.0"
     xsi:schemaLocation=

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Persistence/Chapter-Persistence.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Persistence/Chapter-Persistence.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/en-US/Chapter-Persistence/Chapter-Persistence.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -163,8 +163,7 @@
     default one in <filename>drools-persistence-jpa.jar</filename>.  Refer to
     the JPA and Hibernate documentation for more information on how to do this.</para>
 
-    <programlisting>
-&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+    <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;persistence
   version="1.0"
   xsi:schemaLocation=

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-AdminGuide.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-AdminGuide.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-AdminGuide.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -93,7 +93,7 @@
       parts of the system to be customized. When you have located the
       components.xml file, you should see something like the following:</para>
 
-      <programlisting>&lt;component name="repositoryConfiguration"&gt;
+      <programlisting language="xml">&lt;component name="repositoryConfiguration"&gt;
  &lt;!--
   *** This is for configuring the "home" directory for the repository storage. the directory must exist. ***
      &lt;property name="homeDirectory"&gt;/home/michael/RulesRepository_001&lt;/property&gt;
@@ -198,7 +198,7 @@
     <para>In the components.xml file, you should located a security
     configuration section like the following:</para>
 
-    <programlisting>&lt;!-- SECURITY CONFIGURATION --&gt;
+    <programlisting language="xml">&lt;!-- SECURITY CONFIGURATION --&gt;
     
 &lt;!-- default (will take any username, useful if you want to keep track of users but not authenticate --&gt;
 &lt;security:identity authenticate-method="#{defaultAuthenticator.authenticate}"/&gt;
@@ -218,7 +218,7 @@
       can work with your existing security infrastructure. The case of JBoss
       AS will be shown here as an example.</para>
 
-      <programlisting>&lt;security:identity authenticate-method="#{authenticator.authenticate}" 
+      <programlisting language="xml">&lt;security:identity authenticate-method="#{authenticator.authenticate}"
                       jaas-config-name="other"/&gt;</programlisting>
 
       <para>This will use the "other" jaas config in JBoss AS. If you look in
@@ -234,7 +234,7 @@
       with LDAP from http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule
       and http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule.</para>
 
-      <programlisting>&lt;application-policy name="brms"&gt;
+      <programlisting language="xml">&lt;application-policy name="brms"&gt;
     &lt;authentication&gt;
         &lt;login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required" &gt;
             &lt;!--
@@ -388,8 +388,7 @@
       <para>By default authorization is not enabled. To enable it, edit the
       components.xml file in the WEB-INF directory:</para>
 
-      <programlisting>
-    &lt;security:role-based-permission-resolver enable-role-based-authorization="true"/&gt;	  
+      <programlisting language="xml">&lt;security:role-based-permission-resolver enable-role-based-authorization="true"/&gt;	  
 </programlisting>
     </section>
   </section>
@@ -458,7 +457,7 @@
       locate the Guvnor.html file, which will look something like the
       following: .</para>
 
-      <programlisting>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
+      <programlisting language="xml">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
 &lt;html&gt;
    &lt;head&gt;
       &lt;!-- Note you can append #asset=UUID to the end of the URL to preload a given asset.

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-UserGuide.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-UserGuide.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-guvnor/src/main/docbook/en-US/Chapter-Guvnor/Section-UserGuide.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -1798,7 +1798,7 @@
 
       <para>An example of the change-set.xml.</para>
 
-      <programlisting>&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'";
+      <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'";
         xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
         xs:schemaLocation='http://drools.org/drools-5.0/change-set drools-change-set-5.0.xsd' &gt;
         &lt;add&gt; 

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-API/Section-CamelRoutesCreation.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-API/Section-CamelRoutesCreation.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-API/Section-CamelRoutesCreation.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -134,7 +134,7 @@
       <listitem>
         <para>Simple configuration with XStream</para>
 
-        <para><programlisting>&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
+        <para><programlisting language="xml">&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
   &lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
   &lt;route&gt;
     &lt;from uri="direct:entryPoint"/&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-Introduction/Section-Introduction.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-Introduction/Section-Introduction.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Camel/Section-Introduction/Section-Introduction.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -38,7 +38,7 @@
   <example>
     <title>Drools EndPoint configured with the CXFRS producer</title>
 
-    <programlisting>&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
+    <programlisting language="xml">&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
 
 &lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;  
    &lt;route&gt;
@@ -61,7 +61,7 @@
   <example>
     <title>Drools EndPoint configured with the CXFRS producer</title>
 
-    <programlisting>&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
+    <programlisting language="xml">&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;
 
 &lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;  
    &lt;route&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-AbortWorkItemCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-AbortWorkItemCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-AbortWorkItemCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -64,7 +64,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;abort-work-item id="1001"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -82,7 +82,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;abort-work-item id="1001"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-BatchExecutionCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-BatchExecutionCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-BatchExecutionCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -74,7 +74,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;insert&gt;
     &lt;org.drools.test.Person&gt;
       &lt;name&gt;john&lt;/name&gt;
@@ -98,7 +98,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;insert&gt;
         &lt;object xsi:type="person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-CompleteWorkItemCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-CompleteWorkItemCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-CompleteWorkItemCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -71,7 +71,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;complete-work-item id="1001"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -89,7 +89,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;complete-work-item id="1001"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-FireAllRulesCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-FireAllRulesCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-FireAllRulesCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -84,7 +84,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;fire-all-rules max="10" out-identifier="firedActivations"/&gt;
 &lt;/batch-execution&gt;
 </programlisting>
@@ -103,7 +103,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
    &lt;fire-all-rules out-identifier="firedActivations" max="10"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetGlobalCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetGlobalCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetGlobalCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -74,7 +74,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;get-global identifier="helper" out-identifier="helperOutput"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -92,7 +92,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;get-global out-identifier="helperOutput" identifier="helper"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -74,7 +74,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;get-object fact-handle="0:234:345:456:567" out-identifier="john"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -93,7 +93,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;get-object out-identifier="john" fact-handle="0:234:345:456:567"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectsCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectsCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-GetObjectsCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -74,7 +74,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;get-objects out-identifier="objects"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -92,7 +92,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;get-objects out-identifier="objects"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertElementsCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertElementsCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertElementsCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -99,7 +99,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;insert-elements&gt;
     &lt;org.drools.test.Person&gt;
       &lt;name&gt;john&lt;/name&gt;
@@ -126,7 +126,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;insert-elements return-objects="true"&gt;
         &lt;objects xsi:type="person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertObjectCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertObjectCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-InsertObjectCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -95,7 +95,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;insert out-identifier="john" entry-point="my stream" return-object="false"&gt;
     &lt;org.drools.test.Person&gt;
       &lt;name&gt;john&lt;/name&gt;
@@ -119,7 +119,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;insert out-identifier="john" entry-point="my stream" &gt;
         &lt;object xsi:type="person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-ModifyCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-ModifyCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-ModifyCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -76,7 +76,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;modify fact-handle="0:234:345:456:567"&gt;
     &lt;set accessor="age" value="30"/&gt;
   &lt;/modify&gt;
@@ -94,7 +94,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;modify fact-handle="0:234:345:456:567"&gt;
         &lt;set value="30" accessor="age"/&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-QueryCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-QueryCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-QueryCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -81,7 +81,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;query out-identifier="persons" name="persons"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -98,7 +98,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;query name="persons" out-identifier="persons"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-RetractCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-RetractCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-RetractCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -82,7 +82,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;retract fact-handle="0:234:345:456:567"/&gt;
 &lt;/batch-execution&gt;</programlisting>
 
@@ -98,7 +98,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;retract fact-handle="0:234:345:456:567"/&gt;
 &lt;/batch-execution&gt;</programlisting>

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SetGlobalCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SetGlobalCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SetGlobalCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -90,7 +90,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;set-global identifier="helper" out-identifier="output"&gt;
     &lt;org.drools.test.Person&gt;
       &lt;name&gt;kyle&lt;/name&gt;
@@ -110,7 +110,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;set-global out="true" out-identifier="output" identifier="helper"&gt;
         &lt;object xsi:type="person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SignalEventCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SignalEventCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-SignalEventCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -79,7 +79,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;signal-event process-instance-id="1001" event-type="start"&gt;
     &lt;org.drools.pipeline.camel.Person&gt;
       &lt;name&gt;john&lt;/name&gt;
@@ -100,7 +100,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;signal-event event-type="start" process-instance-id="1001"&gt;
         &lt;event xsi:type="person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-StartProcessCommand.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-StartProcessCommand.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Commands/Section-Commands/Section-StartProcessCommand.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -80,7 +80,7 @@
         <listitem>
           <para>XStream</para>
 
-          <programlisting>&lt;batch-execution lookup="ksession1"&gt;
+          <programlisting language="xml">&lt;batch-execution lookup="ksession1"&gt;
   &lt;start-process processId="org.drools.task.processOne"/&gt;
 &lt;/batch-execution&gt;</programlisting>
         </listitem>
@@ -94,7 +94,7 @@
         <listitem>
           <para>JAXB</para>
 
-          <programlisting>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+          <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;batch-execution lookup="ksession1"&gt;
     &lt;start-process processId="org.drools.task.processOne"&gt;
         &lt;parameter/&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-OSGI/Chapter-OSGI.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-OSGI/Chapter-OSGI.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-OSGI/Chapter-OSGI.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -83,7 +83,7 @@
   <example>
     <title>Osgi Declarative Services</title>
 
-    <programlisting>&lt;scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"&gt;
+    <programlisting language="xml">&lt;scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"&gt;
 &lt;implementation class="testosgi.TestComponent"/&gt;
  
 &lt;reference bind="setKnowledgeBaseFactoryService"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Server/Section-Configuration/Section-Configuration.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Server/Section-Configuration/Section-Configuration.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-integration/src/main/docbook/en-US/Chapter-Server/Section-Configuration/Section-Configuration.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -74,7 +74,7 @@
     through drools-server. You can modify this configuration in
     camel-server.xml file.</para>
 
-    <programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+    <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;beans xmlns="http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:cxf="http://camel.apache.org/schema/cxf"
@@ -145,7 +145,7 @@
       <para>Also a JAX-RS Provider is provided to determine if the message
       transported can be processed in this service endpoint.</para>
 
-      <programlisting>&lt;cxf:rsServer id="rsServer"
+      <programlisting language="xml">&lt;cxf:rsServer id="rsServer"
                address="/kservice/rest"
                serviceClass="org.drools.jax.rs.CommandExecutorImpl"&gt;
   &lt;cxf:providers&gt;
@@ -174,7 +174,7 @@
       <para>But you don’t need to know more internal details, only instantiate
       this bean:</para>
 
-      <programlisting>&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;</programlisting>
+      <programlisting language="xml">&lt;bean id="droolsPolicy" class="org.drools.camel.component.DroolsPolicy" /&gt;</programlisting>
 
       <para>The next is create the camel route that will have the
       responsibility to execute the commands sent through JAX-RS. Basically we
@@ -183,7 +183,7 @@
       or ProcessorDefinitions. As you can see, we set XStream as the
       marshaller/unmarshaller and the drools execution route definition</para>
 
-      <programlisting>&lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
+      <programlisting language="xml">&lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
   &lt;route&gt;
     &lt;from uri="cxfrs://bean://rsServer"/&gt;
     &lt;policy ref="droolsPolicy"&gt;
@@ -196,7 +196,7 @@
 
       <para>The drools endpoint creation has the next arguments</para>
 
-      <para><programlisting>&lt;to uri="drools:{1}/{2}" /&gt;</programlisting></para>
+      <para><programlisting language="xml">&lt;to uri="drools:{1}/{2}" /&gt;</programlisting></para>
 
       <orderedlist>
         <listitem>
@@ -220,7 +220,7 @@
       <para>The next step is create the Knowledge Sessions that you are going
       to use.</para>
 
-      <programlisting>&lt;beans xmlns="http://www.springframework.org/schema/beans"
+      <programlisting language="xml">&lt;beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:drools="http://drools.org/schema/drools-spring"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
@@ -262,7 +262,7 @@
       calls out to Camel which is where the meet happens. The camel-client.xml
       defines the client with just a few lines of xml:</para>
 
-      <programlisting>&lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;     
+      <programlisting language="xml">&lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
    &lt;route&gt;
       &lt;from uri="direct://kservice"/&gt;
       &lt;policy ref="droolsPolicy"&gt;

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Install/Section-Eclipse.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Install/Section-Eclipse.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Install/Section-Eclipse.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -118,7 +118,7 @@
     <para>Eclipse refreshing plug-ins in features and sites seems to not work,
     so what is best is to manually edit the site.xml project and the
     feature.xml. To do this, open the site.xml file in the drools-ide-update
-    project, it should look something like this:</para> <programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+    project, it should look something like this:</para> <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;site&gt;
    &lt;!- change both the jar and the version number, make sure the new features jar is named
         the same as what you put in -&gt;
@@ -135,7 +135,7 @@
     <para>Go into the /feature directory, and unzip the feature jar to get to
     the feature.xml. (the feature jar really just contains the feature.xml).
     Open the feature.xml, and it should look like:</para>
-    <programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+    <programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;feature
   id="org.drools.ide"
   label="Drools Rule Workbench"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.0.0.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.0.0.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.0.0.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -130,8 +130,7 @@
     <example>
         <title>Here is a simple change set</title>
 
-        <programlisting>
-&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+        <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
 xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
 xs:schemaLocation='http://drools.org/drools-5.0/change-set change-set-5.0.xsd' &gt;
   &lt;add&gt;
@@ -623,8 +622,7 @@
       <example>
           <title>Updating Cheese fact</title>
 
-          <programlisting>
-&lt;batch-execution&gt;
+          <programlisting language="xml">&lt;batch-execution&gt;
 &lt;insert out-identifier='outStilton'&gt;
   &lt;org.drools.Cheese&gt;
     &lt;type&gt;stilton&lt;/type&gt;
@@ -640,8 +638,7 @@
       <example>
           <title>Updating Cheese fact</title>
 
-          <programlisting>
-&lt;batch-execution-results&gt;
+          <programlisting language="xml">&lt;batch-execution-results&gt;
  &lt;result identifier='outStilton'&gt;
    &lt;org.drools.Cheese&gt;
      &lt;type&gt;stilton&lt;/type&gt;
@@ -898,8 +895,7 @@
       <example>
           <title>Example of the XML language</title>
 
-          <programlisting>
-&lt;process  name="process name" id="process name" package-name="org.domain"
+          <programlisting language="xml">&lt;process  name="process name" id="process name" package-name="org.domain"
 xmlns="http://drools.org/drools-4.0/process"
 xmlns:mydsl="http://domain/org/mydsl"
 xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml	2010-08-09 12:25:58 UTC (rev 34606)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml	2010-08-09 12:36:41 UTC (rev 34607)
@@ -19,8 +19,7 @@
     <example>
         <title>Here is a simple version 1.0.0 change set</title>
 
-         <programlisting>
-&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
+         <programlisting language="xml">&lt;change-set xmlns='http://drools.org/drools-5.0/change-set'
 xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
 xs:schemaLocation='http://drools.org/drools-5.0/change-set change-set-5.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
   &lt;add&gt;



More information about the jboss-svn-commits mailing list