svn commit: r44065 - head/en_US.ISO8859-1/books/fdp-primer/xml-primer

Warren Block wblock at FreeBSD.org
Wed Feb 26 03:19:37 UTC 2014


Author: wblock
Date: Wed Feb 26 03:19:36 2014
New Revision: 44065
URL: http://svnweb.freebsd.org/changeset/doc/44065

Log:
  Restore <replaceable> tags lost after DocBook 5 conversion.

Modified:
  head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml

Modified: head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml	Wed Feb 26 02:33:59 2014	(r44064)
+++ head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml	Wed Feb 26 03:19:36 2014	(r44065)
@@ -312,7 +312,7 @@
     <para>An element's attributes are written
       <emphasis>inside</emphasis> the start tag for that element, and
       take the form
-      <literal>attribute-name="attribute-value"</literal>.</para>
+      <literal><replaceable>attribute-name</replaceable>="<replaceable>attribute-value</replaceable>"</literal>.</para>
 
     <para>In <acronym>XHTML</acronym>, the <tag>p</tag>
       element has an attribute called
@@ -615,9 +615,9 @@ example.xml:5: element head: validity er
 	      superset) of <acronym>XML</acronym>.</para>
 
 	    <para>Otherwise, this string will either look like
-	      <literal>-//Owner</literal>
+	      <literal>-//<replaceable>Owner</replaceable></literal>
 	      or
-	      <literal>+//Owner</literal>
+	      <literal>+//<replaceable>Owner</replaceable></literal>
 	      (notice the only difference is the leading
 	      <literal>+</literal> or <literal>-</literal>).</para>
 
@@ -898,7 +898,7 @@ example.xml:5: element head: validity er
 
       <para>To include the text of a general entity in the document,
 	include
-	<literal>&entity-name;</literal>
+	<literal>&<replaceable>entity-name</replaceable>;</literal>
 	in the text.  For example, consider a general entity called
 	<literal>current.version</literal> which expands to the
 	current version number of a product.  To use it in the
@@ -962,7 +962,7 @@ example.xml:5: element head: validity er
       <para>Parameter entity definitons are similar to those for
 	general entities.  However, parameter entries are included
 	with
-	<literal>%entity-name;</literal>.
+	<literal>%<replaceable>entity-name</replaceable>;</literal>.
 	The definition also includes the <literal>%</literal> between
 	the <literal>ENTITY</literal> keyword and the name of the
 	entity.</para>
@@ -1226,7 +1226,7 @@ example.xml:5: element head: validity er
 	  <step>
 	    <para>Load <filename>example.html</filename> into the web
 	      browser and confirm that the
-	      <filename>paran.xml</filename>
+	      <filename>para<replaceable>n</replaceable>.xml</filename>
 	      files have been included in
 	      <filename>example.html</filename>.</para>
 	  </step>
@@ -1287,7 +1287,7 @@ example.xml:5: element head: validity er
 	  <step>
 	    <para>Load <filename>example.html</filename> into the web
 	      browser and confirm that the
-	      <filename>paran.xml</filename>
+	      <filename>para<replaceable>n</replaceable>.xml</filename>
 	      files have been included in
 	      <filename>example.html</filename>.</para>
 	  </step>


More information about the svn-doc-head mailing list