You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(248) |
May
(82) |
Jun
(90) |
Jul
(177) |
Aug
(253) |
Sep
(157) |
Oct
(151) |
Nov
(143) |
Dec
(278) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(152) |
Feb
(107) |
Mar
(177) |
Apr
(133) |
May
(259) |
Jun
(81) |
Jul
(119) |
Aug
(306) |
Sep
(416) |
Oct
(240) |
Nov
(329) |
Dec
(206) |
2006 |
Jan
(466) |
Feb
(382) |
Mar
(153) |
Apr
(162) |
May
(133) |
Jun
(21) |
Jul
(18) |
Aug
(37) |
Sep
(97) |
Oct
(114) |
Nov
(110) |
Dec
(28) |
2007 |
Jan
(74) |
Feb
(65) |
Mar
(49) |
Apr
(76) |
May
(43) |
Jun
(15) |
Jul
(68) |
Aug
(55) |
Sep
(63) |
Oct
(59) |
Nov
(70) |
Dec
(66) |
2008 |
Jan
(71) |
Feb
(60) |
Mar
(120) |
Apr
(31) |
May
(48) |
Jun
(81) |
Jul
(107) |
Aug
(51) |
Sep
(80) |
Oct
(83) |
Nov
(83) |
Dec
(79) |
2009 |
Jan
(83) |
Feb
(110) |
Mar
(97) |
Apr
(91) |
May
(291) |
Jun
(250) |
Jul
(197) |
Aug
(58) |
Sep
(54) |
Oct
(122) |
Nov
(68) |
Dec
(34) |
2010 |
Jan
(50) |
Feb
(17) |
Mar
(63) |
Apr
(61) |
May
(84) |
Jun
(81) |
Jul
(138) |
Aug
(144) |
Sep
(78) |
Oct
(26) |
Nov
(30) |
Dec
(61) |
2011 |
Jan
(33) |
Feb
(35) |
Mar
(166) |
Apr
(221) |
May
(109) |
Jun
(76) |
Jul
(27) |
Aug
(37) |
Sep
(1) |
Oct
(4) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(1) |
2014 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michael D. <mik...@us...> - 2004-10-23 15:44:17
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5010/NHibernate Modified Files: NHibernate-1.1.csproj Log Message: NH-118 and a refactoring of TestFixture to make it easier to add new naming strategies for Properties. Index: NHibernate-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/NHibernate-1.1.csproj,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** NHibernate-1.1.csproj 19 Oct 2004 02:23:21 -0000 1.52 --- NHibernate-1.1.csproj 23 Oct 2004 15:44:04 -0000 1.53 *************** *** 1311,1314 **** --- 1311,1319 ---- /> <File + RelPath = "Property\LowerCaseUnderscoreStrategy.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Property\NoSetterAccessor.cs" SubType = "Code" |
From: Michael D. <mik...@us...> - 2004-10-23 15:44:17
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5010/NHibernate.Test Modified Files: NHibernate.Test-1.1.csproj Log Message: NH-118 and a refactoring of TestFixture to make it easier to add new naming strategies for Properties. Index: NHibernate.Test-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test-1.1.csproj,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** NHibernate.Test-1.1.csproj 23 Oct 2004 15:01:22 -0000 1.46 --- NHibernate.Test-1.1.csproj 23 Oct 2004 15:44:07 -0000 1.47 *************** *** 376,390 **** /> <File ! RelPath = "PropertyTest\CamelCaseFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\CamelCaseUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\FieldAccessorFixture.cs" SubType = "Code" BuildAction = "Compile" --- 376,390 ---- /> <File ! RelPath = "PropertyTest\FieldAccessorFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\FieldCamelCaseFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\FieldCamelCaseUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" *************** *** 401,404 **** --- 401,414 ---- /> <File + RelPath = "PropertyTest\FieldLowerCaseUnderscoreFixture.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "PropertyTest\FieldPascalCaseMUnderscoreFixture.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "PropertyTest\NoSetterAccessorFixture.cs" SubType = "Code" *************** *** 416,425 **** /> <File ! RelPath = "PropertyTest\NoSetterPascalCaseMUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\PascalCaseMUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" --- 426,435 ---- /> <File ! RelPath = "PropertyTest\NoSetterLowerCaseUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "PropertyTest\NoSetterPascalCaseMUnderscoreFixture.cs" SubType = "Code" BuildAction = "Compile" |
From: Michael D. <mik...@us...> - 2004-10-23 15:02:01
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.Test/NHSpecificTest Modified Files: BasicClassFixture.cs Log Message: NH-134 Index: BasicClassFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** BasicClassFixture.cs 22 Sep 2004 21:56:02 -0000 1.7 --- BasicClassFixture.cs 23 Oct 2004 15:01:20 -0000 1.8 *************** *** 21,24 **** --- 21,49 ---- } + /// <summary> + /// This is a test for <a href="http://jira.nhibernate.org/browse/NH-134">NH-134</a>. + /// </summary> + /// <remarks> + /// It checks to make sure that NHibernate can use the correct accessor to get the + /// type="" attribute through reflection. + /// </remarks> + [Test] + public void TestPrivateFieldAccess() + { + ISession s = sessions.OpenSession(); + + BasicClass bc = new BasicClass(); + bc.Id = 1; + bc.ValueOfPrivateField = 5; + s.Save( bc ); + s.Flush(); + s.Close(); + + s = sessions.OpenSession(); + bc = (BasicClass)s.Load( typeof(BasicClass), (int)1 ); + Assert.AreEqual( 5, bc.ValueOfPrivateField, "private field accessor" ); + s.Close(); + } + [Test] public void TestCRUD() |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:59
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.DomainModel/NHSpecific Modified Files: BasicClass.cs BasicClass.hbm.xml Log Message: NH-134 Index: BasicClass.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/BasicClass.hbm.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BasicClass.hbm.xml 1 Sep 2004 00:10:12 -0000 1.5 --- BasicClass.hbm.xml 23 Oct 2004 15:01:19 -0000 1.6 *************** *** 27,30 **** --- 27,32 ---- <property name="YesNoProperty" type="YesNo" column="yn_p" length="1"/> + <property name="PrivateField" column="priv_fld" access="field.camelcase-underscore" /> + <array name="StringArray" table="bc_starr" > <key column="bc_id" /> Index: BasicClass.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/BasicClass.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BasicClass.cs 2 Sep 2004 15:12:32 -0000 1.5 --- BasicClass.cs 23 Oct 2004 15:01:19 -0000 1.6 *************** *** 28,31 **** --- 28,33 ---- private bool _yesNoProperty; + private int _privateField; + private string[] _stringArray; private int[] _int32Array; *************** *** 137,140 **** --- 139,157 ---- } + /// <summary> + /// + /// </summary> + /// <remarks> + /// NHibernate knows nothing about this Property. This Property + /// is provided so the Test Fixtures can set and get the value of the + /// field <c>_privateField</c> to make sure that NHibernate is reading + /// and writing the field correctly. + /// </remarks> + public int ValueOfPrivateField + { + get { return _privateField; } + set { _privateField = value; } + } + public string[] StringArray { |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:32
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate/Util Modified Files: ReflectHelper.cs Log Message: NH-134 Index: ReflectHelper.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Util/ReflectHelper.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ReflectHelper.cs 27 Sep 2004 01:48:16 -0000 1.16 --- ReflectHelper.cs 23 Oct 2004 15:01:23 -0000 1.17 *************** *** 1,4 **** --- 1,7 ---- using System; + using System.Collections; using System.Reflection; + + using NHibernate.Property; using NHibernate.Type; *************** *** 10,16 **** public sealed class ReflectHelper { - //TODO: this dependency is kind of bad - H2.0.3 comment - private static readonly Property.BasicPropertyAccessor basicPropertyAccessor = new Property.BasicPropertyAccessor(); - private static System.Type[] NoClasses = new System.Type[0]; private static System.Type[] Object = new System.Type[] { typeof(object) }; --- 13,16 ---- *************** *** 53,65 **** //TODO: most calls to this will be replaced by the Mapping.Property.GetGetter() but // there will still be a call from hql into this. ! public static Property.IGetter GetGetter(System.Type theClass, string propertyName) { try { ! return basicPropertyAccessor.GetGetter(theClass, propertyName); } ! catch (PropertyNotFoundException pnfe) { ! //TODO: figure out how we are going to know the field accessor to use here... throw pnfe; } --- 53,102 ---- //TODO: most calls to this will be replaced by the Mapping.Property.GetGetter() but // there will still be a call from hql into this. ! /// <summary> ! /// Finds the <see cref="IGetter"/> for the property in the <see cref="System.Type"/>. ! /// </summary> ! /// <param name="theClass">The <see cref="System.Type"/> to find the Property/Field in.</param> ! /// <param name="propertyName">The name of the Property/Field to find.</param> ! /// <returns>The <see cref="IGetter"/> for the property.</returns> ! /// <remarks> ! /// <para> ! /// This does not use the <c>access=""</c> attribute specified in the mapping. It ! /// first checks to see if there is a Property in your class with the same name. If ! /// no Property is found then it moves through each <see cref="IPropertyAccessor"/> strategy ! /// and tries to find an <see cref="IGetter"/> through them. ! /// </para> ! /// </remarks> ! /// <exception cref="PropertyNotFoundException"> ! /// No Property or Field with the <c>propertyName</c> could be found. ! /// </exception> ! public static IGetter GetGetter(System.Type theClass, string propertyName) { + IPropertyAccessor accessor = null; + + // first try the basicPropertyAccessor since that will be the most likely + // strategy used. try { ! accessor = (IPropertyAccessor)PropertyAccessorFactory.PropertyAccessors["property"]; ! return accessor.GetGetter(theClass, propertyName); } ! catch( PropertyNotFoundException pnfe ) { ! // the basic "property" strategy did not work so try the rest of them ! foreach( DictionaryEntry de in Property.PropertyAccessorFactory.PropertyAccessors ) ! { ! try ! { ! accessor = (IPropertyAccessor)de.Value; ! return accessor.GetGetter( theClass, propertyName ); ! } ! catch( PropertyNotFoundException ) ! { ! // ignore this exception because we want to try and move through ! // the rest of the accessor strategies. ! } ! ! } ! throw pnfe; } |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:32
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.Test Modified Files: NHibernate.Test-1.1.csproj Log Message: NH-134 Index: NHibernate.Test-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test-1.1.csproj,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** NHibernate.Test-1.1.csproj 13 Oct 2004 04:18:08 -0000 1.45 --- NHibernate.Test-1.1.csproj 23 Oct 2004 15:01:22 -0000 1.46 *************** *** 396,399 **** --- 396,404 ---- /> <File + RelPath = "PropertyTest\FieldGetterFixture.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "PropertyTest\NoSetterAccessorFixture.cs" SubType = "Code" |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Property In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate/Property Modified Files: FieldGetter.cs PropertyAccessorFactory.cs Log Message: NH-134 Index: FieldGetter.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/FieldGetter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FieldGetter.cs 22 Aug 2004 06:18:54 -0000 1.1 --- FieldGetter.cs 23 Oct 2004 15:01:21 -0000 1.2 *************** *** 33,37 **** public System.Type ReturnType { ! get { return field.ReflectedType; } } --- 33,37 ---- public System.Type ReturnType { ! get { return field.FieldType; } } Index: PropertyAccessorFactory.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/PropertyAccessorFactory.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PropertyAccessorFactory.cs 10 Sep 2004 21:23:15 -0000 1.4 --- PropertyAccessorFactory.cs 23 Oct 2004 15:01:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- using System; + using System.Collections; using System.Reflection; *************** *** 11,22 **** public class PropertyAccessorFactory { ! private static readonly IPropertyAccessor basicPropertyAccessor = new BasicPropertyAccessor(); ! private static readonly IPropertyAccessor fieldAccessor = new FieldAccessor(); ! private static readonly IPropertyAccessor fieldCamelCaseAccessor = new FieldAccessor( new CamelCaseStrategy() ); ! private static readonly IPropertyAccessor fieldCamelCaseUnderscoreAccessor = new FieldAccessor( new CamelCaseUnderscoreStrategy() ); ! private static readonly IPropertyAccessor fieldPascalCaseMUnderscoreAccessor = new FieldAccessor( new PascalCaseMUnderscoreStrategy() ); ! private static readonly IPropertyAccessor noSetterCamelCaseAccessor = new NoSetterAccessor( new CamelCaseStrategy() ); ! private static readonly IPropertyAccessor noSetterCamelCaseUnderscoreAccessor = new NoSetterAccessor( new CamelCaseUnderscoreStrategy() ); ! private static readonly IPropertyAccessor noSetterPascalCaseMUnderscoreAccessor = new NoSetterAccessor( new PascalCaseMUnderscoreStrategy() ); private PropertyAccessorFactory() --- 12,29 ---- public class PropertyAccessorFactory { ! private static IDictionary accessors; ! ! static PropertyAccessorFactory() ! { ! accessors = new Hashtable(13); ! accessors["property"] = new BasicPropertyAccessor(); ! accessors["field"] = new FieldAccessor(); ! accessors["field.camelcase"] = new FieldAccessor( new CamelCaseStrategy() ); ! accessors["field.camelcase-underscore"] = new FieldAccessor( new CamelCaseUnderscoreStrategy() ); ! accessors["field.pascalcase-m-underscore"] = new FieldAccessor( new PascalCaseMUnderscoreStrategy() ) ; ! accessors["nosetter.camelcase"] = new NoSetterAccessor( new CamelCaseStrategy() ); ! accessors["nosetter.camelcase-underscore"] = new NoSetterAccessor( new CamelCaseUnderscoreStrategy() ); ! accessors["nosetter.pascalcase-m-underscore"] = new NoSetterAccessor( new PascalCaseMUnderscoreStrategy() ); ! } private PropertyAccessorFactory() *************** *** 26,33 **** /// <summary> ! /// Gets or creates the IPropertyAccessor specified by the type. /// </summary> /// <param name="type"></param> ! /// <returns></returns> /// <remarks> /// <para> --- 33,49 ---- /// <summary> ! /// Gets an <see cref="IDictionary"/> of the built in <see cref="IPropertyAccessor"/> strategies. ! /// </summary> ! /// <value>An <see cref="IDictionary"/> of the built in <see cref="IPropertyAccessor"/> strategies.</value> ! public static IDictionary PropertyAccessors ! { ! get { return accessors; } ! } ! ! /// <summary> ! /// Gets or creates the <see cref="IPropertyAccessor" /> specified by the type. /// </summary> /// <param name="type"></param> ! /// <returns>The <see cref="IPropertyAccessor"/> specified by the type.</returns> /// <remarks> /// <para> *************** *** 119,149 **** public static IPropertyAccessor GetPropertyAccessor(string type) { ! if( type==null || "property".Equals(type) ) return basicPropertyAccessor; ! ! switch(type) { ! case "field" : ! return fieldAccessor; ! ! case "field.camelcase" : ! return fieldCamelCaseAccessor; ! ! case "field.camelcase-underscore" : ! return fieldCamelCaseUnderscoreAccessor; ! ! case "field.pascalcase-m-underscore" : ! return fieldPascalCaseMUnderscoreAccessor; ! ! case "nosetter.camelcase" : ! return noSetterCamelCaseAccessor; ! ! case "nosetter.camelcase-underscore" : ! return noSetterCamelCaseUnderscoreAccessor; ! ! case "nosetter.pascalcase-m-underscore" : ! return noSetterPascalCaseMUnderscoreAccessor; } System.Type accessorClass; try --- 135,154 ---- public static IPropertyAccessor GetPropertyAccessor(string type) { ! // if not type is specified then fall back to the default of using ! // the property. ! if( type==null ) { ! type = "property"; ! } + // attempt to find it in the built in types + IPropertyAccessor accessor = accessors[type] as IPropertyAccessor; + if( accessor!=null ) + { + return accessor; } + // was not a built in type so now check to see if it is custom + // accessor. System.Type accessorClass; try |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.DomainModel Modified Files: Fum.cs Log Message: NH-134 Index: Fum.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fum.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Fum.cs 23 Aug 2004 02:11:53 -0000 1.6 --- Fum.cs 23 Oct 2004 15:01:22 -0000 1.7 *************** *** 44,102 **** public string FumString { ! get ! { ! return _fum; ! } ! set ! { ! this._fum = value; ! } } public FumCompositeID Id { ! get ! { ! return _id; ! } ! set ! { ! this._id = value; ! } } public Fum Fo { ! get ! { ! return _fo; ! } ! set ! { ! this._fo = value; ! } } public Qux[] QuxArray { ! get ! { ! return _quxArray; ! } ! set ! { ! this._quxArray = value; ! } } public IDictionary Friends { ! get ! { ! return _friends; ! } ! set ! { ! this._friends = value; ! } } --- 44,72 ---- public string FumString { ! get { return _fum; } ! set { this._fum = value; } } public FumCompositeID Id { ! get { return _id; } ! set { this._id = value; } } public Fum Fo { ! get { return _fo; } ! set { this._fo = value; } } public Qux[] QuxArray { ! get { return _quxArray; } ! set { this._quxArray = value; } } public IDictionary Friends { ! get { return _friends; } ! set { this._friends = value; } } *************** *** 150,161 **** public DateTime LastUpdated { ! get ! { ! return m_LastUpdated; ! } ! set ! { ! m_LastUpdated = value; ! } } --- 120,125 ---- public DateTime LastUpdated { ! get { return m_LastUpdated; } ! set { m_LastUpdated = value; } } |
From: Michael D. <mik...@us...> - 2004-10-23 15:01:30
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/PropertyTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.Test/PropertyTest Added Files: FieldGetterFixture.cs Log Message: NH-134 --- NEW FILE: FieldGetterFixture.cs --- using System; using NHibernate.Property; using NHibernate.Util; using NUnit.Framework; namespace NHibernate.Test.PropertyTest { /// <summary> /// This is more of a test of ReflectHelper.GetGetter() to make sure that /// it will find the correct IGetter when a Property does not exist. /// </summary> [TestFixture] public class FieldGetterFixture { FieldGetterFixture.FieldGetterClass obj = new FieldGetterFixture.FieldGetterClass(); [Test] public void NoNamingStrategy() { IGetter fieldGetter = ReflectHelper.GetGetter( typeof(FieldGetterFixture.FieldGetterClass), "Id" ); Assert.IsNotNull( fieldGetter, "should have found getter" ); Assert.AreEqual( typeof(FieldGetter), fieldGetter.GetType(), "IGetter should be for a field." ); Assert.AreEqual( typeof(Int32), fieldGetter.ReturnType, "returns Int32." ); Assert.IsNull( fieldGetter.Property, "no PropertyInfo for fields." ); Assert.IsNull( fieldGetter.PropertyName, "no Property Names for fields." ); Assert.AreEqual( 7, fieldGetter.Get( obj ), "Get() for Int32" ); } [Test] public void CamelCaseNamingStrategy() { IGetter fieldGetter = ReflectHelper.GetGetter( typeof(FieldGetterFixture.FieldGetterClass), "PropertyOne" ); Assert.IsNotNull( fieldGetter, "should have found getter" ); Assert.AreEqual( typeof(FieldGetter), fieldGetter.GetType(), "IGetter should be for a field." ); Assert.AreEqual( typeof(DateTime), fieldGetter.ReturnType, "returns DateTime." ); Assert.IsNull( fieldGetter.Property, "no PropertyInfo for fields." ); Assert.IsNull( fieldGetter.PropertyName, "no Property Names for fields." ); Assert.AreEqual( DateTime.Parse( "2000-01-01" ), fieldGetter.Get( obj ), "Get() for DateTime" ); } [Test] public void CamelCaseUnderscoreNamingStrategy() { IGetter fieldGetter = ReflectHelper.GetGetter( typeof(FieldGetterFixture.FieldGetterClass), "PropertyTwo" ); Assert.IsNotNull( fieldGetter, "should have found getter" ); Assert.AreEqual( typeof(FieldGetter), fieldGetter.GetType(), "IGetter should be for a field." ); Assert.AreEqual( typeof(Boolean), fieldGetter.ReturnType, "returns Boolean." ); Assert.IsNull( fieldGetter.Property, "no PropertyInfo for fields." ); Assert.IsNull( fieldGetter.PropertyName, "no Property Names for fields." ); Assert.AreEqual( true, fieldGetter.Get( obj ), "Get() for Boolean" ); } [Test] public void PascalCaseMUnderscoreNamingStrategy() { IGetter fieldGetter = ReflectHelper.GetGetter( typeof(FieldGetterFixture.FieldGetterClass), "PropertyThree" ); Assert.IsNotNull( fieldGetter, "should have found getter" ); Assert.AreEqual( typeof(FieldGetter), fieldGetter.GetType(), "IGetter should be for a field." ); Assert.AreEqual( typeof(TimeSpan), fieldGetter.ReturnType, "returns DateTime." ); Assert.IsNull( fieldGetter.Property, "no PropertyInfo for fields." ); Assert.IsNull( fieldGetter.PropertyName, "no Property Names for fields." ); Assert.AreEqual( new TimeSpan( DateTime.Parse( "2001-01-01" ).Ticks ), fieldGetter.Get( obj ), "Get() for TimeSpan" ); } public class FieldGetterClass { private int Id = 7; private DateTime propertyOne = DateTime.Parse( "2000-01-01" ); private bool _propertyTwo = true; private TimeSpan m_PropertyThree = new TimeSpan( DateTime.Parse("2001-01-01" ).Ticks ); } } } |
From: Michael D. <mik...@us...> - 2004-10-22 21:02:12
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14829 Modified Files: basic_mapping.xml Log Message: some more work on it. Index: basic_mapping.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/modules/basic_mapping.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** basic_mapping.xml 20 Oct 2004 18:08:38 -0000 1.3 --- basic_mapping.xml 22 Oct 2004 21:01:56 -0000 1.4 *************** *** 355,359 **** legacy data with composite keys. We strongly discourage its use for anything else. </para> ! </sect2> </sect1> --- 355,562 ---- legacy data with composite keys. We strongly discourage its use for anything else. </para> ! ! </sect2> ! ! <sect2 id="mapping-declaration-property"> ! <title>property</title> ! ! <para> ! The <literal><property></literal> element declares a persistent, ! property of the class. ! </para> ! ! <programlistingco> ! <programlisting><property ! name="propertyName"<co id="property1-co" linkends="property1" /> ! column="column_name"<co id="property2-co" linkends="property2" /> ! type="typename"<co id="property3-co" linkends="property3" /> ! update="true|false"<co id="property4-co" linkends="property4" /> ! insert="true|false"<co id="property5-co" linkends="property5" /> ! formula="arbitrary SQL expression"<co id="property6-co" linkends="property6" /> ! access="field|property|nosetter|ClassName"<co id="property7-co" linkends="property7" /> ! /></programlisting> ! <calloutlist> ! <callout arearefs="property1-co" id="property1"> ! <para> ! <literal>name</literal>: the name of the property in the same case as the Propery in your API ! </para> ! </callout> ! <callout arearefs="property2-co" id="property2"> ! <para> ! <literal>column</literal> (optional - defaults to the property name): the name ! of the mapped database table column. ! </para> ! </callout> ! <callout arearefs="property3-co" id="property3"> ! <para> ! <literal>type</literal> (optional): a name that indicates the NHibernate type. ! </para> ! </callout> ! <callout arearefs="property4-co" id="property4"> ! <para> ! <literal>update</literal> (optional - defaults to <literal>true</literal>) : ! specifies that the mapped columns should be included in SQL <literal>UPDATE</literal> ! </para> ! </callout> ! <callout arearefs="property5-co" id="property5"> ! <para> ! <literal>insert</literal> (optional - defaults to <literal>true</literal>) : ! specifies that the mapped columns should be included in SQL ! <literal>INSERT</literal> statements. Setting both <literal>insert</literal> ! and <literal>update</literal> to <literal>false</literal> ! allows a pure "derived" property whose value is initialized from some other ! property that maps to the same colum(s) or by a trigger or other application. ! </para> ! </callout> ! <callout arearefs="property6-co" id="property6"> ! <para> ! <literal>formula</literal> (optional): an SQL expression that defines the value for a ! <emphasis>computed</emphasis> property. Computed properties do not have a column ! mapping of their own. ! </para> ! </callout> ! <callout arearefs="property7-co" id="property7"> ! <para> ! <literal>access</literal> (optional - defaults to <literal>property</literal>): The ! strategy NHibernate should use for accessing the property value. ! </para> ! </callout> ! </calloutlist> ! </programlistingco> ! ! <para> ! <emphasis>typename</emphasis> could be: ! </para> ! ! <orderedlist spacing="compact"> ! <listitem> ! <para> ! The name of a NHibernate basic type (eg. <literal>Int32, String, Char, ! DateTime, Timstamp, Single, Byte[], Object, ...</literal>). ! </para> ! </listitem> ! <listitem> ! <para> ! The name of a .NET type with a default basic type (eg. <literal>System.Int16, System.Single, ! System.Char, System.String, System.DateTime, System.Byte[], ...</literal>). ! </para> ! </listitem> ! <listitem> ! <para> ! The name of a your of <literal>System.Enum </literal> (eg. <literal>Eg.Color</literal>). ! </para> ! </listitem> ! <listitem> ! <para> ! The name of a serializable .NET type. ! </para> ! </listitem> ! <listitem> ! <para> ! The type of a custom type (eg. <literal>Illflow.Type.MyCustomType, Illflow</literal>). ! </para> ! </listitem> ! </orderedlist> ! ! <para> ! If you do not specify a type, NHibernate will use reflection upon the named ! property to take a guess at the correct NHibernate type. NHibernate will try to ! interpret the name of the return class of the property getter using rules 2, 3, ! 4 in that order. However, this is not always enough. ! In certain cases you will still need the <literal>type</literal> ! attribute. (For example, to distinguish between <literal>NHibernate.DateTime</literal> and ! <literal>NHibernate.Timestamp</literal>, or to specify a custom type.) ! </para> ! ! <para> ! The <literal>access</literal> attribute lets you control how NHibernate will access ! the value of the property at runtime. The value of the <literal>access</literal> attribute should ! be text formatted as <literal>access-strategy.naming-strategy</literal>. The ! <literal>.naming-stragey</literal> is not always required. ! <variablelist> ! <title>Access Strategy</title> ! <varlistentry> ! <term><literal>property</literal></term> ! <listitem> ! <para> ! The default implementation. NHibernate uses the get/set of your Property. No ! Naming Strategy should be used with this Access Strategy because the ! <literal>name</literal> attribute is the name of your Property. ! </para> ! </listitem> ! </varlistentry> ! <varlistentry> ! <term><literal>field</literal></term> ! <listitem> ! <para> ! NHibernate will access the Field directly. NHibernate uses the <literal><name></literal> ! as the name of the field. This can be used when a Property's get and set have extra ! actions in them that you don't want to occur when NHibernate is populating or reading the object. ! If you want the name of the Property and not the Field to be what the consumers of your API ! use with HQL, then a Naming Strategy is needed. ! </para> ! </listitem> ! </varlistentry> ! <varlistentry> ! <term><literal>nosetter</literal></term> ! <listitem> ! <para> ! NHibernate will access the Field directly when setting the value and will use the ! Property when getting the value. This can be used when a Property only exposes a get because ! the consumers of your API can't change the value directly. A Naming Strategy is required ! because NHibernate uses the <literal>name</literal> attribute as the Property so it needs to ! be told what the name of the Field is. ! </para> ! </listitem> ! </varlistentry> ! <varlistentry> ! <term><literal>ClassName</literal></term> ! <listitem> ! <para> ! If NHibernate's built in Access Strategies are not what is needed for your situation ! then you can build your own by implementing the interface ! <literal>NHibernate.Property.IPropertyAccessor</literal>. The value of the ! <literal>access</literal> attribute should be an Assembly Qualified Name that can be ! loaded with <literal>Activator.CreateInstance(string AssemblyQualifiedName)</literal>. ! </para> ! </listitem> ! </varlistentry> ! </variablelist> ! </para> ! ! <para> ! <variablelist> ! <title>Naming Strategy</title> ! <varlistentry> ! <term><literal>camelcase</literal></term> ! <listitem> ! <para> ! The <literal>name</literal> attribute is converted to CamelCase to find the Field. ! <literal><property name="Foo" ... ></literal> uses the Field <literal>foo</literal>. ! </para> ! </listitem> ! </varlistentry> ! <varlistentry> ! <term><literal>camelcase-underscore</literal></term> ! <listitem> ! <para> ! The <literal>name</literal> attribute is converted to CamelCase and prefixed with an ! underscore to find the Field. ! <literal><property name="Foo" ... ></literal> uses the Field <literal>_foo</literal>. ! </para> ! </listitem> ! </varlistentry> ! <varlistentry> ! <term><literal>pascalcase-m-underscore</literal></term> ! <listitem> ! <para> ! The <literal>name</literal> attribute is prefixed with the character ! m and an underscore to find the Field. ! <literal><property name="Foo" ... ></literal> uses the Field <literal>m_Foo</literal>. ! </para> ! </listitem> ! </varlistentry> ! </variablelist> ! </para> </sect2> </sect1> |
From: Michael D. <mik...@us...> - 2004-10-21 22:28:25
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19968/support/docbook-dtd Removed Files: .cvsignore Log Message: removed ignore files that don't need to be there since there is now content in those folders. --- .cvsignore DELETED --- |
From: Michael D. <mik...@us...> - 2004-10-21 22:28:24
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19968/support/docbook-xsl Removed Files: .cvsignore Log Message: removed ignore files that don't need to be there since there is now content in those folders. --- .cvsignore DELETED --- |
From: Michael D. <mik...@us...> - 2004-10-21 22:28:24
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd/ent In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19968/support/docbook-dtd/ent Removed Files: .cvsignore Log Message: removed ignore files that don't need to be there since there is now content in those folders. --- .cvsignore DELETED --- |
From: Michael D. <mik...@us...> - 2004-10-21 14:02:07
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6564 Added Files: .cvsignore Log Message: don't want hibernate version of modules to be added into cvs --- NEW FILE: .cvsignore --- h-* |
From: Michael D. <mik...@us...> - 2004-10-21 13:21:54
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29390 Modified Files: .cvsignore doc.build Log Message: Modified build file to create different directory structure. Index: .cvsignore =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 21 Oct 2004 12:51:53 -0000 1.2 --- .cvsignore 21 Oct 2004 13:21:41 -0000 1.3 *************** *** 1 **** ! html-single \ No newline at end of file --- 1 ---- ! build Index: doc.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/doc.build,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** doc.build 21 Oct 2004 00:39:08 -0000 1.3 --- doc.build 21 Oct 2004 13:21:41 -0000 1.4 *************** *** 7,11 **** <property name="lang" value="en" /> ! <target name="build" description="Generates html from docbook files."> --- 7,12 ---- <property name="lang" value="en" /> ! <property name="build.dir" value="build/${lang}" /> ! <property name="build.html.dir" value="${build.dir}/html" /> <target name="build" description="Generates html from docbook files."> *************** *** 14,29 **** need to make sure that xsltproc is in the path --> ! <mkdir dir="html-single/${lang}" failonerror="false" /> ! <mkdir dir="html-single/${lang}/styles" failonerror="false" /> ! <mkdir dir="html-single/${lang}/images" failonerror="false" /> ! <exec program="xsltproc" commandline="--output html-single\${lang}\reference.html ${lang}\styles\html.xsl ${lang}\master.xml" /> ! <copy file="${lang}/styles/html.css" tofile="html-single/${lang}/styles/html.css" /> ! <copy todir="html-single"> ! <fileset> ! <includes name="${lang}/images/*.gif" /> </fileset> </copy> </target> --- 15,32 ---- need to make sure that xsltproc is in the path --> ! <mkdir dir="${build.html.dir}" failonerror="false" /> ! <mkdir dir="${build.html.dir}/single" failonerror="false" /> ! <mkdir dir="${build.html.dir}/styles" failonerror="false" /> ! <mkdir dir="${build.html.dir}/images" failonerror="false" /> ! <exec program="xsltproc" commandline="--output build\${lang}\html\single\reference.html ${lang}\styles\html.xsl ${lang}\master.xml" /> ! <copy todir="${build.html.dir}"> ! <fileset basedir="${lang}"> ! <includes name="styles/html.css" /> ! <includes name="images/**.*" /> </fileset> </copy> + </target> |
From: Michael D. <mik...@us...> - 2004-10-21 13:21:54
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/styles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29390/en/styles Modified Files: html.xsl Log Message: Modified build file to create different directory structure. Index: html.xsl =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/styles/html.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** html.xsl 20 Oct 2004 18:08:40 -0000 1.2 --- html.xsl 21 Oct 2004 13:21:42 -0000 1.3 *************** *** 32,36 **** under the lang subdirectory anyway --> ! <xsl:param name="html.stylesheet">styles/html.css</xsl:param> <!-- These extensions are required for table printing and other stuff --> --- 32,36 ---- under the lang subdirectory anyway --> ! <xsl:param name="html.stylesheet">../styles/html.css</xsl:param> <!-- These extensions are required for table printing and other stuff --> |
From: Michael D. <mik...@us...> - 2004-10-21 13:21:54
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29390/en/modules Modified Files: architecture.xml Log Message: Modified build file to create different directory structure. Index: architecture.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/modules/architecture.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** architecture.xml 21 Oct 2004 00:38:45 -0000 1.2 --- architecture.xml 21 Oct 2004 13:21:42 -0000 1.3 *************** *** 13,21 **** <!-- <imageobject role="fo"> ! <imagedata fileref="images/overview.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="images/overview.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 13,21 ---- <!-- <imageobject role="fo"> ! <imagedata fileref="../images/overview.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="../images/overview.gif" format="GIF" align="center"/> </imageobject> </mediaobject> *************** *** 36,44 **** <!-- <imageobject role="fo"> ! <imagedata fileref="images/lite.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="images/lite.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 36,44 ---- <!-- <imageobject role="fo"> ! <imagedata fileref="../images/lite.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="../images/lite.gif" format="GIF" align="center"/> </imageobject> </mediaobject> *************** *** 53,61 **** <!-- <imageobject role="fo"> ! <imagedata fileref="images/full_cream.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="images/full_cream.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 53,61 ---- <!-- <imageobject role="fo"> ! <imagedata fileref="../images/full_cream.svg" format="SVG" align="center"/> </imageobject> --> <imageobject role="html"> ! <imagedata fileref="../images/full_cream.gif" format="GIF" align="center"/> </imageobject> </mediaobject> |
From: Michael D. <mik...@us...> - 2004-10-21 12:52:36
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160 Modified Files: .cvsignore Log Message: Added all of the support files needed by docbook to build the html. Index: .cvsignore =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 21 Oct 2004 08:25:19 -0000 1.1 --- .cvsignore 21 Oct 2004 12:51:53 -0000 1.2 *************** *** 1,2 **** - support html-single \ No newline at end of file --- 1 ---- |
From: Michael D. <mik...@us...> - 2004-10-21 12:52:25
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd/ent In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-dtd/ent Added Files: iso-amsa.ent iso-amsb.ent iso-amsc.ent iso-amsn.ent iso-amso.ent iso-amsr.ent iso-box.ent iso-cyr1.ent iso-cyr2.ent iso-dia.ent iso-grk1.ent iso-grk2.ent iso-grk3.ent iso-grk4.ent iso-lat1.ent iso-lat2.ent iso-num.ent iso-pub.ent iso-tech.ent Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: iso-grk3.ent --- <!-- iso-grk3.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY alpha "α"> <!-- --> <!ENTITY beta "β"> <!-- GREEK SMALL LETTER BETA --> <!ENTITY gamma "γ"> <!-- GREEK SMALL LETTER GAMMA --> <!ENTITY Gamma "Γ"> <!-- GREEK CAPITAL LETTER GAMMA --> <!ENTITY gammad "Ϝ"> <!-- GREEK LETTER DIGAMMA --> <!ENTITY delta "δ"> <!-- GREEK SMALL LETTER DELTA --> <!ENTITY Delta "Δ"> <!-- GREEK CAPITAL LETTER DELTA --> <!ENTITY epsi "∊"> <!-- --> <!ENTITY epsiv "ε"> <!-- --> <!ENTITY epsis "∊"> <!-- --> <!ENTITY zeta "ζ"> <!-- GREEK SMALL LETTER ZETA --> <!ENTITY eta "η"> <!-- GREEK SMALL LETTER ETA --> <!ENTITY thetas "θ"> <!-- --> <!ENTITY Theta "Θ"> <!-- GREEK CAPITAL LETTER THETA --> <!ENTITY thetav "ϑ"> <!-- --> <!ENTITY iota "ι"> <!-- GREEK SMALL LETTER IOTA --> <!ENTITY kappa "κ"> <!-- GREEK SMALL LETTER KAPPA --> <!ENTITY kappav "ϰ"> <!-- GREEK KAPPA SYMBOL --> <!ENTITY lambda "λ"> <!-- GREEK SMALL LETTER LAMDA --> <!ENTITY Lambda "Λ"> <!-- GREEK CAPITAL LETTER LAMDA --> <!ENTITY mu "μ"> <!-- GREEK SMALL LETTER MU --> <!ENTITY nu "ν"> <!-- GREEK SMALL LETTER NU --> <!ENTITY xi "ξ"> <!-- GREEK SMALL LETTER XI --> <!ENTITY Xi "Ξ"> <!-- GREEK CAPITAL LETTER XI --> <!ENTITY pi "π"> <!-- GREEK SMALL LETTER PI --> <!ENTITY piv "ϖ"> <!-- GREEK PI SYMBOL --> <!ENTITY Pi "Π"> <!-- GREEK CAPITAL LETTER PI --> <!ENTITY rho "ρ"> <!-- GREEK SMALL LETTER RHO --> <!ENTITY rhov "ϱ"> <!-- GREEK RHO SYMBOL --> <!ENTITY sigma "σ"> <!-- GREEK SMALL LETTER SIGMA --> <!ENTITY Sigma "Σ"> <!-- GREEK CAPITAL LETTER SIGMA --> <!ENTITY sigmav "ς"> <!-- --> <!ENTITY tau "τ"> <!-- GREEK SMALL LETTER TAU --> <!ENTITY upsi "υ"> <!-- GREEK SMALL LETTER UPSILON --> <!ENTITY Upsi "ϒ"> <!-- --> <!ENTITY phis "φ"> <!-- GREEK SMALL LETTER PHI --> <!ENTITY Phi "Φ"> <!-- GREEK CAPITAL LETTER PHI --> <!ENTITY phiv "ϕ"> <!-- GREEK PHI SYMBOL --> <!ENTITY chi "χ"> <!-- GREEK SMALL LETTER CHI --> <!ENTITY psi "ψ"> <!-- GREEK SMALL LETTER PSI --> <!ENTITY Psi "Ψ"> <!-- GREEK CAPITAL LETTER PSI --> <!ENTITY omega "ω"> <!-- GREEK SMALL LETTER OMEGA --> <!ENTITY Omega "Ω"> <!-- GREEK CAPITAL LETTER OMEGA --> --- NEW FILE: iso-amsb.ent --- <!-- iso-amsb.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz. With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!ENTITY amalg "∐"> <!-- N-ARY COPRODUCT --> <!ENTITY Barwed "⌆"> <!-- PERSPECTIVE --> <!ENTITY barwed "⊼"> <!-- NAND --> <!ENTITY Cap "⋒"> <!-- DOUBLE INTERSECTION --> <!ENTITY Cup "⋓"> <!-- DOUBLE UNION --> <!ENTITY cuvee "⋎"> <!-- CURLY LOGICAL OR --> <!ENTITY cuwed "⋏"> <!-- CURLY LOGICAL AND --> <!ENTITY diam "⋄"> <!-- DIAMOND OPERATOR --> <!ENTITY divonx "⋇"> <!-- DIVISION TIMES --> <!ENTITY intcal "⊺"> <!-- INTERCALATE --> <!ENTITY lthree "⋋"> <!-- LEFT SEMIDIRECT PRODUCT --> <!ENTITY ltimes "⋉"> <!-- LEFT NORMAL FACTOR SEMIDIRECT PRODUCT --> <!ENTITY minusb "⊟"> <!-- SQUARED MINUS --> <!ENTITY oast "⊛"> <!-- CIRCLED ASTERISK OPERATOR --> <!ENTITY ocir "⊚"> <!-- CIRCLED RING OPERATOR --> <!ENTITY odash "⊝"> <!-- CIRCLED DASH --> <!ENTITY odot "⊙"> <!-- CIRCLED DOT OPERATOR --> <!ENTITY ominus "⊖"> <!-- CIRCLED MINUS --> <!ENTITY oplus "⊕"> <!-- CIRCLED PLUS --> <!ENTITY osol "⊘"> <!-- CIRCLED DIVISION SLASH --> <!ENTITY otimes "⊗"> <!-- CIRCLED TIMES --> <!ENTITY plusb "⊞"> <!-- SQUARED PLUS --> <!ENTITY plusdo "∔"> <!-- DOT PLUS --> <!ENTITY rthree "⋌"> <!-- RIGHT SEMIDIRECT PRODUCT --> <!ENTITY rtimes "⋊"> <!-- RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT --> <!ENTITY sdot "⋅"> <!-- DOT OPERATOR --> <!ENTITY sdotb "⊡"> <!-- SQUARED DOT OPERATOR --> <!ENTITY setmn "∖"> <!-- SET MINUS --> <!ENTITY sqcap "⊓"> <!-- SQUARE CAP --> <!ENTITY sqcup "⊔"> <!-- SQUARE CUP --> <!ENTITY ssetmn "∖"> <!-- SET MINUS --> <!ENTITY sstarf "⋆"> <!-- STAR OPERATOR --> <!ENTITY timesb "⊠"> <!-- SQUARED TIMES --> <!ENTITY top "⊤"> <!-- DOWN TACK --> <!ENTITY uplus "⊎"> <!-- MULTISET UNION --> <!ENTITY wreath "≀"> <!-- WREATH PRODUCT --> <!ENTITY xcirc "○"> <!-- WHITE CIRCLE --> <!ENTITY xdtri "▽"> <!-- WHITE DOWN-POINTING TRIANGLE --> <!ENTITY xutri "△"> <!-- WHITE UP-POINTING TRIANGLE --> <!ENTITY coprod "∐"> <!-- N-ARY COPRODUCT --> <!ENTITY prod "∏"> <!-- N-ARY PRODUCT --> <!ENTITY sum "∑"> <!-- N-ARY SUMMATION --> --- NEW FILE: iso-grk1.ent --- <!-- iso-grk1.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY agr "α"> <!-- --> <!ENTITY Agr "Α"> <!-- GREEK CAPITAL LETTER ALPHA --> <!ENTITY bgr "β"> <!-- GREEK SMALL LETTER BETA --> <!ENTITY Bgr "Β"> <!-- GREEK CAPITAL LETTER BETA --> <!ENTITY ggr "γ"> <!-- GREEK SMALL LETTER GAMMA --> <!ENTITY Ggr "Γ"> <!-- GREEK CAPITAL LETTER GAMMA --> <!ENTITY dgr "δ"> <!-- GREEK SMALL LETTER DELTA --> <!ENTITY Dgr "Δ"> <!-- GREEK CAPITAL LETTER DELTA --> <!ENTITY egr "ε"> <!-- --> <!ENTITY Egr "Ε"> <!-- GREEK CAPITAL LETTER EPSILON --> <!ENTITY zgr "ζ"> <!-- GREEK SMALL LETTER ZETA --> <!ENTITY Zgr "Ζ"> <!-- GREEK CAPITAL LETTER ZETA --> <!ENTITY eegr "η"> <!-- GREEK SMALL LETTER ETA --> <!ENTITY EEgr "Η"> <!-- GREEK CAPITAL LETTER ETA --> <!ENTITY thgr "θ"> <!-- --> <!ENTITY THgr "Θ"> <!-- GREEK CAPITAL LETTER THETA --> <!ENTITY igr "ι"> <!-- GREEK SMALL LETTER IOTA --> <!ENTITY Igr "Ι"> <!-- GREEK CAPITAL LETTER IOTA --> <!ENTITY kgr "κ"> <!-- GREEK SMALL LETTER KAPPA --> <!ENTITY Kgr "Κ"> <!-- GREEK CAPITAL LETTER KAPPA --> <!ENTITY lgr "λ"> <!-- GREEK SMALL LETTER LAMDA --> <!ENTITY Lgr "Λ"> <!-- GREEK CAPITAL LETTER LAMDA --> <!ENTITY mgr "μ"> <!-- GREEK SMALL LETTER MU --> <!ENTITY Mgr "Μ"> <!-- GREEK CAPITAL LETTER MU --> <!ENTITY ngr "ν"> <!-- GREEK SMALL LETTER NU --> <!ENTITY Ngr "Ν"> <!-- GREEK CAPITAL LETTER NU --> <!ENTITY xgr "ξ"> <!-- GREEK SMALL LETTER XI --> <!ENTITY Xgr "Ξ"> <!-- GREEK CAPITAL LETTER XI --> <!ENTITY ogr "ο"> <!-- GREEK SMALL LETTER OMICRON --> <!ENTITY Ogr "Ο"> <!-- GREEK CAPITAL LETTER OMICRON --> <!ENTITY pgr "π"> <!-- GREEK SMALL LETTER PI --> <!ENTITY Pgr "Π"> <!-- GREEK CAPITAL LETTER PI --> <!ENTITY rgr "ρ"> <!-- GREEK SMALL LETTER RHO --> <!ENTITY Rgr "Ρ"> <!-- GREEK CAPITAL LETTER RHO --> <!ENTITY sgr "σ"> <!-- GREEK SMALL LETTER SIGMA --> <!ENTITY Sgr "Σ"> <!-- GREEK CAPITAL LETTER SIGMA --> <!ENTITY sfgr "ς"> <!-- --> <!ENTITY tgr "τ"> <!-- GREEK SMALL LETTER TAU --> <!ENTITY Tgr "Τ"> <!-- GREEK CAPITAL LETTER TAU --> <!ENTITY ugr "υ"> <!-- GREEK SMALL LETTER UPSILON --> <!ENTITY Ugr "Υ"> <!-- --> <!ENTITY phgr "φ"> <!-- GREEK SMALL LETTER PHI --> <!ENTITY PHgr "Φ"> <!-- GREEK CAPITAL LETTER PHI --> <!ENTITY khgr "χ"> <!-- GREEK SMALL LETTER CHI --> <!ENTITY KHgr "Χ"> <!-- GREEK CAPITAL LETTER CHI --> <!ENTITY psgr "ψ"> <!-- GREEK SMALL LETTER PSI --> <!ENTITY PSgr "Ψ"> <!-- GREEK CAPITAL LETTER PSI --> <!ENTITY ohgr "ω"> <!-- GREEK SMALL LETTER OMEGA --> <!ENTITY OHgr "Ω"> <!-- GREEK CAPITAL LETTER OMEGA --> --- NEW FILE: iso-amsn.ent --- <!-- iso-amsn.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!ENTITY gnap ""> <!-- --> <!ENTITY gne "≩"> <!-- --> <!ENTITY gnE "≩"> <!-- --> <!ENTITY gnsim "⋧"> <!-- GREATER-THAN BUT NOT EQUIVALENT TO --> <!ENTITY gvnE "≩"> <!-- GREATER-THAN BUT NOT EQUAL TO --> <!ENTITY lnap ""> <!-- --> <!ENTITY lnE "≨"> <!-- --> <!ENTITY lne "≨"> <!-- --> <!ENTITY lnsim "⋦"> <!-- --> <!ENTITY lvnE "≨"> <!-- LESS-THAN BUT NOT EQUAL TO --> <!ENTITY nap "≉"> <!-- NOT ALMOST EQUAL TO --> <!ENTITY ncong "≇"> <!-- NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO --> <!ENTITY nequiv "≢"> <!-- NOT IDENTICAL TO --> <!ENTITY ngE "≱"> <!-- --> <!ENTITY nge "≱"> <!-- NEITHER GREATER-THAN NOR EQUAL TO --> <!ENTITY nges "≱"> <!-- --> <!ENTITY ngt "≯"> <!-- NOT GREATER-THAN --> <!ENTITY nle "≰"> <!-- NEITHER LESS-THAN NOR EQUAL TO --> <!ENTITY nlE "≰"> <!-- --> <!ENTITY nles "≰"> <!-- --> <!ENTITY nlt "≮"> <!-- NOT LESS-THAN --> <!ENTITY nltri "⋪"> <!-- NOT NORMAL SUBGROUP OF --> <!ENTITY nltrie "⋬"> <!-- NOT NORMAL SUBGROUP OF OR EQUAL TO --> <!ENTITY nmid "∤"> <!-- DOES NOT DIVIDE --> <!ENTITY npar "∦"> <!-- NOT PARALLEL TO --> <!ENTITY npr "⊀"> <!-- DOES NOT PRECEDE --> <!ENTITY npre "⋠"> <!-- DOES NOT PRECEDE OR EQUAL --> <!ENTITY nrtri "⋫"> <!-- DOES NOT CONTAIN AS NORMAL SUBGROUP --> <!ENTITY nrtrie "⋭"> <!-- DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL --> <!ENTITY nsc "⊁"> <!-- DOES NOT SUCCEED --> <!ENTITY nsce "⋡"> <!-- DOES NOT SUCCEED OR EQUAL --> <!ENTITY nsim "≁"> <!-- --> <!ENTITY nsime "≄"> <!-- --> <!ENTITY nsmid ""> <!-- --> <!ENTITY nspar "∦"> <!-- NOT PARALLEL TO --> <!ENTITY nsub "⊄"> <!-- NOT A SUBSET OF --> <!ENTITY nsube "⊈"> <!-- --> <!ENTITY nsubE "⊈"> <!-- --> <!ENTITY nsup "⊅"> <!-- NOT A SUPERSET OF --> <!ENTITY nsupE "⊉"> <!-- --> <!ENTITY nsupe "⊉"> <!-- --> <!ENTITY nvdash "⊬"> <!-- DOES NOT PROVE --> <!ENTITY nvDash "⊭"> <!-- NOT TRUE --> <!ENTITY nVDash "⊯"> <!-- NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE --> <!ENTITY nVdash "⊮"> <!-- DOES NOT FORCE --> <!ENTITY prnap "⋨"> <!-- --> <!ENTITY prnE ""> <!-- --> <!ENTITY prnsim "⋨"> <!-- --> <!ENTITY scnap "⋩"> <!-- --> <!ENTITY scnE ""> <!-- --> <!ENTITY scnsim "⋩"> <!-- --> <!ENTITY subne "⊊"> <!-- --> <!ENTITY subnE "⊊"> <!-- SUBSET OF WITH NOT EQUAL TO --> <!ENTITY supne "⊋"> <!-- --> <!ENTITY supnE "⊋"> <!-- --> <!ENTITY vsubnE ""> <!-- --> <!ENTITY vsubne "⊊"> <!-- SUBSET OF WITH NOT EQUAL TO --> <!ENTITY vsupne "⊋"> <!-- SUPERSET OF WITH NOT EQUAL TO --> <!ENTITY vsupnE "⊋"> <!-- SUPERSET OF WITH NOT EQUAL TO --> --- NEW FILE: iso-cyr2.ent --- <!-- iso-cyr2.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY djcy "ђ"> <!-- CYRILLIC SMALL LETTER DJE --> <!ENTITY DJcy "Ђ"> <!-- CYRILLIC CAPITAL LETTER DJE --> <!ENTITY gjcy "ѓ"> <!-- CYRILLIC SMALL LETTER GJE --> <!ENTITY GJcy "Ѓ"> <!-- CYRILLIC CAPITAL LETTER GJE --> <!ENTITY jukcy "є"> <!-- CYRILLIC SMALL LETTER UKRAINIAN IE --> <!ENTITY Jukcy "Є"> <!-- CYRILLIC CAPITAL LETTER UKRAINIAN IE --> <!ENTITY dscy "ѕ"> <!-- CYRILLIC SMALL LETTER DZE --> <!ENTITY DScy "Ѕ"> <!-- CYRILLIC CAPITAL LETTER DZE --> <!ENTITY iukcy "і"> <!-- CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I --> <!ENTITY Iukcy "І"> <!-- CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I --> <!ENTITY yicy "ї"> <!-- CYRILLIC SMALL LETTER YI --> <!ENTITY YIcy "Ї"> <!-- CYRILLIC CAPITAL LETTER YI --> <!ENTITY jsercy "ј"> <!-- CYRILLIC SMALL LETTER JE --> <!ENTITY Jsercy "Ј"> <!-- CYRILLIC CAPITAL LETTER JE --> <!ENTITY ljcy "љ"> <!-- CYRILLIC SMALL LETTER LJE --> <!ENTITY LJcy "Љ"> <!-- CYRILLIC CAPITAL LETTER LJE --> <!ENTITY njcy "њ"> <!-- CYRILLIC SMALL LETTER NJE --> <!ENTITY NJcy "Њ"> <!-- CYRILLIC CAPITAL LETTER NJE --> <!ENTITY tshcy "ћ"> <!-- CYRILLIC SMALL LETTER TSHE --> <!ENTITY TSHcy "Ћ"> <!-- CYRILLIC CAPITAL LETTER TSHE --> <!ENTITY kjcy "ќ"> <!-- CYRILLIC SMALL LETTER KJE --> <!ENTITY KJcy "Ќ"> <!-- CYRILLIC CAPITAL LETTER KJE --> <!ENTITY ubrcy "ў"> <!-- CYRILLIC SMALL LETTER SHORT U --> <!ENTITY Ubrcy "Ў"> <!-- CYRILLIC CAPITAL LETTER SHORT U --> <!ENTITY dzcy "џ"> <!-- CYRILLIC SMALL LETTER DZHE --> <!ENTITY DZcy "Џ"> <!-- CYRILLIC CAPITAL LETTER DZHE --> --- NEW FILE: iso-cyr1.ent --- <!-- iso-cyr1.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY acy "а"> <!-- CYRILLIC SMALL LETTER A --> <!ENTITY Acy "А"> <!-- CYRILLIC CAPITAL LETTER A --> <!ENTITY bcy "б"> <!-- CYRILLIC SMALL LETTER BE --> <!ENTITY Bcy "Б"> <!-- CYRILLIC CAPITAL LETTER BE --> <!ENTITY vcy "в"> <!-- CYRILLIC SMALL LETTER VE --> <!ENTITY Vcy "В"> <!-- CYRILLIC CAPITAL LETTER VE --> <!ENTITY gcy "г"> <!-- CYRILLIC SMALL LETTER GHE --> <!ENTITY Gcy "Г"> <!-- CYRILLIC CAPITAL LETTER GHE --> <!ENTITY dcy "д"> <!-- CYRILLIC SMALL LETTER DE --> <!ENTITY Dcy "Д"> <!-- CYRILLIC CAPITAL LETTER DE --> <!ENTITY iecy "е"> <!-- CYRILLIC SMALL LETTER IE --> <!ENTITY IEcy "Е"> <!-- CYRILLIC CAPITAL LETTER IE --> <!ENTITY iocy "ё"> <!-- CYRILLIC SMALL LETTER IO --> <!ENTITY IOcy "Ё"> <!-- CYRILLIC CAPITAL LETTER IO --> <!ENTITY zhcy "ж"> <!-- CYRILLIC SMALL LETTER ZHE --> <!ENTITY ZHcy "Ж"> <!-- CYRILLIC CAPITAL LETTER ZHE --> <!ENTITY zcy "з"> <!-- CYRILLIC SMALL LETTER ZE --> <!ENTITY Zcy "З"> <!-- CYRILLIC CAPITAL LETTER ZE --> <!ENTITY icy "и"> <!-- CYRILLIC SMALL LETTER I --> <!ENTITY Icy "И"> <!-- CYRILLIC CAPITAL LETTER I --> <!ENTITY jcy "й"> <!-- CYRILLIC SMALL LETTER SHORT I --> <!ENTITY Jcy "Й"> <!-- CYRILLIC CAPITAL LETTER SHORT I --> <!ENTITY kcy "к"> <!-- CYRILLIC SMALL LETTER KA --> <!ENTITY Kcy "К"> <!-- CYRILLIC CAPITAL LETTER KA --> <!ENTITY lcy "л"> <!-- CYRILLIC SMALL LETTER EL --> <!ENTITY Lcy "Л"> <!-- CYRILLIC CAPITAL LETTER EL --> <!ENTITY mcy "м"> <!-- CYRILLIC SMALL LETTER EM --> <!ENTITY Mcy "М"> <!-- CYRILLIC CAPITAL LETTER EM --> <!ENTITY ncy "н"> <!-- CYRILLIC SMALL LETTER EN --> <!ENTITY Ncy "Н"> <!-- CYRILLIC CAPITAL LETTER EN --> <!ENTITY ocy "о"> <!-- CYRILLIC SMALL LETTER O --> <!ENTITY Ocy "О"> <!-- CYRILLIC CAPITAL LETTER O --> <!ENTITY pcy "п"> <!-- CYRILLIC SMALL LETTER PE --> <!ENTITY Pcy "П"> <!-- CYRILLIC CAPITAL LETTER PE --> <!ENTITY rcy "р"> <!-- CYRILLIC SMALL LETTER ER --> <!ENTITY Rcy "Р"> <!-- CYRILLIC CAPITAL LETTER ER --> <!ENTITY scy "с"> <!-- CYRILLIC SMALL LETTER ES --> <!ENTITY Scy "С"> <!-- CYRILLIC CAPITAL LETTER ES --> <!ENTITY tcy "т"> <!-- CYRILLIC SMALL LETTER TE --> <!ENTITY Tcy "Т"> <!-- CYRILLIC CAPITAL LETTER TE --> <!ENTITY ucy "у"> <!-- CYRILLIC SMALL LETTER U --> <!ENTITY Ucy "У"> <!-- CYRILLIC CAPITAL LETTER U --> <!ENTITY fcy "ф"> <!-- CYRILLIC SMALL LETTER EF --> <!ENTITY Fcy "Ф"> <!-- CYRILLIC CAPITAL LETTER EF --> <!ENTITY khcy "х"> <!-- CYRILLIC SMALL LETTER HA --> <!ENTITY KHcy "Х"> <!-- CYRILLIC CAPITAL LETTER HA --> <!ENTITY tscy "ц"> <!-- CYRILLIC SMALL LETTER TSE --> <!ENTITY TScy "Ц"> <!-- CYRILLIC CAPITAL LETTER TSE --> <!ENTITY chcy "ч"> <!-- CYRILLIC SMALL LETTER CHE --> <!ENTITY CHcy "Ч"> <!-- CYRILLIC CAPITAL LETTER CHE --> <!ENTITY shcy "ш"> <!-- CYRILLIC SMALL LETTER SHA --> <!ENTITY SHcy "Ш"> <!-- CYRILLIC CAPITAL LETTER SHA --> <!ENTITY shchcy "щ"> <!-- CYRILLIC SMALL LETTER SHCHA --> <!ENTITY SHCHcy "Щ"> <!-- CYRILLIC CAPITAL LETTER SHCHA --> <!ENTITY hardcy "ъ"> <!-- CYRILLIC SMALL LETTER HARD SIGN --> <!ENTITY HARDcy "Ъ"> <!-- CYRILLIC CAPITAL LETTER HARD SIGN --> <!ENTITY ycy "ы"> <!-- CYRILLIC SMALL LETTER YERU --> <!ENTITY Ycy "Ы"> <!-- CYRILLIC CAPITAL LETTER YERU --> <!ENTITY softcy "ь"> <!-- CYRILLIC SMALL LETTER SOFT SIGN --> <!ENTITY SOFTcy "Ь"> <!-- CYRILLIC CAPITAL LETTER SOFT SIGN --> <!ENTITY ecy "э"> <!-- CYRILLIC SMALL LETTER E --> <!ENTITY Ecy "Э"> <!-- CYRILLIC CAPITAL LETTER E --> <!ENTITY yucy "ю"> <!-- CYRILLIC SMALL LETTER YU --> <!ENTITY YUcy "Ю"> <!-- CYRILLIC CAPITAL LETTER YU --> <!ENTITY yacy "я"> <!-- CYRILLIC SMALL LETTER YA --> <!ENTITY YAcy "Я"> <!-- CYRILLIC CAPITAL LETTER YA --> <!ENTITY numero "№"> <!-- NUMERO SIGN --> --- NEW FILE: iso-amsc.ent --- <!-- iso-amsc.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY rceil "⌉"> <!-- RIGHT CEILING --> <!ENTITY rfloor "⌋"> <!-- RIGHT FLOOR --> <!ENTITY rpargt ""> <!-- --> <!ENTITY urcorn "⌝"> <!-- TOP RIGHT CORNER --> <!ENTITY drcorn "⌟"> <!-- BOTTOM RIGHT CORNER --> <!ENTITY lceil "⌈"> <!-- LEFT CEILING --> <!ENTITY lfloor "⌊"> <!-- LEFT FLOOR --> <!-- lpargt Unknown unicode character --> <!ENTITY ulcorn "⌜"> <!-- TOP LEFT CORNER --> <!ENTITY dlcorn "⌞"> <!-- BOTTOM LEFT CORNER --> --- NEW FILE: iso-tech.ent --- <!-- iso-tech.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz. With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!ENTITY aleph "ℵ"> <!-- ALEF SYMBOL --> <!ENTITY and "∧"> <!-- --> <!ENTITY ang90 "∟"> <!-- RIGHT ANGLE --> <!ENTITY angsph "∢"> <!-- --> <!ENTITY ap "≈"> <!-- --> <!ENTITY becaus "∵"> <!-- BECAUSE --> <!ENTITY bottom "⊥"> <!-- --> <!ENTITY cap "∩"> <!-- --> <!ENTITY cong "≅"> <!-- --> <!ENTITY conint "∮"> <!-- --> <!ENTITY cup "∪"> <!-- --> <!ENTITY equiv "≡"> <!-- --> <!ENTITY exist "∃"> <!-- --> <!ENTITY forall "∀"> <!-- --> <!ENTITY fnof "ƒ"> <!-- LATIN SMALL LETTER F WITH HOOK --> <!ENTITY ge "≥"> <!-- GREATER-THAN OR EQUAL TO --> <!ENTITY iff "⇔"> <!-- LEFT RIGHT DOUBLE ARROW --> <!ENTITY infin "∞"> <!-- --> <!ENTITY int "∫"> <!-- --> <!ENTITY isin "∊"> <!-- --> <!ENTITY lang "〈"> <!-- --> <!ENTITY lArr "⇐"> <!-- LEFTWARDS ARROW --> <!ENTITY le "≤"> <!-- --> <!ENTITY minus "−"> <!-- MINUS SIGN --> <!ENTITY mnplus "∓"> <!-- --> <!ENTITY nabla "∇"> <!-- NABLA --> <!ENTITY ne "≠"> <!-- --> <!ENTITY ni "∍"> <!-- --> <!ENTITY or "∨"> <!-- --> <!ENTITY par "∥"> <!-- PARALLEL TO --> <!ENTITY part "∂"> <!-- --> <!ENTITY permil "‰"> <!-- PER MILLE SIGN --> <!ENTITY perp "⊥"> <!-- --> <!ENTITY prime "′"> <!-- PRIME --> <!ENTITY Prime "″"> <!-- DOUBLE PRIME --> <!ENTITY prop "∝"> <!-- --> <!ENTITY radic "√"> <!-- --> <!ENTITY rang "〉"> <!-- --> <!ENTITY rArr "⇒"> <!-- RIGHTWARDS ARROW --> <!ENTITY sim "∼"> <!-- --> <!ENTITY sime "≃"> <!-- --> <!ENTITY square "□"> <!-- WHITE SQUARE --> <!ENTITY sub "⊂"> <!-- --> <!ENTITY sube "⊆"> <!-- --> <!ENTITY sup "⊃"> <!-- --> <!ENTITY supe "⊇"> <!-- --> <!ENTITY there4 "∴"> <!-- --> <!ENTITY Verbar "‖"> <!-- DOUBLE VERTICAL LINE --> <!ENTITY angst "Å"> <!-- ANGSTROM SIGN --> <!ENTITY bernou "ℬ"> <!-- SCRIPT CAPITAL B --> <!ENTITY compfn "∘"> <!-- RING OPERATOR --> <!ENTITY Dot "¨"> <!-- --> <!ENTITY DotDot "⃜"> <!-- COMBINING FOUR DOTS ABOVE --> <!ENTITY hamilt "ℋ"> <!-- SCRIPT CAPITAL H --> <!ENTITY lagran "ℒ"> <!-- SCRIPT CAPITAL L --> <!ENTITY lowast "∗"> <!-- ASTERISK OPERATOR --> <!ENTITY notin "∉"> <!-- --> <!ENTITY order "ℴ"> <!-- SCRIPT SMALL O --> <!ENTITY phmmat "ℳ"> <!-- SCRIPT CAPITAL M --> <!ENTITY tdot "⃛"> <!-- COMBINING THREE DOTS ABOVE --> <!ENTITY tprime "‴"> <!-- TRIPLE PRIME --> <!ENTITY wedgeq "≙"> <!-- ESTIMATES --> --- NEW FILE: iso-lat2.ent --- <!-- iso-lat2.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY abreve "ă"> <!-- LATIN SMALL LETTER A WITH BREVE --> <!ENTITY Abreve "Ă"> <!-- LATIN CAPITAL LETTER A WITH BREVE --> <!ENTITY amacr "ā"> <!-- LATIN SMALL LETTER A WITH MACRON --> <!ENTITY Amacr "Ā"> <!-- LATIN CAPITAL LETTER A WITH MACRON --> <!ENTITY aogon "ą"> <!-- LATIN SMALL LETTER A WITH OGONEK --> <!ENTITY Aogon "Ą"> <!-- LATIN CAPITAL LETTER A WITH OGONEK --> <!ENTITY cacute "ć"> <!-- LATIN SMALL LETTER C WITH ACUTE --> <!ENTITY Cacute "Ć"> <!-- LATIN CAPITAL LETTER C WITH ACUTE --> <!ENTITY ccaron "č"> <!-- LATIN SMALL LETTER C WITH CARON --> <!ENTITY Ccaron "Č"> <!-- LATIN CAPITAL LETTER C WITH CARON --> <!ENTITY ccirc "ĉ"> <!-- LATIN SMALL LETTER C WITH CIRCUMFLEX --> <!ENTITY Ccirc "Ĉ"> <!-- LATIN CAPITAL LETTER C WITH CIRCUMFLEX --> <!ENTITY cdot "ċ"> <!-- DOT OPERATOR --> <!ENTITY Cdot "Ċ"> <!-- LATIN CAPITAL LETTER C WITH DOT ABOVE --> <!ENTITY dcaron "ď"> <!-- LATIN SMALL LETTER D WITH CARON --> <!ENTITY Dcaron "Ď"> <!-- LATIN CAPITAL LETTER D WITH CARON --> <!ENTITY dstrok "đ"> <!-- LATIN SMALL LETTER D WITH STROKE --> <!ENTITY Dstrok "Đ"> <!-- LATIN CAPITAL LETTER D WITH STROKE --> <!ENTITY ecaron "ě"> <!-- LATIN SMALL LETTER E WITH CARON --> <!ENTITY Ecaron "Ě"> <!-- LATIN CAPITAL LETTER E WITH CARON --> <!ENTITY edot "ė"> <!-- LATIN SMALL LETTER E WITH DOT ABOVE --> <!ENTITY Edot "Ė"> <!-- LATIN CAPITAL LETTER E WITH DOT ABOVE --> <!ENTITY emacr "ē"> <!-- LATIN SMALL LETTER E WITH MACRON --> <!ENTITY Emacr "Ē"> <!-- LATIN CAPITAL LETTER E WITH MACRON --> <!ENTITY eogon "ę"> <!-- LATIN SMALL LETTER E WITH OGONEK --> <!ENTITY Eogon "Ę"> <!-- LATIN CAPITAL LETTER E WITH OGONEK --> <!ENTITY gacute "ǵ"> <!-- LATIN SMALL LETTER G WITH ACUTE --> <!ENTITY gbreve "ğ"> <!-- LATIN SMALL LETTER G WITH BREVE --> <!ENTITY Gbreve "Ğ"> <!-- LATIN CAPITAL LETTER G WITH BREVE --> <!ENTITY Gcedil "Ģ"> <!-- LATIN CAPITAL LETTER G WITH CEDILLA --> <!ENTITY gcirc "ĝ"> <!-- LATIN SMALL LETTER G WITH CIRCUMFLEX --> <!ENTITY Gcirc "Ĝ"> <!-- LATIN CAPITAL LETTER G WITH CIRCUMFLEX --> <!ENTITY gdot "ġ"> <!-- LATIN SMALL LETTER G WITH DOT ABOVE --> <!ENTITY Gdot "Ġ"> <!-- LATIN CAPITAL LETTER G WITH DOT ABOVE --> <!ENTITY hcirc "ĥ"> <!-- LATIN SMALL LETTER H WITH CIRCUMFLEX --> <!ENTITY Hcirc "Ĥ"> <!-- LATIN CAPITAL LETTER H WITH CIRCUMFLEX --> <!ENTITY hstrok "ħ"> <!-- LATIN SMALL LETTER H WITH STROKE --> <!ENTITY Hstrok "Ħ"> <!-- LATIN CAPITAL LETTER H WITH STROKE --> <!ENTITY Idot "İ"> <!-- LATIN CAPITAL LETTER I WITH DOT ABOVE --> <!ENTITY Imacr "Ī"> <!-- LATIN CAPITAL LETTER I WITH MACRON --> <!ENTITY imacr "ī"> <!-- LATIN SMALL LETTER I WITH MACRON --> <!ENTITY ijlig "ij"> <!-- LATIN SMALL LIGATURE IJ --> <!ENTITY IJlig "IJ"> <!-- LATIN CAPITAL LIGATURE IJ --> <!ENTITY inodot "ı"> <!-- LATIN SMALL LETTER DOTLESS I --> <!ENTITY iogon "į"> <!-- LATIN SMALL LETTER I WITH OGONEK --> <!ENTITY Iogon "Į"> <!-- LATIN CAPITAL LETTER I WITH OGONEK --> <!ENTITY itilde "ĩ"> <!-- LATIN SMALL LETTER I WITH TILDE --> <!ENTITY Itilde "Ĩ"> <!-- LATIN CAPITAL LETTER I WITH TILDE --> <!ENTITY jcirc "ĵ"> <!-- LATIN SMALL LETTER J WITH CIRCUMFLEX --> <!ENTITY Jcirc "Ĵ"> <!-- LATIN CAPITAL LETTER J WITH CIRCUMFLEX --> <!ENTITY kcedil "ķ"> <!-- LATIN SMALL LETTER K WITH CEDILLA --> <!ENTITY Kcedil "Ķ"> <!-- LATIN CAPITAL LETTER K WITH CEDILLA --> <!ENTITY kgreen "ĸ"> <!-- LATIN SMALL LETTER KRA --> <!ENTITY lacute "ĺ"> <!-- LATIN SMALL LETTER L WITH ACUTE --> <!ENTITY Lacute "Ĺ"> <!-- LATIN CAPITAL LETTER L WITH ACUTE --> <!ENTITY lcaron "ľ"> <!-- LATIN SMALL LETTER L WITH CARON --> <!ENTITY Lcaron "Ľ"> <!-- LATIN CAPITAL LETTER L WITH CARON --> <!ENTITY lcedil "ļ"> <!-- LATIN SMALL LETTER L WITH CEDILLA --> <!ENTITY Lcedil "Ļ"> <!-- LATIN CAPITAL LETTER L WITH CEDILLA --> <!ENTITY lmidot "ŀ"> <!-- LATIN SMALL LETTER L WITH MIDDLE DOT --> <!ENTITY Lmidot "Ŀ"> <!-- LATIN CAPITAL LETTER L WITH MIDDLE DOT --> <!ENTITY lstrok "ł"> <!-- LATIN SMALL LETTER L WITH STROKE --> <!ENTITY Lstrok "Ł"> <!-- LATIN CAPITAL LETTER L WITH STROKE --> <!ENTITY nacute "ń"> <!-- LATIN SMALL LETTER N WITH ACUTE --> <!ENTITY Nacute "Ń"> <!-- LATIN CAPITAL LETTER N WITH ACUTE --> <!ENTITY eng "ŋ"> <!-- LATIN SMALL LETTER ENG --> <!ENTITY ENG "Ŋ"> <!-- LATIN CAPITAL LETTER ENG --> <!ENTITY napos "ʼn"> <!-- LATIN SMALL LETTER N PRECEDED BY APOSTROPHE --> <!ENTITY ncaron "ň"> <!-- LATIN SMALL LETTER N WITH CARON --> <!ENTITY Ncaron "Ň"> <!-- LATIN CAPITAL LETTER N WITH CARON --> <!ENTITY ncedil "ņ"> <!-- LATIN SMALL LETTER N WITH CEDILLA --> <!ENTITY Ncedil "Ņ"> <!-- LATIN CAPITAL LETTER N WITH CEDILLA --> <!ENTITY odblac "ő"> <!-- LATIN SMALL LETTER O WITH DOUBLE ACUTE --> <!ENTITY Odblac "Ő"> <!-- LATIN CAPITAL LETTER O WITH DOUBLE ACUTE --> <!ENTITY Omacr "Ō"> <!-- LATIN CAPITAL LETTER O WITH MACRON --> <!ENTITY omacr "ō"> <!-- LATIN SMALL LETTER O WITH MACRON --> <!ENTITY oelig "œ"> <!-- LATIN SMALL LIGATURE OE --> <!ENTITY OElig "Œ"> <!-- LATIN CAPITAL LIGATURE OE --> <!ENTITY racute "ŕ"> <!-- LATIN SMALL LETTER R WITH ACUTE --> <!ENTITY Racute "Ŕ"> <!-- LATIN CAPITAL LETTER R WITH ACUTE --> <!ENTITY rcaron "ř"> <!-- LATIN SMALL LETTER R WITH CARON --> <!ENTITY Rcaron "Ř"> <!-- LATIN CAPITAL LETTER R WITH CARON --> <!ENTITY rcedil "ŗ"> <!-- LATIN SMALL LETTER R WITH CEDILLA --> <!ENTITY Rcedil "Ŗ"> <!-- LATIN CAPITAL LETTER R WITH CEDILLA --> <!ENTITY sacute "ś"> <!-- LATIN SMALL LETTER S WITH ACUTE --> <!ENTITY Sacute "Ś"> <!-- LATIN CAPITAL LETTER S WITH ACUTE --> <!ENTITY scaron "š"> <!-- LATIN SMALL LETTER S WITH CARON --> <!ENTITY Scaron "Š"> <!-- LATIN CAPITAL LETTER S WITH CARON --> <!ENTITY scedil "ş"> <!-- LATIN SMALL LETTER S WITH CEDILLA --> <!ENTITY Scedil "Ş"> <!-- LATIN CAPITAL LETTER S WITH CEDILLA --> <!ENTITY scirc "ŝ"> <!-- LATIN SMALL LETTER S WITH CIRCUMFLEX --> <!ENTITY Scirc "Ŝ"> <!-- LATIN CAPITAL LETTER S WITH CIRCUMFLEX --> <!ENTITY tcaron "ť"> <!-- LATIN SMALL LETTER T WITH CARON --> <!ENTITY Tcaron "Ť"> <!-- LATIN CAPITAL LETTER T WITH CARON --> <!ENTITY tcedil "ţ"> <!-- LATIN SMALL LETTER T WITH CEDILLA --> <!ENTITY Tcedil "Ţ"> <!-- LATIN CAPITAL LETTER T WITH CEDILLA --> <!ENTITY tstrok "ŧ"> <!-- LATIN SMALL LETTER T WITH STROKE --> <!ENTITY Tstrok "Ŧ"> <!-- LATIN CAPITAL LETTER T WITH STROKE --> <!ENTITY ubreve "ŭ"> <!-- LATIN SMALL LETTER U WITH BREVE --> <!ENTITY Ubreve "Ŭ"> <!-- LATIN CAPITAL LETTER U WITH BREVE --> <!ENTITY udblac "ű"> <!-- LATIN SMALL LETTER U WITH DOUBLE ACUTE --> <!ENTITY Udblac "Ű"> <!-- LATIN CAPITAL LETTER U WITH DOUBLE ACUTE --> <!ENTITY umacr "ū"> <!-- LATIN SMALL LETTER U WITH MACRON --> <!ENTITY Umacr "Ū"> <!-- LATIN CAPITAL LETTER U WITH MACRON --> <!ENTITY uogon "ų"> <!-- LATIN SMALL LETTER U WITH OGONEK --> <!ENTITY Uogon "Ų"> <!-- LATIN CAPITAL LETTER U WITH OGONEK --> <!ENTITY uring "ů"> <!-- LATIN SMALL LETTER U WITH RING ABOVE --> <!ENTITY Uring "Ů"> <!-- LATIN CAPITAL LETTER U WITH RING ABOVE --> <!ENTITY utilde "ũ"> <!-- LATIN SMALL LETTER U WITH TILDE --> <!ENTITY Utilde "Ũ"> <!-- LATIN CAPITAL LETTER U WITH TILDE --> <!ENTITY wcirc "ŵ"> <!-- LATIN SMALL LETTER W WITH CIRCUMFLEX --> <!ENTITY Wcirc "Ŵ"> <!-- LATIN CAPITAL LETTER W WITH CIRCUMFLEX --> <!ENTITY ycirc "ŷ"> <!-- LATIN SMALL LETTER Y WITH CIRCUMFLEX --> <!ENTITY Ycirc "Ŷ"> <!-- LATIN CAPITAL LETTER Y WITH CIRCUMFLEX --> <!ENTITY Yuml "Ÿ"> <!-- LATIN CAPITAL LETTER Y WITH DIAERESIS --> <!ENTITY zacute "ź"> <!-- LATIN SMALL LETTER Z WITH ACUTE --> <!ENTITY Zacute "Ź"> <!-- LATIN CAPITAL LETTER Z WITH ACUTE --> <!ENTITY zcaron "ž"> <!-- LATIN SMALL LETTER Z WITH CARON --> <!ENTITY Zcaron "Ž"> <!-- LATIN CAPITAL LETTER Z WITH CARON --> <!ENTITY zdot "ż"> <!-- LATIN SMALL LETTER Z WITH DOT ABOVE --> <!ENTITY Zdot "Ż"> <!-- LATIN CAPITAL LETTER Z WITH DOT ABOVE --> --- NEW FILE: iso-pub.ent --- <!-- iso-pub.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY emsp " "> <!-- EM SPACE --> <!ENTITY ensp " "> <!-- EN SPACE --> <!ENTITY emsp13 " "> <!-- THREE-PER-EM SPACE --> <!ENTITY emsp14 " "> <!-- FOUR-PER-EM SPACE --> <!ENTITY numsp " "> <!-- FIGURE SPACE --> <!ENTITY puncsp " "> <!-- PUNCTUATION SPACE --> <!ENTITY thinsp " "> <!-- THIN SPACE --> <!ENTITY hairsp " "> <!-- HAIR SPACE --> <!ENTITY mdash "—"> <!-- EM DASH --> <!ENTITY ndash "–"> <!-- EN DASH --> <!ENTITY dash "‐"> <!-- HYPHEN --> <!ENTITY blank "␣"> <!-- OPEN BOX --> <!ENTITY hellip "…"> <!-- HORIZONTAL ELLIPSIS --> <!ENTITY nldr "‥"> <!-- TWO DOT LEADER --> <!ENTITY frac13 "⅓"> <!-- VULGAR FRACTION ONE THIRD --> <!ENTITY frac23 "⅔"> <!-- VULGAR FRACTION TWO THIRDS --> <!ENTITY frac15 "⅕"> <!-- VULGAR FRACTION ONE FIFTH --> <!ENTITY frac25 "⅖"> <!-- VULGAR FRACTION TWO FIFTHS --> <!ENTITY frac35 "⅗"> <!-- VULGAR FRACTION THREE FIFTHS --> <!ENTITY frac45 "⅘"> <!-- VULGAR FRACTION FOUR FIFTHS --> <!ENTITY frac16 "⅙"> <!-- VULGAR FRACTION ONE SIXTH --> <!ENTITY frac56 "⅚"> <!-- VULGAR FRACTION FIVE SIXTHS --> <!ENTITY incare "℅"> <!-- CARE OF --> <!ENTITY block "█"> <!-- FULL BLOCK --> <!ENTITY uhblk "▀"> <!-- UPPER HALF BLOCK --> <!ENTITY lhblk "▄"> <!-- LOWER HALF BLOCK --> <!ENTITY blk14 "░"> <!-- LIGHT SHADE --> <!ENTITY blk12 "▒"> <!-- MEDIUM SHADE --> <!ENTITY blk34 "▓"> <!-- DARK SHADE --> <!ENTITY marker "▮"> <!-- BLACK VERTICAL RECTANGLE --> <!ENTITY cir "○"> <!-- WHITE CIRCLE --> <!ENTITY squ "□"> <!-- WHITE SQUARE --> <!ENTITY rect "▭"> <!-- WHITE RECTANGLE --> <!ENTITY utri "▵"> <!-- WHITE UP-POINTING TRIANGLE --> <!ENTITY dtri "▿"> <!-- WHITE DOWN-POINTING TRIANGLE --> <!ENTITY star "⋆"> <!-- STAR OPERATOR --> <!ENTITY bull "•"> <!-- BULLET --> <!ENTITY squf "▪"> <!-- --> <!ENTITY utrif "▴"> <!-- BLACK UP-POINTING TRIANGLE --> <!ENTITY dtrif "▾"> <!-- BLACK DOWN-POINTING TRIANGLE --> <!ENTITY ltrif "◂"> <!-- BLACK LEFT-POINTING TRIANGLE --> <!ENTITY rtrif "▸"> <!-- BLACK RIGHT-POINTING TRIANGLE --> <!ENTITY clubs "♣"> <!-- BLACK CLUB SUIT --> <!ENTITY diams "♦"> <!-- BLACK DIAMOND SUIT --> <!ENTITY hearts "♥"> <!-- BLACK HEART SUIT --> <!ENTITY spades "♠"> <!-- BLACK SPADE SUIT --> <!ENTITY malt "✠"> <!-- MALTESE CROSS --> <!ENTITY dagger "†"> <!-- DAGGER --> <!ENTITY Dagger "‡"> <!-- DOUBLE DAGGER --> <!ENTITY check "✓"> <!-- CHECK MARK --> <!ENTITY cross "✗"> <!-- BALLOT X --> <!ENTITY sharp "♯"> <!-- MUSIC SHARP SIGN --> <!ENTITY flat "♭"> <!-- MUSIC FLAT SIGN --> <!ENTITY male "♂"> <!-- MALE SIGN --> <!ENTITY female "♀"> <!-- --> <!ENTITY phone "☎"> <!-- TELEPHONE SIGN --> <!ENTITY telrec "⌕"> <!-- TELEPHONE RECORDER --> <!ENTITY copysr "℗"> <!-- SOUND RECORDING COPYRIGHT --> <!ENTITY caret "⁁"> <!-- CARET --> <!ENTITY lsquor "‚"> <!-- SINGLE LOW-9 QUOTATION MARK --> <!ENTITY ldquor "„"> <!-- DOUBLE LOW-9 QUOTATION MARK --> <!ENTITY fflig "ff"> <!-- --> <!ENTITY filig "fi"> <!-- --> <!-- fjlig Unknown unicode character --> <!ENTITY ffilig "ffi"> <!-- --> <!ENTITY ffllig "ffl"> <!-- --> <!ENTITY fllig "fl"> <!-- --> <!ENTITY mldr "…"> <!-- HORIZONTAL ELLIPSIS --> <!ENTITY rdquor "“"> <!-- --> <!ENTITY rsquor "‘"> <!-- --> <!ENTITY vellip "⋮"> <!-- --> <!ENTITY hybull "⁃"> <!-- HYPHEN BULLET --> <!ENTITY loz "◊"> <!-- LOZENGE --> <!ENTITY lozf "✦"> <!-- --> <!ENTITY ltri "◃"> <!-- WHITE LEFT-POINTING TRIANGLE --> <!ENTITY rtri "▹"> <!-- WHITE RIGHT-POINTING TRIANGLE --> <!ENTITY starf "★"> <!-- BLACK STAR --> <!ENTITY natur "♮"> <!-- MUSIC NATURAL SIGN --> <!ENTITY rx "℞"> <!-- PRESCRIPTION TAKE --> <!ENTITY sext "✶"> <!-- SIX POINTED BLACK STAR --> <!ENTITY target "⌖"> <!-- POSITION INDICATOR --> <!ENTITY dlcrop "⌍"> <!-- BOTTOM LEFT CROP --> <!ENTITY drcrop "⌌"> <!-- BOTTOM RIGHT CROP --> <!ENTITY ulcrop "⌏"> <!-- TOP LEFT CROP --> <!ENTITY urcrop "⌎"> <!-- TOP RIGHT CROP --> --- NEW FILE: iso-box.ent --- <!-- iso-box.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY boxh "─"> <!-- BOX DRAWINGS LIGHT HORIZONTAL --> <!ENTITY boxv "│"> <!-- BOX DRAWINGS LIGHT VERTICAL --> <!ENTITY boxur "└"> <!-- BOX DRAWINGS LIGHT UP AND RIGHT --> <!ENTITY boxul "┘"> <!-- BOX DRAWINGS LIGHT UP AND LEFT --> <!ENTITY boxdl "┐"> <!-- BOX DRAWINGS LIGHT DOWN AND LEFT --> <!ENTITY boxdr "┌"> <!-- BOX DRAWINGS LIGHT DOWN AND RIGHT --> <!ENTITY boxvr "├"> <!-- BOX DRAWINGS LIGHT VERTICAL AND RIGHT --> <!ENTITY boxhu "┴"> <!-- BOX DRAWINGS LIGHT UP AND HORIZONTAL --> <!ENTITY boxvl "┤"> <!-- BOX DRAWINGS LIGHT VERTICAL AND LEFT --> <!ENTITY boxhd "┬"> <!-- BOX DRAWINGS LIGHT DOWN AND HORIZONTAL --> <!ENTITY boxvh "┼"> <!-- BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL --> <!ENTITY boxvR "╞"> <!-- BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE --> <!ENTITY boxhU "╧"> <!-- BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE --> <!ENTITY boxvL "╡"> <!-- BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE --> <!ENTITY boxhD "╤"> <!-- BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE --> <!ENTITY boxvH "╪"> <!-- BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE --> <!ENTITY boxH "═"> <!-- BOX DRAWINGS DOUBLE HORIZONTAL --> <!ENTITY boxV "║"> <!-- BOX DRAWINGS DOUBLE VERTICAL --> <!ENTITY boxUR "╘"> <!-- BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE --> <!ENTITY boxUL "╛"> <!-- BOX DRAWINGS UP SINGLE AND LEFT DOUBLE --> <!ENTITY boxDL "╕"> <!-- BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE --> <!ENTITY boxDR "╒"> <!-- BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE --> <!ENTITY boxVR "╟"> <!-- BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE --> <!ENTITY boxHU "╨"> <!-- BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE --> <!ENTITY boxVL "╢"> <!-- BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE --> <!ENTITY boxHD "╥"> <!-- BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE --> <!ENTITY boxVH "╫"> <!-- BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE --> <!ENTITY boxVr "╠"> <!-- BOX DRAWINGS DOUBLE VERTICAL AND RIGHT --> <!ENTITY boxHu "╩"> <!-- BOX DRAWINGS DOUBLE UP AND HORIZONTAL --> <!ENTITY boxVl "╣"> <!-- BOX DRAWINGS DOUBLE VERTICAL AND LEFT --> <!ENTITY boxHd "╦"> <!-- BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL --> <!ENTITY boxVh "╬"> <!-- BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL --> <!ENTITY boxuR "╙"> <!-- BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE --> <!ENTITY boxUl "╜"> <!-- BOX DRAWINGS UP DOUBLE AND LEFT SINGLE --> <!ENTITY boxdL "╖"> <!-- BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE --> <!ENTITY boxDr "╓"> <!-- BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE --> <!ENTITY boxUr "╚"> <!-- BOX DRAWINGS DOUBLE UP AND RIGHT --> <!ENTITY boxuL "╝"> <!-- BOX DRAWINGS DOUBLE UP AND LEFT --> <!ENTITY boxDl "╗"> <!-- BOX DRAWINGS DOUBLE DOWN AND LEFT --> <!ENTITY boxdR "╔"> <!-- BOX DRAWINGS DOUBLE DOWN AND RIGHT --> --- NEW FILE: iso-num.ent --- <!-- iso-num.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY half "½"> <!-- VULGAR FRACTION ONE HALF --> <!ENTITY frac12 "½"> <!-- VULGAR FRACTION ONE HALF --> <!ENTITY frac14 "¼"> <!-- VULGAR FRACTION ONE QUARTER --> <!ENTITY frac34 "¾"> <!-- VULGAR FRACTION THREE QUARTERS --> <!ENTITY frac18 "⅛"> <!-- --> <!ENTITY frac38 "⅜"> <!-- --> <!ENTITY frac58 "⅝"> <!-- --> <!ENTITY frac78 "⅞"> <!-- --> <!ENTITY sup1 "¹"> <!-- SUPERSCRIPT ONE --> <!ENTITY sup2 "²"> <!-- SUPERSCRIPT TWO --> <!ENTITY sup3 "³"> <!-- SUPERSCRIPT THREE --> <!ENTITY plus "+"> <!-- PLUS SIGN --> <!ENTITY plusmn "±"> <!-- PLUS-MINUS SIGN --> <!ENTITY lt "&#60;"> <!-- LESS-THAN SIGN --> <!ENTITY equals "="> <!-- EQUALS SIGN --> <!ENTITY gt ">"> <!-- GREATER-THAN SIGN --> <!ENTITY divide "÷"> <!-- DIVISION SIGN --> <!ENTITY times "×"> <!-- MULTIPLICATION SIGN --> <!ENTITY curren "¤"> <!-- CURRENCY SIGN --> <!ENTITY pound "£"> <!-- POUND SIGN --> <!ENTITY dollar "$"> <!-- DOLLAR SIGN --> <!ENTITY cent "¢"> <!-- CENT SIGN --> <!ENTITY yen "¥"> <!-- YEN SIGN --> <!ENTITY num "#"> <!-- NUMBER SIGN --> <!ENTITY percnt "%"> <!-- PERCENT SIGN --> <!ENTITY amp "&#38;"> <!-- AMPERSAND --> <!ENTITY ast "*"> <!-- ASTERISK OPERATOR --> <!ENTITY commat "@"> <!-- COMMERCIAL AT --> <!ENTITY lsqb "["> <!-- LEFT SQUARE BRACKET --> <!ENTITY bsol "\"> <!-- REVERSE SOLIDUS --> <!ENTITY rsqb "]"> <!-- RIGHT SQUARE BRACKET --> <!ENTITY lcub "{"> <!-- LEFT CURLY BRACKET --> <!ENTITY horbar "―"> <!-- HORIZONTAL BAR --> <!ENTITY verbar "|"> <!-- VERTICAL LINE --> <!ENTITY rcub "}"> <!-- RIGHT CURLY BRACKET --> <!ENTITY micro "µ"> <!-- MICRO SIGN --> <!ENTITY ohm "Ω"> <!-- OHM SIGN --> <!ENTITY deg "°"> <!-- DEGREE SIGN --> <!ENTITY ordm "º"> <!-- MASCULINE ORDINAL INDICATOR --> <!ENTITY ordf "ª"> <!-- FEMININE ORDINAL INDICATOR --> <!ENTITY sect "§"> <!-- SECTION SIGN --> <!ENTITY para "¶"> <!-- PILCROW SIGN --> <!ENTITY middot "·"> <!-- MIDDLE DOT --> <!ENTITY larr "←"> <!-- LEFTWARDS DOUBLE ARROW --> <!ENTITY rarr "→"> <!-- RIGHTWARDS DOUBLE ARROW --> <!ENTITY uarr "↑"> <!-- UPWARDS ARROW --> <!ENTITY darr "↓"> <!-- DOWNWARDS ARROW --> <!ENTITY copy "©"> <!-- COPYRIGHT SIGN --> <!ENTITY reg "®"> <!-- REG TRADE MARK SIGN --> <!ENTITY trade "™"> <!-- TRADE MARK SIGN --> <!ENTITY brvbar "¦"> <!-- BROKEN BAR --> <!ENTITY not "¬"> <!-- NOT SIGN --> <!ENTITY sung "♩"> <!-- --> <!ENTITY excl "!"> <!-- EXCLAMATION MARK --> <!ENTITY iexcl "¡"> <!-- INVERTED EXCLAMATION MARK --> <!ENTITY quot """> <!-- QUOTATION MARK --> <!ENTITY apos "'"> <!-- APOSTROPHE --> <!ENTITY lpar "("> <!-- LEFT PARENTHESIS --> <!ENTITY rpar ")"> <!-- RIGHT PARENTHESIS --> <!ENTITY comma ","> <!-- COMMA --> <!ENTITY lowbar "_"> <!-- LOW LINE --> <!ENTITY hyphen "-"> <!-- HYPHEN-MINUS --> <!ENTITY period "."> <!-- FULL STOP --> <!ENTITY sol "/"> <!-- SOLIDUS --> <!ENTITY colon ":"> <!-- COLON --> <!ENTITY semi ";"> <!-- SEMICOLON --> <!ENTITY quest "?"> <!-- QUESTION MARK --> <!ENTITY iquest "¿"> <!-- INVERTED QUESTION MARK --> <!ENTITY laquo "«"> <!-- LEFT-POINTING DOUBLE ANGLE QUOTATION MARK --> <!ENTITY raquo "»"> <!-- RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK --> <!ENTITY lsquo "‘"> <!-- --> <!ENTITY rsquo "’"> <!-- RIGHT SINGLE QUOTATION MARK --> <!ENTITY ldquo "“"> <!-- --> <!ENTITY rdquo "”"> <!-- RIGHT DOUBLE QUOTATION MARK --> <!ENTITY nbsp " "> <!-- NO-BREAK SPACE --> <!ENTITY shy "­"> <!-- SOFT HYPHEN --> --- NEW FILE: iso-grk4.ent --- <!-- iso-grk4.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY b.alpha "α"> <!-- --> <!ENTITY b.beta "β"> <!-- GREEK SMALL LETTER BETA --> <!ENTITY b.gamma "γ"> <!-- GREEK SMALL LETTER GAMMA --> <!ENTITY b.Gamma "Γ"> <!-- GREEK CAPITAL LETTER GAMMA --> <!ENTITY b.gammad "Ϝ"> <!-- GREEK LETTER DIGAMMA --> <!ENTITY b.delta "δ"> <!-- GREEK SMALL LETTER DELTA --> <!ENTITY b.Delta "Δ"> <!-- GREEK CAPITAL LETTER DELTA --> <!ENTITY b.epsi "ε"> <!-- --> <!ENTITY b.epsiv "ε"> <!-- --> <!ENTITY b.epsis "ε"> <!-- --> <!ENTITY b.zeta "ζ"> <!-- GREEK SMALL LETTER ZETA --> <!ENTITY b.eta "η"> <!-- GREEK SMALL LETTER ETA --> <!ENTITY b.thetas "θ"> <!-- --> <!ENTITY b.Theta "Θ"> <!-- GREEK CAPITAL LETTER THETA --> <!ENTITY b.thetav "ϑ"> <!-- --> <!ENTITY b.iota "ι"> <!-- GREEK SMALL LETTER IOTA --> <!ENTITY b.kappa "κ"> <!-- GREEK SMALL LETTER KAPPA --> <!ENTITY b.kappav "ϰ"> <!-- GREEK KAPPA SYMBOL --> <!ENTITY b.lambda "λ"> <!-- GREEK SMALL LETTER LAMDA --> <!ENTITY b.Lambda "Λ"> <!-- GREEK CAPITAL LETTER LAMDA --> <!ENTITY b.mu "μ"> <!-- GREEK SMALL LETTER MU --> <!ENTITY b.nu "ν"> <!-- GREEK SMALL LETTER NU --> <!ENTITY b.xi "ξ"> <!-- GREEK SMALL LETTER XI --> <!ENTITY b.Xi "Ξ"> <!-- GREEK CAPITAL LETTER XI --> <!ENTITY b.pi "π"> <!-- GREEK SMALL LETTER PI --> <!ENTITY b.Pi "Π"> <!-- GREEK CAPITAL LETTER PI --> <!ENTITY b.piv "ϖ"> <!-- GREEK PI SYMBOL --> <!ENTITY b.rho "ρ"> <!-- GREEK SMALL LETTER RHO --> <!ENTITY b.rhov "ϱ"> <!-- GREEK RHO SYMBOL --> <!ENTITY b.sigma "σ"> <!-- GREEK SMALL LETTER SIGMA --> <!ENTITY b.Sigma "Σ"> <!-- GREEK CAPITAL LETTER SIGMA --> <!ENTITY b.sigmav "ς"> <!-- --> <!ENTITY b.tau "τ"> <!-- GREEK SMALL LETTER TAU --> <!ENTITY b.upsi "υ"> <!-- GREEK SMALL LETTER UPSILON --> <!ENTITY b.Upsi "ϒ"> <!-- --> <!ENTITY b.phis "φ"> <!-- GREEK SMALL LETTER PHI --> <!ENTITY b.Phi "Φ"> <!-- GREEK CAPITAL LETTER PHI --> <!ENTITY b.phiv "ϕ"> <!-- GREEK PHI SYMBOL --> <!ENTITY b.chi "χ"> <!-- GREEK SMALL LETTER CHI --> <!ENTITY b.psi "ψ"> <!-- GREEK SMALL LETTER PSI --> <!ENTITY b.Psi "Ψ"> <!-- GREEK CAPITAL LETTER PSI --> <!ENTITY b.omega "ω"> <!-- GREEK SMALL LETTER OMEGA --> <!ENTITY b.Omega "Ω"> <!-- GREEK CAPITAL LETTER OMEGA --> --- NEW FILE: iso-amsr.ent --- <!-- iso-amsr.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz. With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!ENTITY ape "≊"> <!-- --> <!ENTITY asymp "≍"> <!-- EQUIVALENT TO --> <!ENTITY bcong "≌"> <!-- ALL EQUAL TO --> <!ENTITY bepsi "∍"> <!-- SMALL CONTAINS AS MEMBER --> <!ENTITY bowtie "⋈"> <!-- --> <!ENTITY bsim "∽"> <!-- --> <!ENTITY bsime "⋍"> <!-- --> <!ENTITY bump "≎"> <!-- --> <!ENTITY bumpe "≏"> <!-- --> <!ENTITY cire "≗"> <!-- --> <!ENTITY colone "≔"> <!-- --> <!ENTITY cuepr "⋞"> <!-- --> <!ENTITY cuesc "⋟"> <!-- --> <!ENTITY cupre "≼"> <!-- --> <!ENTITY dashv "⊣"> <!-- --> <!ENTITY ecir "≖"> <!-- --> <!ENTITY ecolon "≕"> <!-- --> <!ENTITY eDot "≑"> <!-- --> <!ENTITY esdot "≐"> <!-- --> <!ENTITY efDot "≒"> <!-- --> <!ENTITY egs "⋝"> <!-- --> <!ENTITY els "⋜"> <!-- --> <!ENTITY erDot "≓"> <!-- --> <!ENTITY fork "⋔"> <!-- --> <!ENTITY frown "⌢"> <!-- --> <!ENTITY gap "≳"> <!-- GREATER-THAN OR EQUIVALENT TO --> <!ENTITY gsdot "⋗"> <!-- --> <!ENTITY gE "≧"> <!-- --> <!ENTITY gel "⋛"> <!-- --> <!ENTITY gEl "⋛"> <!-- --> <!ENTITY ges "≥"> <!-- GREATER-THAN OR EQUAL TO --> <!ENTITY Gg "⋙"> <!-- VERY MUCH GREATER-THAN --> <!ENTITY gl "≷"> <!-- --> <!ENTITY gsim "≳"> <!-- GREATER-THAN OR EQUIVALENT TO --> <!ENTITY Gt "≫"> <!-- MUCH GREATER-THAN --> <!ENTITY lap "≲"> <!-- LESS-THAN OR EQUIVALENT TO --> <!ENTITY ldot "⋖"> <!-- --> <!ENTITY lE "≦"> <!-- --> <!ENTITY lEg "⋚"> <!-- --> <!ENTITY leg "⋚"> <!-- --> <!ENTITY les "≤"> <!-- LESS-THAN OR EQUAL TO --> <!ENTITY lg "≶"> <!-- LESS-THAN OR GREATER-THAN --> <!ENTITY Ll "⋘"> <!-- --> <!ENTITY lsim "≲"> <!-- LESS-THAN OR EQUIVALENT TO --> <!ENTITY Lt "≪"> <!-- MUCH LESS-THAN --> <!ENTITY ltrie "⊴"> <!-- --> <!ENTITY mid "∣"> <!-- --> <!ENTITY models "⊧"> <!-- MODELS --> <!ENTITY pr "≺"> <!-- --> <!ENTITY prap "≾"> <!-- --> <!ENTITY pre "≼"> <!-- --> <!ENTITY prsim "≾"> <!-- --> <!ENTITY rtrie "⊵"> <!-- --> <!ENTITY samalg "∐"> <!-- --> <!ENTITY sc "≻"> <!-- --> <!ENTITY scap "≿"> <!-- --> <!ENTITY sccue "≽"> <!-- --> <!ENTITY sce "≽"> <!-- --> <!ENTITY scsim "≿"> <!-- --> <!ENTITY sfrown "⌢"> <!-- FROWN --> <!ENTITY smid ""> <!-- --> <!ENTITY smile "⌣"> <!-- --> <!ENTITY spar "∥"> <!-- PARALLEL TO --> <!ENTITY sqsub "⊏"> <!-- --> <!ENTITY sqsube "⊑"> <!-- --> <!ENTITY sqsup "⊐"> <!-- --> <!ENTITY sqsupe "⊒"> <!-- --> <!ENTITY ssmile "⌣"> <!-- SMILE --> <!ENTITY Sub "⋐"> <!-- --> <!ENTITY subE "⊆"> <!-- --> <!ENTITY Sup "⋑"> <!-- --> <!ENTITY supE "⊇"> <!-- --> <!ENTITY thkap "≈"> <!-- ALMOST EQUAL TO --> <!ENTITY thksim "∼"> <!-- TILDE OPERATOR --> <!ENTITY trie "≜"> <!-- --> <!ENTITY twixt "≬"> <!-- BETWEEN --> <!ENTITY vdash "⊢"> <!-- --> <!ENTITY Vdash "⊩"> <!-- --> <!ENTITY vDash "⊨"> <!-- --> <!ENTITY veebar "⊻"> <!-- --> <!ENTITY vltri "⊲"> <!-- --> <!ENTITY vprop "∝"> <!-- --> <!ENTITY vrtri "⊳"> <!-- --> <!ENTITY Vvdash "⊪"> <!-- --> --- NEW FILE: iso-grk2.ent --- <!-- iso-grk2.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY aacgr "ά"> <!-- GREEK SMALL LETTER ALPHA WITH TONOS --> <!ENTITY Aacgr "Ά"> <!-- GREEK CAPITAL LETTER ALPHA WITH TONOS --> <!ENTITY eacgr "έ"> <!-- GREEK SMALL LETTER EPSILON WITH TONOS --> <!ENTITY Eacgr "Έ"> <!-- GREEK CAPITAL LETTER EPSILON WITH TONOS --> <!ENTITY eeacgr "ή"> <!-- GREEK SMALL LETTER ETA WITH TONOS --> <!ENTITY EEacgr "Ή"> <!-- GREEK CAPITAL LETTER ETA WITH TONOS --> <!ENTITY idigr "ϊ"> <!-- GREEK SMALL LETTER IOTA WITH DIALYTIKA --> <!ENTITY Idigr "Ϊ"> <!-- GREEK CAPITAL LETTER IOTA WITH DIALYTIKA --> <!ENTITY iacgr "ί"> <!-- GREEK SMALL LETTER IOTA WITH TONOS --> <!ENTITY Iacgr "Ί"> <!-- GREEK CAPITAL LETTER IOTA WITH TONOS --> <!ENTITY idiagr "ΐ"> <!-- GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS --> <!ENTITY oacgr "ό"> <!-- GREEK SMALL LETTER OMICRON WITH TONOS --> <!ENTITY Oacgr "Ό"> <!-- GREEK CAPITAL LETTER OMICRON WITH TONOS --> <!ENTITY udigr "ϋ"> <!-- GREEK SMALL LETTER UPSILON WITH DIALYTIKA --> <!ENTITY Udigr "Ϋ"> <!-- GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA --> <!ENTITY uacgr "ύ"> <!-- GREEK SMALL LETTER UPSILON WITH TONOS --> <!ENTITY Uacgr "Ύ"> <!-- GREEK CAPITAL LETTER UPSILON WITH TONOS --> <!ENTITY udiagr "ΰ"> <!-- GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS --> <!ENTITY ohacgr "ώ"> <!-- GREEK SMALL LETTER OMEGA WITH TONOS --> <!ENTITY OHacgr "Ώ"> <!-- GREEK CAPITAL LETTER OMEGA WITH TONOS --> --- NEW FILE: iso-amsa.ent --- <!-- iso-amsa.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!ENTITY cularr "↶"> <!-- ANTICLOCKWISE TOP SEMICIRCLE ARROW --> <!ENTITY curarr "↷"> <!-- CLOCKWISE TOP SEMICIRCLE ARROW --> <!ENTITY dArr "⇓"> <!-- DOWNWARDS DOUBLE ARROW --> <!ENTITY darr2 "⇊"> <!-- DOWNWARDS PAIRED ARROWS --> <!ENTITY dharl "⇃"> <!-- DOWNWARDS HARPOON WITH BARB LEFTWARDS --> <!ENTITY dharr "⇂"> <!-- DOWNWARDS HARPOON WITH BARB RIGHTWARDS --> <!ENTITY lAarr "⇚"> <!-- LEFTWARDS TRIPLE ARROW --> <!ENTITY Larr "↞"> <!-- LEFTWARDS TWO HEADED ARROW --> <!ENTITY larr2 "⇇"> <!-- LEFTWARDS PAIRED ARROWS --> <!ENTITY larrhk "↩"> <!-- LEFTWARDS ARROW WITH HOOK --> <!ENTITY larrlp "↫"> <!-- LEFTWARDS ARROW WITH LOOP --> <!ENTITY larrtl "↢"> <!-- LEFTWARDS ARROW WITH TAIL --> <!ENTITY lhard "↽"> <!-- LEFTWARDS HARPOON WITH BARB DOWNWARDS --> <!ENTITY lharu "↼"> <!-- LEFTWARDS HARPOON WITH BARB UPWARDS --> <!ENTITY hArr "⇔"> <!-- --> <!ENTITY harr "↔"> <!-- LEFT RIGHT ARROW --> <!ENTITY lrarr2 "⇆"> <!-- LEFTWARDS ARROW OVER RIGHTWARDS ARROW --> <!ENTITY rlarr2 "⇄"> <!-- RIGHTWARDS ARROW OVER LEFTWARDS ARROW --> <!ENTITY harrw "↭"> <!-- LEFT RIGHT WAVE ARROW --> <!ENTITY rlhar2 "⇌"> <!-- RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON --> <!ENTITY lrhar2 "⇋"> <!-- LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON --> <!ENTITY lsh "↰"> <!-- UPWARDS ARROW WITH TIP LEFTWARDS --> <!ENTITY map "↦"> <!-- RIGHTWARDS ARROW FROM BAR --> <!ENTITY mumap "⊸"> <!-- MULTIMAP --> <!ENTITY nearr "↗"> <!-- NORTH EAST ARROW --> <!ENTITY nlArr "⇍"> <!-- LEFTWARDS DOUBLE ARROW WITH STROKE --> <!ENTITY nlarr "↚"> <!-- LEFTWARDS ARROW WITH STROKE --> <!ENTITY nhArr "⇎"> <!-- LEFT RIGHT DOUBLE ARROW WITH STROKE --> <!ENTITY nharr "↮"> <!-- LEFT RIGHT ARROW WITH STROKE --> <!ENTITY nrarr "↛"> <!-- RIGHTWARDS ARROW WITH STROKE --> <!ENTITY nrArr "⇏"> <!-- RIGHTWARDS DOUBLE ARROW WITH STROKE --> <!ENTITY nwarr "↖"> <!-- NORTH WEST ARROW --> <!ENTITY olarr "↺"> <!-- ANTICLOCKWISE OPEN CIRCLE ARROW --> <!ENTITY orarr "↻"> <!-- CLOCKWISE OPEN CIRCLE ARROW --> <!ENTITY rAarr "⇛"> <!-- RIGHTWARDS TRIPLE ARROW --> <!ENTITY Rarr "↠"> <!-- RIGHTWARDS TWO HEADED ARROW --> <!ENTITY rarr2 "⇉"> <!-- RIGHTWARDS PAIRED ARROWS --> <!ENTITY rarrhk "↪"> <!-- RIGHTWARDS ARROW WITH HOOK --> <!ENTITY rarrlp "↬"> <!-- RIGHTWARDS ARROW WITH LOOP --> <!ENTITY rarrtl "↣"> <!-- RIGHTWARDS ARROW WITH TAIL --> <!ENTITY rarrw "↝"> <!-- RIGHTWARDS SQUIGGLE ARROW --> <!ENTITY rhard "⇁"> <!-- RIGHTWARDS HARPOON WITH BARB DOWNWARDS --> <!ENTITY rharu "⇀"> <!-- RIGHTWARDS HARPOON WITH BARB UPWARDS --> <!ENTITY rsh "↱"> <!-- UPWARDS ARROW WITH TIP RIGHTWARDS --> <!ENTITY drarr "↘"> <!-- SOUTH EAST ARROW --> <!ENTITY dlarr "↙"> <!-- SOUTH WEST ARROW --> <!ENTITY uArr "⇑"> <!-- UPWARDS DOUBLE ARROW --> <!ENTITY uarr2 "⇈"> <!-- UPWARDS PAIRED ARROWS --> <!ENTITY vArr "⇕"> <!-- UP DOWN DOUBLE ARROW --> <!ENTITY varr "↕"> <!-- UP DOWN ARROW --> <!ENTITY uharl "↿"> <!-- UPWARDS HARPOON WITH BARB LEFTWARDS --> <!ENTITY uharr "↾"> <!-- UPWARDS HARPOON WITH BARB RIGHTWARDS --> <!ENTITY xlArr "⇐"> <!-- LEFTWARDS DOUBLE ARROW --> <!ENTITY xhArr "↔"> <!-- LEFT RIGHT ARROW --> <!ENTITY xharr "↔"> <!-- LEFT RIGHT ARROW --> <!ENTITY xrArr "⇒"> <!-- RIGHTWARDS DOUBLE ARROW --> --- NEW FILE: iso-dia.ent --- <!-- iso-dia.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY acute "´"> <!-- ACUTE ACCENT --> <!ENTITY breve "˘"> <!-- BREVE --> <!ENTITY caron "ˇ"> <!-- CARON --> <!ENTITY cedil "¸"> <!-- CEDILLA --> <!ENTITY circ "^"> <!-- RING OPERATOR --> <!ENTITY dblac "˝"> <!-- DOUBLE ACUTE ACCENT --> <!ENTITY die "¨"> <!-- --> <!ENTITY dot "˙"> <!-- DOT ABOVE --> <!ENTITY grave "`"> <!-- GRAVE ACCENT --> <!ENTITY macr "¯"> <!-- MACRON --> <!ENTITY ogon "˛"> <!-- OGONEK --> <!ENTITY ring "˚"> <!-- RING ABOVE --> <!ENTITY tilde "˜"> <!-- TILDE --> <!ENTITY uml "¨"> <!-- --> --- NEW FILE: iso-lat1.ent --- <!-- iso-lat1.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz --> <!ENTITY aacute "á"> <!-- LATIN SMALL LETTER A WITH ACUTE --> <!ENTITY Aacute "Á"> <!-- LATIN CAPITAL LETTER A WITH ACUTE --> <!ENTITY acirc "â"> <!-- LATIN SMALL LETTER A WITH CIRCUMFLEX --> <!ENTITY Acirc "Â"> <!-- LATIN CAPITAL LETTER A WITH CIRCUMFLEX --> <!ENTITY agrave "à"> <!-- LATIN SMALL LETTER A WITH GRAVE --> <!ENTITY Agrave "À"> <!-- LATIN CAPITAL LETTER A WITH GRAVE --> <!ENTITY aring "å"> <!-- LATIN SMALL LETTER A WITH RING ABOVE --> <!ENTITY Aring "Å"> <!-- LATIN CAPITAL LETTER A WITH RING ABOVE --> <!ENTITY atilde "ã"> <!-- LATIN SMALL LETTER A WITH TILDE --> <!ENTITY Atilde "Ã"> <!-- LATIN CAPITAL LETTER A WITH TILDE --> <!ENTITY auml "ä"> <!-- LATIN SMALL LETTER A WITH DIAERESIS --> <!ENTITY Auml "Ä"> <!-- LATIN CAPITAL LETTER A WITH DIAERESIS --> <!ENTITY aelig "æ"> <!-- LATIN SMALL LETTER AE --> <!ENTITY AElig "Æ"> <!-- LATIN CAPITAL LETTER AE --> <!ENTITY ccedil "ç"> <!-- LATIN SMALL LETTER C WITH CEDILLA --> <!ENTITY Ccedil "Ç"> <!-- LATIN CAPITAL LETTER C WITH CEDILLA --> <!ENTITY eth "ð"> <!-- LATIN SMALL LETTER ETH --> <!ENTITY ETH "Ð"> <!-- LATIN CAPITAL LETTER ETH --> <!ENTITY eacute "é"> <!-- LATIN SMALL LETTER E WITH ACUTE --> <!ENTITY Eacute "É"> <!-- LATIN CAPITAL LETTER E WITH ACUTE --> <!ENTITY ecirc "ê"> <!-- LATIN SMALL LETTER E WITH CIRCUMFLEX --> <!ENTITY Ecirc "Ê"> <!-- LATIN CAPITAL LETTER E WITH CIRCUMFLEX --> <!ENTITY egrave "è"> <!-- LATIN SMALL LETTER E WITH GRAVE --> <!ENTITY Egrave "È"> <!-- LATIN CAPITAL LETTER E WITH GRAVE --> <!ENTITY euml "ë"> <!-- LATIN SMALL LETTER E WITH DIAERESIS --> <!ENTITY Euml "Ë"> <!-- LATIN CAPITAL LETTER E WITH DIAERESIS --> <!ENTITY iacute "í"> <!-- LATIN SMALL LETTER I WITH ACUTE --> <!ENTITY Iacute "Í"> <!-- LATIN CAPITAL LETTER I WITH ACUTE --> <!ENTITY icirc "î"> <!-- LATIN SMALL LETTER I WITH CIRCUMFLEX --> <!ENTITY Icirc "Î"> <!-- LATIN CAPITAL LETTER I WITH CIRCUMFLEX --> <!ENTITY igrave "ì"> <!-- LATIN SMALL LETTER I WITH GRAVE --> <!ENTITY Igrave "Ì"> <!-- LATIN CAPITAL LETTER I WITH GRAVE --> <!ENTITY iuml "ï"> <!-- LATIN SMALL LETTER I WITH DIAERESIS --> <!ENTITY Iuml "Ï"> <!-- LATIN CAPITAL LETTER I WITH DIAERESIS --> <!ENTITY ntilde "ñ"> <!-- LATIN SMALL LETTER N WITH TILDE --> <!ENTITY Ntilde "Ñ"> <!-- LATIN CAPITAL LETTER N WITH TILDE --> <!ENTITY oacute "ó"> <!-- LATIN SMALL LETTER O WITH ACUTE --> <!ENTITY Oacute "Ó"> <!-- LATIN CAPITAL LETTER O WITH ACUTE --> <!ENTITY ocirc "ô"> <!-- LATIN SMALL LETTER O WITH CIRCUMFLEX --> <!ENTITY Ocirc "Ô"> <!-- LATIN CAPITAL LETTER O WITH CIRCUMFLEX --> <!ENTITY ograve "ò"> <!-- LATIN SMALL LETTER O WITH GRAVE --> <!ENTITY Ograve "Ò"> <!-- LATIN CAPITAL LETTER O WITH GRAVE --> <!ENTITY oslash "ø"> <!-- CIRCLED DIVISION SLASH --> <!ENTITY Oslash "Ø"> <!-- LATIN CAPITAL LETTER O WITH STROKE --> <!ENTITY otilde "õ"> <!-- LATIN SMALL LETTER O WITH TILDE --> <!ENTITY Otilde "Õ"> <!-- LATIN CAPITAL LETTER O WITH TILDE --> <!ENTITY ouml "ö"> <!-- LATIN SMALL LETTER O WITH DIAERESIS --> <!ENTITY Ouml "Ö"> <!-- LATIN CAPITAL LETTER O WITH DIAERESIS --> <!ENTITY szlig "ß"> <!-- LATIN SMALL LETTER SHARP S --> <!ENTITY thorn "þ"> <!-- LATIN SMALL LETTER THORN --> <!ENTITY THORN "Þ"> <!-- LATIN CAPITAL LETTER THORN --> <!ENTITY uacute "ú"> <!-- LATIN SMALL LETTER U WITH ACUTE --> <!ENTITY Uacute "Ú"> <!-- LATIN CAPITAL LETTER U WITH ACUTE --> <!ENTITY ucirc "û"> <!-- LATIN SMALL LETTER U WITH CIRCUMFLEX --> <!ENTITY Ucirc "Û"> <!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX --> <!ENTITY ugrave "ù"> <!-- LATIN SMALL LETTER U WITH GRAVE --> <!ENTITY Ugrave "Ù"> <!-- LATIN CAPITAL LETTER U WITH GRAVE --> <!ENTITY uuml "ü"> <!-- LATIN SMALL LETTER U WITH DIAERESIS --> <!ENTITY Uuml "Ü"> <!-- LATIN CAPITAL LETTER U WITH DIAERESIS --> <!ENTITY yacute "ý"> <!-- LATIN SMALL LETTER Y WITH ACUTE --> <!ENTITY Yacute "Ý"> <!-- LATIN CAPITAL LETTER Y WITH ACUTE --> <!ENTITY yuml "ÿ"> <!-- LATIN SMALL LETTER Y WITH DIAERESIS --> --- NEW FILE: iso-amso.ent --- <!-- iso-amso.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> <!-- Derived from the corresponding ISO 8879 standard entity set and the Unicode character mappings provided by Sebastian Rahtz With additional derivations from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT --> <!... [truncated message content] |
From: Michael D. <mik...@us...> - 2004-10-21 12:52:25
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-xsl Added Files: README VERSION Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: README --- README for the DocBook Stylesheets These are XSL stylesheets for the DocBook XML DTD. (They would also work for the DocBook DTD, modulo certain namecase problems and the fact that there aren't (yet) any XSL implementations that work with SGML source documents.) As of version 1.0, most of the elements in DocBook are handled in some way or another, usually reasonably, but there's still lots of work to be done. For more information, see http://docbook.sourceforge.net/ Manifest -------- README this file TODO planned features not yet implemented (may be incomplete :-) BUGS known problems (may also be incomplete :-) VERSION the current version number (note that this is an XSL stylesheet, included by both fo/docbook.xsl and html/docbook.xsl) WhatsNew changes since the last public release (for a complete list of changes, see the ChangeLog file(s)) common/ contains code common to both stylesheets doc/ documentation docsrc/ documentation sources extensions/ Java extensions fo/ stylesheets that produce XSL FO html/ stylesheets that produce HTML htmlhelp/ stylesheets that produce HTML Help images/ images javahelp/ stylesheets that produce Java Help lib/ contains schema-independent functions template/ contains templates for building stylesheet customization layers xhtml/ stylesheets that produce XHTML Changes ------- See the ChangeLog in each directory for additional information about the specific changes. See WhatsNew for changes since the last release. Installation ------------ Unpack the distribution somewhere. Use --- Process your DocBook documents with one of the following stylesheets using your favorite XSLT processor: xhtml/docbook.xsl - for XHTML html/docbook.xsl - for HTML (as a single file) html/chunk.xsl - for HTML (multiple files) fo/docbook.xsl - for XSL FO htmlhelp/htmlhelp.xsl - for HTML Help javahelp/javahelp.xsl - for JavaHelp Copyright --------- Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question. Any stylesheet derived from this Software that is publically distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist. Warranty -------- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Contacting the Author --------------------- These stylesheets are maintained by Norman Walsh, <nd...@nw...>. --- NEW FILE: VERSION --- <?xml version='1.0'?> <!-- -*- nxml -*- --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/" xmlns:sf="http://sourceforge.net/" exclude-result-prefixes="fm sf" version='1.0'> <xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/> <xsl:param name="sf-relid" select="0"/> <xsl:strip-space elements="fm:*"/> <fm:project> <fm:Project>DocBook</fm:Project> <fm:Branch>XSL Stylesheets</fm:Branch> <fm:Version>1.66.1</fm:Version> <!-- <fm:License>MIT/X Consortium License</fm:License> --> <fm:Release-Focus> <!-- initial freshmeat announcement --> <!-- documentation --> <!-- code cleanup --> <!-- Minor feature enhancements --> major feature enhancements <!-- Minor bugfixes --> <!-- major bugfixes --> <!-- minor security fixes --> <!-- major security fixes --> </fm:Release-Focus> <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL> <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.tar.gz?download</fm:Gzipped-Tar-URL> <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.zip?download</fm:Zipped-Tar-URL> <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL> <fm:CVS-URL>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/xsl/</fm:CVS-URL> <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL> <fm:Changes>Lots of new features and bug fixes. See RELEASE-NOTES. </fm:Changes> </fm:project> <xsl:template match="/" priority="-100"> <xsl:if test="$sf-relid = 0"> <xsl:message terminate="yes"> <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> </xsl:message> </xsl:if> <xsl:apply-templates select="//fm:project"/> </xsl:template> <xsl:template match="fm:project"> <xsl:text> </xsl:text> <xsl:apply-templates/> <xsl:text> </xsl:text> <xsl:apply-templates select="fm:Changes" mode="text"/> </xsl:template> <xsl:template match="fm:Changes"/> <xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL"> <xsl:value-of select="local-name(.)"/> <xsl:text>: </xsl:text> <xsl:value-of select="substring-before(., '{VERSION}')"/> <xsl:value-of select="$VERSION"/> <xsl:value-of select="substring-after(., '{VERSION}')"/> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="fm:Changelog-URL"> <xsl:value-of select="local-name(.)"/> <xsl:text>: </xsl:text> <xsl:value-of select="substring-before(., '{SFRELID}')"/> <xsl:value-of select="$sf-relid"/> <xsl:value-of select="substring-after(., '{SFRELID}')"/> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="fm:*"> <xsl:value-of select="local-name(.)"/> <xsl:text>: </xsl:text> <xsl:value-of select="normalize-space(.)"/> <xsl:text> </xsl:text> </xsl:template> </xsl:stylesheet> |
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-xsl/html Added Files: ChangeLog param.ent param.xml titlepage.templates.xml admon.xsl autoidx-ng.xsl autoidx.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl changebars.xsl chunk-code.xsl chunk-common.xsl chunk.xsl chunker.xsl chunkfast.xsl chunktoc.xsl component.xsl division.xsl docbook.xsl docbookng.xsl ebnf.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl html-rtf.xsl html.xsl htmltbl.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl maketoc.xsl manifest.xsl math.xsl oldchunker.xsl onechunk.xsl param.xsl pi.xsl profile-chunk-code.xsl profile-chunk.xsl profile-docbook.xsl profile-onechunk.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl task.xsl titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl param.xweb Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: chunktoc.xsl --- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" version="1.0" exclude-result-prefixes="doc"> <!-- ******************************************************************** $Id: chunktoc.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:import href="docbook.xsl"/> <xsl:import href="chunk-common.xsl"/> <xsl:template name="chunk"> <xsl:param name="node" select="."/> <!-- returns 1 if $node is a chunk --> <xsl:variable name="id"> <xsl:call-template name="object.id"> <xsl:with-param name="object" select="$node"/> </xsl:call-template> </xsl:variable> <xsl:variable name="chunks" select="document($chunk.toc,$node)"/> <xsl:choose> <xsl:when test="$chunks//tocentry[@linkend=$id]">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:template> <!-- ==================================================================== --> <xsl:template match="*" mode="chunk-filename"> <!-- returns the filename of a chunk --> <xsl:variable name="id"> <xsl:call-template name="object.id"/> </xsl:variable> <xsl:variable name="chunks" select="document($chunk.toc,.)"/> <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/> <xsl:variable name="filename"> <xsl:call-template name="dbhtml-filename"> <xsl:with-param name="pis" select="$chunk/processing-instruction('dbhtml')"/> </xsl:call-template> </xsl:variable> <xsl:choose> <xsl:when test="$chunk"> <xsl:value-of select="$filename"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="parent::*" mode="chunk-filename"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- ==================================================================== --> <xsl:template name="process-chunk"> <xsl:variable name="id"> <xsl:call-template name="object.id"/> </xsl:variable> <xsl:variable name="chunks" select="document($chunk.toc,.)"/> <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/> <xsl:variable name="prev-id" select="($chunk/preceding::tocentry |$chunk/ancestor::tocentry)[last()]/@linkend"/> <xsl:variable name="next-id" select="($chunk/following::tocentry |$chunk/child::tocentry)[1]/@linkend"/> <xsl:variable name="prev" select="key('id',$prev-id)"/> <xsl:variable name="next" select="key('id',$next-id)"/> <xsl:variable name="ischunk"> <xsl:call-template name="chunk"/> </xsl:variable> <xsl:variable name="chunkfn"> <xsl:if test="$ischunk='1'"> <xsl:apply-templates mode="chunk-filename" select="."/> </xsl:if> </xsl:variable> <xsl:variable name="filename"> <xsl:call-template name="make-relative-filename"> <xsl:with-param name="base.dir" select="$base.dir"/> <xsl:with-param name="base.name" select="$chunkfn"/> </xsl:call-template> </xsl:variable> <xsl:choose> <xsl:when test="$ischunk = 0"> <xsl:apply-imports/> </xsl:when> <xsl:otherwise> <xsl:call-template name="write.chunk"> <xsl:with-param name="filename" select="$filename"/> <xsl:with-param name="content"> <xsl:call-template name="chunk-element-content"> <xsl:with-param name="prev" select="$prev"/> <xsl:with-param name="next" select="$next"/> </xsl:call-template> </xsl:with-param> <xsl:with-param name="quiet" select="$chunk.quietly"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- ==================================================================== --> <xsl:template match="set"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="book"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="book/appendix"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="book/glossary"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="book/bibliography"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="dedication" mode="dedication"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="preface|chapter"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="part|reference"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="refentry"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="colophon"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="article"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="article/appendix"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="article/glossary"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="article/bibliography"> <xsl:call-template name="process-chunk"/> </xsl:template> <xsl:template match="sect1|sect2|sect3|sect4|sect5|section"> <xsl:variable name="ischunk"> <xsl:call-template name="chunk"/> </xsl:variable> <xsl:choose> <xsl:when test="$ischunk != 0"> <xsl:call-template name="process-chunk"/> </xsl:when> <xsl:otherwise> <xsl:apply-imports/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="setindex |book/index |article/index"> <!-- some implementations use completely empty index tags to indicate --> <!-- where an automatically generated index should be inserted. so --> <!-- if the index is completely empty, skip it. --> <xsl:if test="count(*)>0 or $generate.index != '0'"> <xsl:call-template name="process-chunk"/> </xsl:if> </xsl:template> <!-- ==================================================================== --> <xsl:template match="/"> <xsl:choose> <xsl:when test="$chunk.toc = ''"> <xsl:message terminate="yes"> <xsl:text>The chunk.toc file is not set.</xsl:text> </xsl:message> </xsl:when> <xsl:when test="$rootid != ''"> <xsl:choose> <xsl:when test="count(key('id',$rootid)) = 0"> <xsl:message terminate="yes"> <xsl:text>ID '</xsl:text> <xsl:value-of select="$rootid"/> <xsl:text>' not found in document.</xsl:text> </xsl:message> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="key('id',$rootid)"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="/" mode="process.root"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*" mode="process.root"> <xsl:apply-templates select="."/> </xsl:template> </xsl:stylesheet> --- NEW FILE: refentry.xsl --- <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- ******************************************************************** $Id: refentry.xsl,v 1.1 2004/10/21 12:52:07 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:template match="reference"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:call-template name="anchor"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:call-template name="reference.titlepage"/> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="not(partintro) and contains($toc.params, 'toc')"> <xsl:call-template name="division.toc"/> </xsl:if> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="reference" mode="division.number"> <xsl:number from="book" count="reference" format="I."/> </xsl:template> <xsl:template match="reference/docinfo"></xsl:template> <xsl:template match="reference/referenceinfo"></xsl:template> <xsl:template match="reference/title"></xsl:template> <xsl:template match="reference/subtitle"></xsl:template> <!-- ==================================================================== --> <xsl:template name="refentry.title"> <xsl:param name="node" select="."/> <xsl:variable name="refmeta" select="$node//refmeta"/> <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> <xsl:variable name="refnamediv" select="$node//refnamediv"/> <xsl:variable name="refname" select="$refnamediv//refname"/> <xsl:variable name="title"> <xsl:choose> <xsl:when test="$refentrytitle"> <xsl:apply-templates select="$refentrytitle[1]" mode="title"/> </xsl:when> <xsl:when test="$refname"> <xsl:apply-templates select="$refname[1]" mode="title"/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:variable> <h1 class="title"> <xsl:copy-of select="$title"/> </h1> </xsl:template> <xsl:template match="refentry"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:if test="$refentry.separator != 0 and preceding-sibling::refentry"> <div class="refentry.separator"> <hr/> </div> </xsl:if> <xsl:call-template name="anchor"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:call-template name="refentry.titlepage"/> <xsl:apply-templates/> <xsl:call-template name="process.footnotes"/> </div> </xsl:template> <xsl:template match="refentry/docinfo|refentry/refentryinfo"></xsl:template> <xsl:template match="refentrytitle|refname" mode="title"> <xsl:apply-templates/> </xsl:template> <xsl:template match="refmeta"> </xsl:template> <xsl:template match="manvolnum"> <xsl:if test="$refentry.xref.manvolnum != 0"> <xsl:text>(</xsl:text> <xsl:apply-templates/> <xsl:text>)</xsl:text> </xsl:if> </xsl:template> <xsl:template match="refmiscinfo"> </xsl:template> <xsl:template match="refentrytitle"> <xsl:call-template name="inline.charseq"/> </xsl:template> <xsl:template match="refnamediv"> <div class="{name(.)}"> <xsl:call-template name="anchor"/> <xsl:choose> <xsl:when test="$refentry.generate.name != 0"> <h2> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'RefName'"/> </xsl:call-template> </h2> </xsl:when> <xsl:when test="$refentry.generate.title != 0"> <h2> <xsl:choose> <xsl:when test="../refmeta/refentrytitle"> <xsl:apply-templates select="../refmeta/refentrytitle"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="refname[1]"/> </xsl:otherwise> </xsl:choose> </h2> </xsl:when> </xsl:choose> <p> <xsl:apply-templates/> </p> </div> </xsl:template> <xsl:template match="refname"> <xsl:apply-templates/> <xsl:if test="following-sibling::refname"> <xsl:text>, </xsl:text> </xsl:if> </xsl:template> <xsl:template match="refpurpose"> <xsl:text> </xsl:text> <xsl:call-template name="dingbat"> <xsl:with-param name="dingbat">em-dash</xsl:with-param> </xsl:call-template> <xsl:text> </xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="refdescriptor"> <!-- todo: finish this --> </xsl:template> <xsl:template match="refclass"> <p> <b> <xsl:if test="@role"> <xsl:value-of select="@role"/> <xsl:text>: </xsl:text> </xsl:if> <xsl:apply-templates/> </b> </p> </xsl:template> <xsl:template match="refsynopsisdiv"> <div class="{name(.)}"> <xsl:call-template name="anchor"/> <h2> <xsl:choose> <xsl:when test="refsynopsisdiv/title|title"> <xsl:apply-templates select="(refsynopsisdiv/title|title)[1]" mode="titlepage.mode"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'RefSynopsisDiv'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </h2> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="refsynopsisdivinfo"></xsl:template> <xsl:template match="refsynopsisdiv/title"> </xsl:template> <xsl:template match="refsynopsisdiv/title" mode="titlepage.mode"> <xsl:apply-templates/> </xsl:template> <xsl:template match="refsection|refsect1|refsect2|refsect3"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:call-template name="anchor"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="refsection/title"> <!-- the ID is output in the block.object call for refsect1 --> <xsl:variable name="level" select="count(ancestor-or-self::refsection)"/> <xsl:variable name="hlevel"> <xsl:choose> <xsl:when test="$level > 5">6</xsl:when> <xsl:otherwise> <xsl:value-of select="$level+1"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:element name="h{$hlevel}"> <xsl:apply-templates/> </xsl:element> </xsl:template> <xsl:template match="refsect1/title"> <!-- the ID is output in the block.object call for refsect1 --> <h2> <xsl:apply-templates/> </h2> </xsl:template> <xsl:template match="refsect2/title"> <!-- the ID is output in the block.object call for refsect2 --> <h3> <xsl:apply-templates/> </h3> </xsl:template> <xsl:template match="refsect3/title"> <!-- the ID is output in the block.object call for refsect3 --> <h4> <xsl:apply-templates/> </h4> </xsl:template> <xsl:template match="refsect1info"></xsl:template> <xsl:template match="refsect2info"></xsl:template> <xsl:template match="refsect3info"></xsl:template> <!-- ==================================================================== --> </xsl:stylesheet> --- NEW FILE: formal.xsl --- <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- ******************************************************************** $Id: formal.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <xsl:template name="formal.object"> <xsl:param name="placement" select="'before'"/> <xsl:param name="class" select="local-name(.)"/> <div class="{$class}"> <xsl:call-template name="anchor"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:choose> <xsl:when test="$placement = 'before'"> <xsl:call-template name="formal.object.heading"/> <xsl:apply-templates/> <!-- HACK: This doesn't belong inside formal.object; it should be done by --> <!-- the table template, but I want the link to be inside the DIV, so... --> <xsl:if test="local-name(.) = 'table'"> <xsl:call-template name="table.longdesc"/> </xsl:if> <xsl:if test="$spacing.paras != 0"><p/></xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="$spacing.paras != 0"><p/></xsl:if> <xsl:apply-templates/> <!-- HACK: This doesn't belong inside formal.object; it should be done by --> <!-- the table template, but I want the link to be inside the DIV, so... --> <xsl:if test="local-name(.) = 'table'"> <xsl:call-template name="table.longdesc"/> </xsl:if> <xsl:call-template name="formal.object.heading"/> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <xsl:template name="formal.object.heading"> <xsl:param name="object" select="."/> <xsl:param name="title"> <xsl:apply-templates select="$object" mode="object.title.markup"> <xsl:with-param name="allow-anchors" select="1"/> </xsl:apply-templates> </xsl:param> <p class="title"> <b> <xsl:copy-of select="$title"/> </b> </p> </xsl:template> <xsl:template name="informal.object"> <xsl:param name="class" select="local-name(.)"/> <div class="{$class}"> <xsl:if test="$spacing.paras != 0"><p/></xsl:if> <xsl:call-template name="anchor"/> <xsl:apply-templates/> <!-- HACK: This doesn't belong inside formal.object; it should be done by --> <!-- the table template, but I want the link to be inside the DIV, so... --> <xsl:if test="local-name(.) = 'informaltable'"> <xsl:call-template name="table.longdesc"/> </xsl:if> <xsl:if test="$spacing.paras != 0"><p/></xsl:if> </div> </xsl:template> <xsl:template name="semiformal.object"> <xsl:param name="placement" select="'before'"/> <xsl:param name="class" select="local-name(.)"/> <xsl:choose> <xsl:when test="title"> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> <xsl:with-param name="class" select="$class"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="informal.object"> <xsl:with-param name="class" select="$class"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="figure"> <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/> <xsl:variable name="placement"> <xsl:choose> <xsl:when test="contains($param.placement, ' ')"> <xsl:value-of select="substring-before($param.placement, ' ')"/> </xsl:when> <xsl:when test="$param.placement = ''">before</xsl:when> <xsl:otherwise> <xsl:value-of select="$param.placement"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@float and @float != 0"> <xsl:variable name="float"> <xsl:choose> <xsl:when test="@float = 1"> <xsl:value-of select="$default.float.class"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@float"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <div class="figure-float"> <xsl:if test="$float = 'left' or $float = 'right'"> <xsl:attribute name="style"> <xsl:text>float: </xsl:text> <xsl:value-of select="$float"/> <xsl:text>;</xsl:text> </xsl:attribute> </xsl:if> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> </xsl:call-template> </div> </xsl:when> <xsl:otherwise> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="table"> <xsl:choose> <xsl:when test="tgroup|mediaobject|graphic"> <xsl:call-template name="calsTable"/> </xsl:when> <xsl:otherwise> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:if test="not(@id)"> <xsl:attribute name="id"> <xsl:call-template name="object.id"/> </xsl:attribute> </xsl:if> <xsl:call-template name="htmlTable"/> </xsl:copy> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="calsTable"> <xsl:if test="tgroup/tbody/tr |tgroup/thead/tr |tgroup/tfoot/tr"> <xsl:message terminate="yes">Broken table: tr descendent of CALS Table.</xsl:message> </xsl:if> <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/> <xsl:variable name="placement"> <xsl:choose> <xsl:when test="contains($param.placement, ' ')"> <xsl:value-of select="substring-before($param.placement, ' ')"/> </xsl:when> <xsl:when test="$param.placement = ''">before</xsl:when> <xsl:otherwise> <xsl:value-of select="$param.placement"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> <xsl:with-param name="class"> <xsl:choose> <xsl:when test="@tabstyle"> <!-- hack, this will only ever occur on table, not example --> <xsl:value-of select="@tabstyle"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="local-name(.)"/> </xsl:otherwise> </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:template> <xsl:template name="htmlTable"> <xsl:if test="tgroup/tbody/row |tgroup/thead/row |tgroup/tfoot/row"> <xsl:message terminate="yes">Broken table: row descendent of HTML table.</xsl:message> </xsl:if> <xsl:apply-templates mode="htmlTable"/> </xsl:template> <xsl:template match="example"> <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/> <xsl:variable name="placement"> <xsl:choose> <xsl:when test="contains($param.placement, ' ')"> <xsl:value-of select="substring-before($param.placement, ' ')"/> </xsl:when> <xsl:when test="$param.placement = ''">before</xsl:when> <xsl:otherwise> <xsl:value-of select="$param.placement"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> <xsl:with-param name="class" select="local-name(.)"/> </xsl:call-template> </xsl:template> <xsl:template match="equation"> <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/> <xsl:variable name="placement"> <xsl:choose> <xsl:when test="contains($param.placement, ' ')"> <xsl:value-of select="substring-before($param.placement, ' ')"/> </xsl:when> <xsl:when test="$param.placement = ''">before</xsl:when> <xsl:otherwise> <xsl:value-of select="$param.placement"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="semiformal.object"> <xsl:with-param name="placement" select="$placement"/> </xsl:call-template> </xsl:template> <xsl:template match="figure/title"></xsl:template> <xsl:template match="figure/titleabbrev"></xsl:template> <xsl:template match="table/title"></xsl:template> <xsl:template match="table/titleabbrev"></xsl:template> <xsl:template match="table/textobject"></xsl:template> <xsl:template match="example/title"></xsl:template> <xsl:template match="example/titleabbrev"></xsl:template> <xsl:template match="equation/title"></xsl:template> <xsl:template match="equation/titleabbrev"></xsl:template> <xsl:template match="informalfigure"> <xsl:call-template name="informal.object"/> </xsl:template> <xsl:template match="informalexample"> <xsl:call-template name="informal.object"/> </xsl:template> <xsl:template match="informaltable"> <xsl:choose> <xsl:when test="tgroup|mediaobject|graphic"> <xsl:call-template name="informal.object"> <xsl:with-param name="class"> <xsl:choose> <xsl:when test="@tabstyle"> <xsl:value-of select="@tabstyle"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="local-name(.)"/> </xsl:otherwise> </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <table> <xsl:copy-of select="@*"/> <xsl:call-template name="htmlTable"/> </table> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="informaltable/textobject"></xsl:template> <xsl:template name="table.longdesc"> <!-- HACK: This doesn't belong inside formal.objectt; it should be done by --> <!-- the table template, but I want the link to be inside the DIV, so... --> <xsl:variable name="longdesc.uri"> <xsl:call-template name="longdesc.uri"> <xsl:with-param name="mediaobject" select="."/> </xsl:call-template> </xsl:variable> <xsl:variable name="irrelevant"> <!-- write.longdesc returns the filename ... --> <xsl:call-template name="write.longdesc"> <xsl:with-param name="mediaobject" select="."/> </xsl:call-template> </xsl:variable> <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0 and textobject[not(phrase)]"> <xsl:call-template name="longdesc.link"> <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/> </xsl:call-template> </xsl:if> </xsl:template> <xsl:template match="informalequation"> <xsl:call-template name="informal.object"/> </xsl:template> </xsl:stylesheet> --- NEW FILE: lists.xsl --- <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- ******************************************************************** $Id: lists.xsl,v 1.1 2004/10/21 12:52:07 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:template match="itemizedlist"> <div class="{name(.)}"> <xsl:call-template name="anchor"/> [...1048 lines suppressed...] </xsl:when> <xsl:otherwise> <xsl:call-template name="callout-bug"> <xsl:with-param name="conum"> <xsl:apply-templates select="$target" mode="conumber"/> </xsl:with-param> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:text>???</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- ==================================================================== --> </xsl:stylesheet> --- NEW FILE: oldchunker.xsl --- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" version="1.1" exclude-result-prefixes="doc" extension-element-prefixes="saxon xalanredirect lxslt"> <!-- ******************************************************************** $Id: oldchunker.xsl,v 1.1 2004/10/21 12:52:07 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <!-- This stylesheet works with Saxon and Xalan; for XT use xtchunker.xsl --> <!-- ==================================================================== --> <xsl:param name="default.encoding" select="'ISO-8859-1'" doc:type='string'/> <doc:param name="default.encoding" xmlns=""> <refpurpose>Encoding used in generated HTML pages</refpurpose> <refdescription> <para>This encoding is used in files generated by chunking stylesheet. Currently only Saxon is able to change output encoding. </para> </refdescription> </doc:param> <!-- ==================================================================== --> <xsl:param name="saxon.character.representation" select="'entity;decimal'" doc:type='string'/> <doc:param name="saxon.character.representation" xmlns=""> <refpurpose>Saxon character representation used in generated HTML pages</refpurpose> <refdescription> <para>This character representation is used in files generated by chunking stylesheet. If you want to suppress entity references for characters with direct representation in default.encoding, set this parameter to value <literal>native</literal>. </para> </refdescription> </doc:param> <!-- ==================================================================== --> <xsl:template name="make-relative-filename"> <xsl:param name="base.dir" select="'./'"/> <xsl:param name="base.name" select="''"/> <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> <xsl:choose> <xsl:when test="contains($vendor, 'SAXON')"> <!-- Saxon doesn't make the chunks relative --> <xsl:value-of select="concat($base.dir,$base.name)"/> </xsl:when> <xsl:when test="contains($vendor, 'Apache')"> <!-- Xalan doesn't make the chunks relative --> <xsl:value-of select="concat($base.dir,$base.name)"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="yes"> <xsl:text>Chunking isn't supported with </xsl:text> <xsl:value-of select="$vendor"/> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="write.chunk"> <xsl:param name="filename" select="''"/> <xsl:param name="method" select="'html'"/> <xsl:param name="encoding" select="$default.encoding"/> <xsl:param name="indent" select="'no'"/> <xsl:param name="content" select="''"/> <xsl:message> <xsl:text>Writing </xsl:text> <xsl:value-of select="$filename"/> <xsl:if test="name(.) != ''"> <xsl:text> for </xsl:text> <xsl:value-of select="name(.)"/> <xsl:if test="@id"> <xsl:text>(</xsl:text> <xsl:value-of select="@id"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:if> </xsl:message> <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> <xsl:choose> <xsl:when test="contains($vendor, 'SAXON 6.2')"> <!-- Saxon 6.2.x uses xsl:document --> <xsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" saxon:character-representation="{$saxon.character.representation}"> <xsl:copy-of select="$content"/> </xsl:document> </xsl:when> <xsl:when test="contains($vendor, 'SAXON')"> <!-- Saxon uses saxon:output --> <saxon:output file="{$filename}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" saxon:character-representation="{$saxon.character.representation}"> <xsl:copy-of select="$content"/> </saxon:output> </xsl:when> <xsl:when test="contains($vendor, 'Apache')"> <!-- Xalan uses xalanredirect --> <xalanredirect:write file="{$filename}"> <xsl:copy-of select="$content"/> </xalanredirect:write> </xsl:when> <xsl:otherwise> <!-- it doesn't matter since we won't be making chunks... --> <xsl:message terminate="yes"> <xsl:text>Can't make chunks with </xsl:text> <xsl:value-of select="$vendor"/> <xsl:text>'s processor.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="write.chunk.with.doctype"> <xsl:param name="filename" select="''"/> <xsl:param name="method" select="'html'"/> <xsl:param name="encoding" select="$default.encoding"/> <xsl:param name="indent" select="'no'"/> <xsl:param name="doctype-public" select="''"/> <xsl:param name="doctype-system" select="''"/> <xsl:param name="content" select="''"/> <xsl:message> <xsl:text>Writing </xsl:text> <xsl:value-of select="$filename"/> <xsl:if test="name(.) != ''"> <xsl:text> for </xsl:text> <xsl:value-of select="name(.)"/> </xsl:if> </xsl:message> <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> <xsl:choose> <xsl:when test="contains($vendor, 'SAXON 6.2')"> <!-- Saxon 6.2.x uses xsl:document --> <xsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" saxon:character-representation="{$saxon.character.representation}"> <xsl:copy-of select="$content"/> </xsl:document> </xsl:when> <xsl:when test="contains($vendor, 'SAXON')"> <!-- Saxon uses saxon:output --> <saxon:output file="{$filename}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" saxon:character-representation="{$saxon.character.representation}"> <xsl:copy-of select="$content"/> </saxon:output> </xsl:when> <xsl:when test="contains($vendor, 'Apache')"> <!-- Xalan uses xalanredirect --> <xalanredirect:write file="{$filename}"> <xsl:copy-of select="$content"/> </xalanredirect:write> </xsl:when> <xsl:otherwise> <!-- it doesn't matter since we won't be making chunks... --> <xsl:message terminate="yes"> <xsl:text>Can't make chunks with </xsl:text> <xsl:value-of select="$vendor"/> <xsl:text>'s processor.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> --- NEW FILE: sections.xsl --- <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- ******************************************************************** $Id: sections.xsl,v 1.1 2004/10/21 12:52:07 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:template match="section"> <xsl:variable name="depth" select="count(ancestor::section)+1"/> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:call-template name="section.titlepage"/> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $depth <= $generate.section.toc.level"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template name="section.title"> <!-- the context node should be the title of a section when called --> <xsl:variable name="section" select="(ancestor::section |ancestor::simplesect |ancestor::sect1 |ancestor::sect2 |ancestor::sect3 |ancestor::sect4 |ancestor::sect5)[last()]"/> <xsl:variable name="renderas"> <xsl:choose> <xsl:when test="$section/@renderas = 'sect1'">1</xsl:when> <xsl:when test="$section/@renderas = 'sect2'">2</xsl:when> <xsl:when test="$section/@renderas = 'sect3'">3</xsl:when> <xsl:when test="$section/@renderas = 'sect4'">4</xsl:when> <xsl:when test="$section/@renderas = 'sect5'">5</xsl:when> <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="level"> <xsl:choose> <xsl:when test="$renderas != ''"> <xsl:value-of select="$renderas"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="section.level"> <xsl:with-param name="node" select="$section"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="section.heading"> <xsl:with-param name="section" select=".."/> <xsl:with-param name="level" select="$level"/> <xsl:with-param name="title"> <xsl:apply-templates select="$section" mode="object.title.markup"> <xsl:with-param name="allow-anchors" select="1"/> </xsl:apply-templates> </xsl:with-param> </xsl:call-template> </xsl:template> <xsl:template match="section/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="sect1"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:choose> <xsl:when test="@renderas = 'sect2'"> <xsl:call-template name="sect2.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect3'"> <xsl:call-template name="sect3.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect4'"> <xsl:call-template name="sect4.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect5'"> <xsl:call-template name="sect5.titlepage"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="sect1.titlepage"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 1"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template match="sect1/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="sect2"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:choose> <xsl:when test="@renderas = 'sect1'"> <xsl:call-template name="sect1.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect3'"> <xsl:call-template name="sect3.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect4'"> <xsl:call-template name="sect4.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect5'"> <xsl:call-template name="sect5.titlepage"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="sect2.titlepage"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 2"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template match="sect2/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="sect3"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:choose> <xsl:when test="@renderas = 'sect1'"> <xsl:call-template name="sect1.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect2'"> <xsl:call-template name="sect2.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect4'"> <xsl:call-template name="sect4.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect5'"> <xsl:call-template name="sect5.titlepage"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="sect3.titlepage"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 3"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template match="sect3/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="sect4"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:choose> <xsl:when test="@renderas = 'sect1'"> <xsl:call-template name="sect1.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect2'"> <xsl:call-template name="sect2.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect3'"> <xsl:call-template name="sect3.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect5'"> <xsl:call-template name="sect5.titlepage"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="sect4.titlepage"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 4"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template match="sect4/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="sect5"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:choose> <xsl:when test="@renderas = 'sect1'"> <xsl:call-template name="sect1.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect2'"> <xsl:call-template name="sect2.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect3'"> <xsl:call-template name="sect3.titlepage"/> </xsl:when> <xsl:when test="@renderas = 'sect4'"> <xsl:call-template name="sect4.titlepage"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="sect5.titlepage"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="toc.params"> <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 5"> <xsl:call-template name="section.toc"> <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> <xsl:apply-templates/> <xsl:call-template name="process.chunk.footnotes"/> </div> </xsl:template> <xsl:template match="sect5/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="simplesect"> <div class="{name(.)}"> <xsl:call-template name="language.attribute"/> <xsl:call-template name="simplesect.titlepage"/> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="simplesect/title" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.title"/> </xsl:template> <xsl:template match="section/title"></xsl:template> <xsl:template match="section/titleabbrev"></xsl:template> <xsl:template match="section/subtitle"></xsl:template> <xsl:template match="sectioninfo"></xsl:template> <xsl:template match="sect1/title"></xsl:template> <xsl:template match="sect1/titleabbrev"></xsl:template> <xsl:template match="sect1/subtitle"></xsl:template> <xsl:template match="sect1info"></xsl:template> <xsl:template match="sect2/title"></xsl:template> <xsl:template match="sect2/subtitle"></xsl:template> <xsl:template match="sect2/titleabbrev"></xsl:template> <xsl:template match="sect2info"></xsl:template> <xsl:template match="sect3/title"></xsl:template> <xsl:template match="sect3/subtitle"></xsl:template> <xsl:template match="sect3/titleabbrev"></xsl:template> <xsl:template match="sect3info"></xsl:template> <xsl:template match="sect4/title"></xsl:template> <xsl:template match="sect4/subtitle"></xsl:template> <xsl:template match="sect4/titleabbrev"></xsl:template> <xsl:template match="sect4info"></xsl:template> <xsl:template match="sect5/title"></xsl:template> <xsl:template match="sect5/subtitle"></xsl:template> <xsl:template match="sect5/titleabbrev"></xsl:template> <xsl:template match="sect5info"></xsl:template> <xsl:template match="simplesect/title"></xsl:template> <xsl:template match="simplesect/subtitle"></xsl:template> <xsl:template match="simplesect/titleabbrev"></xsl:template> <!-- ==================================================================== --> <xsl:template name="section.heading"> <xsl:param name="section" select="."/> <xsl:param name="level" select="1"/> <xsl:param name="allow-anchors" select="1"/> <xsl:param name="title"/> <xsl:param name="class" select="'title'"/> <xsl:variable name="id"> <xsl:choose> <!-- if title is in an *info wrapper, get the grandparent --> <xsl:when test="contains(local-name(..), 'info')"> <xsl:call-template name="object.id"> <xsl:with-param name="object" select="../.."/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="object.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- HTML H level is one higher than section level --> <xsl:variable name="hlevel" select="$level + 1"/> <xsl:element name="h{$hlevel}"> <xsl:attribute name="class"><xsl:value-of select="$class"/></xsl:attribute> <xsl:if test="$css.decoration != '0'"> <xsl:if test="$hlevel<3"> <xsl:attribute name="style">clear: both</xsl:attribute> </xsl:if> </xsl:if> <xsl:if test="$allow-anchors != 0"> <xsl:call-template name="anchor"> <xsl:with-param name="node" select="$section"/> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> </xsl:if> <xsl:copy-of select="$title"/> </xsl:element> </xsl:template> <!-- ==================================================================== --> <xsl:template match="bridgehead"> <xsl:variable name="container" select="(ancestor::appendix |ancestor::article |ancestor::bibliography |ancestor::chapter |ancestor::glossary |ancestor::glossdiv |ancestor::index |ancestor::partintro |ancestor::preface |ancestor::refsect1 |ancestor::refsect2 |ancestor::refsect3 |ancestor::sect1 |ancestor::sect2 |ancestor::sect3 |ancestor::sect4 |ancestor::sect5 |ancestor::section |ancestor::setindex |ancestor::simplesect)[last()]"/> <xsl:variable name="clevel"> <xsl:choose> <xsl:when test="local-name($container) = 'appendix' or local-name($container) = 'chapter' or local-name($container) = 'article' or local-name($container) = 'bibliography' or local-name($container) = 'glossary' or local-name($container) = 'index' or local-name($container) = 'partintro' or local-name($container) = 'preface' or local-name($container) = 'setindex'">1</xsl:when> <xsl:when test="local-name($container) = 'glossdiv'"> <xsl:value-of select="count(ancestor::glossdiv)+1"/> </xsl:when> <xsl:when test="local-name($container) = 'sect1' or local-name($container) = 'sect2' or local-name($container) = 'sect3' or local-name($container) = 'sect4' or local-name($container) = 'sect5' or local-name($container) = 'refsect1' or local-name($container) = 'refsect2' or local-name($container) = 'refsect3' or local-name($container) = 'section' or local-name($container) = 'simplesect'"> <xsl:variable name="slevel"> <xsl:call-template name="section.level"> <xsl:with-param name="node" select="$container"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$slevel + 1"/> </xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:variable> <!-- HTML H level is one higher than section level --> <xsl:variable name="hlevel"> <xsl:choose> <xsl:when test="@renderas = 'sect1'">1</xsl:when> <xsl:when test="@renderas = 'sect2'">2</xsl:when> <xsl:when test="@renderas = 'sect3'">3</xsl:when> <xsl:when test="@renderas = 'sect4'">4</xsl:when> <xsl:when test="@renderas = 'sect5'">5</xsl:when> <xsl:otherwise> <xsl:value-of select="$clevel + 1"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:element name="h{$hlevel}"> <xsl:call-template name="anchor"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:apply-templates/> </xsl:element> </xsl:template> <xsl:template match="section/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template match="sect1/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template match="sect2/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template match="sect3/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template match="sect4/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template match="sect5/subtitle" mode="titlepage.mode" priority="2"> <xsl:call-template name="section.subtitle"/> </xsl:template> <xsl:template name="section.subtitle"> <!-- the context node should be the subtitle of a section when called --> <xsl:variable name="section" select="(ancestor::section |ancestor::simplesect |ancestor::sect1 |ancestor::sect2 |ancestor::sect3 |ancestor::sect4 |ancestor::sect5)[last()]"/> <xsl:variable name="level"> <xsl:call-template name="section.level"> <xsl:with-param name="node" select="$section"/> </xsl:call-template> </xsl:variable> <xsl:call-template name="section.heading"> <xsl:with-param name="section" select=".."/> <xsl:with-param name="allow-anchors" select="0"/> <!-- subtitle heading level one higher than section level --> <xsl:with-param name="level" select="$level + 1"/> <xsl:with-param name="class" select="'subtitle'"/> <xsl:with-param name="title"> <xsl:apply-templates select="$section" mode="object.subtitle.markup"> <xsl:with-param name="allow-anchors" select="0"/> </xsl:apply-templates> </xsl:with-param> </xsl:call-template> </xsl:template> </xsl:stylesheet> --- NEW FILE: chunkfast.xsl --- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> <!-- ******************************************************************** $Id: chunkfast.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:import href="chunk.xsl"/> <xsl:param name="chunk.fast" select="1"/> <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//div"/> <!-- ==================================================================== --> <xsl:template name="process-chunk-element"> <xsl:choose> <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')"> <xsl:variable name="genid" select="generate-id()"/> <xsl:variable name="div" select="$chunks[@id=$genid]"/> <xsl:variable name="prevdiv" select="($div/preceding-sibling::div|$div/preceding::div|$div/parent::div)[last()]"/> <xsl:variable name="prev" select="key('genid', $prevdiv/@id)"/> <xsl:variable name="nextdiv" select="($div/following-sibling::div|$div/following::div|$div/div)[1]"/> <xsl:variable name="next" select="key('genid', $nextdiv/@id)"/> <xsl:choose> <xsl:when test="$onechunk != 0 and parent::*"> <xsl:apply-imports/> </xsl:when> <xsl:otherwise> <xsl:call-template name="process-chunk"> <xsl:with-param name="prev" select="$prev"/> <xsl:with-param name="next" select="$next"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$onechunk != 0 and not(parent::*)"> <xsl:call-template name="chunk-all-sections"/> </xsl:when> <xsl:when test="$onechunk != 0"> <xsl:apply-imports/> </xsl:when> <xsl:when test="$chunk.first.sections = 0"> <xsl:call-template name="chunk-first-section-with-parent"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="chunk-all-sections"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> --- NEW FILE: chunk-common.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- ******************************************************************** $Id: chunk-common.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <xsl:template name="chunk"> <xsl:param name="node" select="."/> <!-- returns 1 if $node is a chunk --> [...966 lines suppressed...] </xsl:call-template> <xsl:call-template name="user.header.content"/> <xsl:copy-of select="$content"/> <xsl:call-template name="user.footer.content"/> <xsl:call-template name="footer.navigation"> <xsl:with-param name="prev" select="$prev"/> <xsl:with-param name="next" select="$next"/> <xsl:with-param name="nav.context" select="$nav.context"/> </xsl:call-template> <xsl:call-template name="user.footer.navigation"/> </body> </html> </xsl:template> </xsl:stylesheet> --- NEW FILE: htmltbl.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- ******************************************************************** $Id: htmltbl.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==========... [truncated message content] |
From: Michael D. <mik...@us...> - 2004-10-21 12:52:19
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-xsl/lib Added Files: ChangeLog lib.xml lib.xsl lib.xweb Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: ChangeLog --- 2004-08-11 Robert Stayton <bob...@us...> * lib.xweb: Fixed problem of PI name suffix being matched instead of whole name. 2003-04-05 Adam Di Carlo <adi...@us...> * lib.xweb: a pica is 12 points, rather than a sixth of an inch 2003-03-26 Michael Smith <xm...@us...> * Makefile: wdocbook.xsl obsoleted by w2docbook.xsl, updated globally 2003-03-25 Michael Smith <xm...@us...> * Makefile: reverting wdocbook.xsl -> w2docbook.xsl changes 2003-03-05 Michael Smith <xm...@us...> * Makefile: Wrong filename was breaking build, fixed. Had ../../litprog/wdocbook.xsl but needed ../../litprog/w2docbook.xsl 2002-09-15 Norman Walsh <nw...@us...> * lib.xweb: Fix bug where PIs match the suffix of a name instead of the whole name 2002-06-09 Norman Walsh <nw...@us...> * lib.xweb: Fix bug #496453: make sure comments don't contain illegal chars 2002-05-12 Norman Walsh <nw...@us...> * lib.xweb: Changed default units to px; added length-in-points template 2002-03-25 Norman Walsh <nw...@us...> * .cvsignore: Ignore lib.xsl too * .cvsignore, Makefile, lib.xsl, lib.xweb: Use Literate XML to generate lib.xsl * Makefile: Update documentation build to reflect use of lib.xweb 2002-03-18 Norman Walsh <nw...@us...> * lib.xsl: Replace generate.*.toc and generate.*.lot with single generate.toc parameter. 2002-03-14 Norman Walsh <nw...@us...> * lib.xsl: Whitespace only: change CR/LF back to LF. Norm was a total moron. * lib.xsl: Whitespace changes only: use PC-style CR/LF because Unix clients choke on this far less often than PC clients choke on the reverse. Grrr. 2002-01-09 Norman Walsh <nw...@us...> * lib.xsl: Added length-units template to extract units from lengths 2001-11-28 Norman Walsh <nw...@us...> * lib.xsl: Added pi-attribute template 2001-04-03 Norman Walsh <nw...@us...> * lib.xsl: Documentation fixes 2001-04-02 Norman Walsh <nw...@us...> * lib.xsl: New file. --- NEW FILE: lib.xml --- <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <book> <bookinfo> <title>XSL Library Template Reference</title> <releaseinfo role="cvs">$Id: lib.xml,v 1.1 2004/10/21 12:52:08 mikedoerfler Exp $ </releaseinfo> <corpauthor>DocBook Open Repository Team</corpauthor> <copyright> <year>1999</year> <year>2000</year> <year>2001</year> <year>2002</year> <holder>Norman Walsh</holder> </copyright> </bookinfo> <preface><title>Introduction</title> <para>This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets.</para> <para>This is not intended to be <quote>user</quote> documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in <quote>how it works</quote>.</para> <para>Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-)</para> </preface> <reference> <title>General Library Templates</title> <refentry id="dot.count"> <refnamediv> <refname>dot.count</refname> <refpurpose>Returns the number of <quote>.</quote> characters in a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <programlisting format="linespecific"><programlisting id="dot.count.frag"> <xsl:template name="dot.count"> <!-- Returns the number of "." characters in a string --> <xsl:param name="string"></xsl:param> <xsl:param name="count" select="0"></xsl:param> <xsl:choose> <xsl:when test="contains($string, '.')"> <xsl:call-template name="dot.count"> <xsl:with-param name="string" select="substring-after($string, '.')"></xsl:with-param> <xsl:with-param name="count" select="$count+1"></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$count"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="copy-string"> <refnamediv> <refname>copy-string</refname> <refpurpose>Returns <quote>count</quote> copies of a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <programlisting format="linespecific"><programlisting id="copy-string.frag"> <xsl:template name="copy-string"> <!-- returns 'count' copies of 'string' --> <xsl:param name="string"></xsl:param> <xsl:param name="count" select="0"></xsl:param> <xsl:param name="result"></xsl:param> <xsl:choose> <xsl:when test="$count>0"> <xsl:call-template name="copy-string"> <xsl:with-param name="string" select="$string"></xsl:with-param> <xsl:with-param name="count" select="$count - 1"></xsl:with-param> <xsl:with-param name="result"> <xsl:value-of select="$result"></xsl:value-of> <xsl:value-of select="$string"></xsl:value-of> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$result"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="string.subst"> <refnamediv> <refname>string.subst</refname> <refpurpose>Substitute one text string for another in a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">string.subst</function> template replaces all occurances of <parameter moreinfo="none">target</parameter> in <parameter moreinfo="none">string</parameter> with <parameter moreinfo="none">replacement</parameter> and returns the result. </para> <programlisting format="linespecific"><programlisting id="string.subst.frag"> <xsl:template name="string.subst"> <xsl:param name="string"></xsl:param> <xsl:param name="target"></xsl:param> <xsl:param name="replacement"></xsl:param> <xsl:choose> <xsl:when test="contains($string, $target)"> <xsl:variable name="rest"> <xsl:call-template name="string.subst"> <xsl:with-param name="string" select="substring-after($string, $target)"></xsl:with-param> <xsl:with-param name="target" select="$target"></xsl:with-param> <xsl:with-param name="replacement" select="$replacement"></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="xpointer.idref"> <refnamediv> <refname>xpointer.idref</refname> <refpurpose>Extract IDREF from an XPointer</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">xpointer.idref</function> template returns the ID portion of an XPointer which is a pointer to an ID within the current document, or the empty string if it is not.</para> <para>In other words, <function moreinfo="none">xpointer.idref</function> returns <quote>foo</quote> when passed either <literal moreinfo="none">#foo</literal> or <literal moreinfo="none">#xpointer(id('foo'))</literal>, otherwise it returns the empty string.</para> <programlisting format="linespecific"><programlisting id="xpointer.idref.frag"> <xsl:template name="xpointer.idref"> <xsl:param name="xpointer">http://...</xsl:param> <xsl:choose> <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"></xsl:variable> <xsl:variable name="quote" select="substring($rest, 1, 1)"></xsl:variable> <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"></xsl:value-of> </xsl:when> <xsl:when test="starts-with($xpointer, '#')"> <xsl:value-of select="substring-after($xpointer, '#')"></xsl:value-of> </xsl:when> <!-- otherwise it's a pointer to some other document --> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="length-magnitude"> <refnamediv> <refname>length-magnitude</refname> <refpurpose>Return the unqualified dimension from a length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">length-magnitude</function> template returns the unqualified length ("20" for "20pt") from a dimension. </para> <programlisting format="linespecific"><programlisting id="length-magnitude.frag"> <xsl:template name="length-magnitude"> <xsl:param name="length" select="'0pt'"></xsl:param> <xsl:choose> <xsl:when test="string-length($length) = 0"></xsl:when> <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> <xsl:value-of select="substring($length,1,1)"></xsl:value-of> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="substring($length,2)"></xsl:with-param> </xsl:call-template> </xsl:when> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="length-units"> <refnamediv> <refname>length-units</refname> <refpurpose>Return the units from a length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">length-units</function> template returns the units ("pt" for "20pt") from a length. If no units are supplied on the length, the <parameter moreinfo="none">defauilt.units</parameter> are returned.</para> <programlisting format="linespecific"><programlisting id="length-units.frag"> <xsl:template name="length-units"> <xsl:param name="length" select="'0pt'"></xsl:param> <xsl:param name="default.units" select="'px'"></xsl:param> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> </xsl:variable> <xsl:choose> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:value-of select="$units"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="length-spec"> <refnamediv> <refname>length-spec</refname> <refpurpose>Return a fully qualified length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">length-spec</function> template returns the qualified length from a dimension. If an unqualified length is given, the <parameter moreinfo="none">default.units</parameter> will be added to it. </para> <programlisting format="linespecific"><programlisting id="length-spec.frag"> <xsl:template name="length-spec"> <xsl:param name="length" select="'0pt'"></xsl:param> <xsl:param name="default.units" select="'px'"></xsl:param> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> </xsl:variable> <xsl:value-of select="$magnitude"></xsl:value-of> <xsl:choose> <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> <xsl:value-of select="$units"></xsl:value-of> </xsl:when> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"></xsl:value-of> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="length-in-points"> <refnamediv> <refname>length-in-points</refname> <refpurpose>Returns the size, in points, of a specified length</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">length-in-points</function> template converts a length specification to points and returns that value as an unqualified number. </para> <caution> <para>There is no way for the template to infer the size of an <literal moreinfo="none">em</literal>. It relies on the default <parameter moreinfo="none">em.size</parameter> which is initially <literal moreinfo="none">10</literal> (for 10pt).</para> <para>Similarly, converting pixesl to points relies on the <parameter moreinfo="none">pixels.per.inch</parameter> parameter which is initially <literal moreinfo="none">90</literal>. </para> </caution> <programlisting format="linespecific"><programlisting id="length-in-points.frag"> <xsl:template name="length-in-points"> <xsl:param name="length" select="'0pt'"></xsl:param> <xsl:param name="em.size" select="10"></xsl:param> <xsl:param name="pixels.per.inch" select="90"></xsl:param> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> </xsl:variable> <xsl:choose> <xsl:when test="$units = 'pt'"> <xsl:value-of select="$magnitude"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'cm'"> <xsl:value-of select="$magnitude div 2.54 * 72.0"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'mm'"> <xsl:value-of select="$magnitude div 25.4 * 72.0"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'in'"> <xsl:value-of select="$magnitude * 72.0"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'pc'"> <xsl:value-of select="$magnitude * 12.0"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'px'"> <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"></xsl:value-of> </xsl:when> <xsl:when test="$units = 'em'"> <xsl:value-of select="$magnitude * $em.size"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"></xsl:value-of> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="pi-attribute"> <refnamediv> <refname>pi-attribute</refname> <refpurpose>Extract a pseudo-attribute from a PI</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">pi-attribute</function> template extracts a pseudo-attribute from a processing instruction. For example, given the PI <quote><literal moreinfo="none"><?foo bar="1" baz='red'?></literal></quote>,</para> <programlisting format="linespecific"><xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="processing-instruction('foo')"/> <xsl:with-param name="attribute" select="'baz'"/> </xsl:call-template></programlisting> <para>will return <quote>red</quote>. This template returns the first matching attribute that it finds. Presented with processing instructions that contain badly formed pseudo-attributes (missing or unbalanced quotes, for example), the template may silently return erroneous results.</para> <programlisting format="linespecific"><programlisting id="pi-attribute.frag"> <xsl:template name="pi-attribute"> <xsl:param name="pis" select="processing-instruction('')"></xsl:param> <xsl:param name="attribute">filename</xsl:param> <xsl:param name="count">1</xsl:param> <xsl:choose> <xsl:when test="$count>count($pis)"> <!-- not found --> </xsl:when> <xsl:otherwise> <xsl:variable name="pi"> <xsl:value-of select="$pis[$count]"></xsl:value-of> </xsl:variable> <xsl:variable name="pivalue"> <xsl:value-of select="concat(' ', normalize-space($pi))"></xsl:value-of> </xsl:variable> <xsl:choose> <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))"> <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"></xsl:variable> <xsl:variable name="quote" select="substring($rest,1,1)"></xsl:variable> <xsl:value-of select="substring-before(substring($rest,2),$quote)"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="$pis"></xsl:with-param> <xsl:with-param name="attribute" select="$attribute"></xsl:with-param> <xsl:with-param name="count" select="$count + 1"></xsl:with-param> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="lookup.key"> <refnamediv> <refname>lookup.key</refname> <refpurpose>Retrieve the value associated with a particular key in a table</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>Given a table of space-delimited key/value pairs, the <function moreinfo="none">lookup.key</function> template extracts the value associated with a particular key.</para> <programlisting format="linespecific"><programlisting id="lookup.key.frag"> <xsl:template name="lookup.key"> <xsl:param name="key" select="''"></xsl:param> <xsl:param name="table" select="''"></xsl:param> <xsl:if test="contains($table, ' ')"> <xsl:choose> <xsl:when test="substring-before($table, ' ') = $key"> <xsl:variable name="rest" select="substring-after($table, ' ')"></xsl:variable> <xsl:choose> <xsl:when test="contains($rest, ' ')"> <xsl:value-of select="substring-before($rest, ' ')"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:value-of select="$rest"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:call-template name="lookup.key"> <xsl:with-param name="key" select="$key"></xsl:with-param> <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"></xsl:with-param> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="xpath.location"> <refnamediv> <refname>xpath.location</refname> <refpurpose>Calculate the XPath child-sequence to the current node</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">xpath.location</function> template calculates the absolute path from the root of the tree to the current element node. </para> <programlisting format="linespecific"><programlisting id="xpath.location.frag"> <xsl:template name="xpath.location"> <xsl:param name="node" select="."></xsl:param> <xsl:param name="path" select="''"></xsl:param> <xsl:variable name="next.path"> <xsl:value-of select="local-name($node)"></xsl:value-of> <xsl:if test="$path != ''">/</xsl:if> <xsl:value-of select="$path"></xsl:value-of> </xsl:variable> <xsl:choose> <xsl:when test="$node/parent::*"> <xsl:call-template name="xpath.location"> <xsl:with-param name="node" select="$node/parent::*"></xsl:with-param> <xsl:with-param name="path" select="$next.path"></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:text>/</xsl:text> <xsl:value-of select="$next.path"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="comment-escape-string"> <refnamediv> <refname>comment-escape-string</refname> <refpurpose>Prepare a string for inclusion in an XML comment</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">comment-escape-string</function> template returns a string that has been transformed so that it can safely be output as an XML comment. Internal occurrences of "--" will be replaced with "- -" and a leading and/or trailing space will be added to the string, if necessary.</para> <programlisting format="linespecific"><programlisting id="comment-escape-string"> <xsl:template name="comment-escape-string"> <xsl:param name="string" select="''"></xsl:param> <xsl:if test="starts-with($string, '-')"> <xsl:text> </xsl:text> </xsl:if> <xsl:call-template name="comment-escape-string.recursive"> <xsl:with-param name="string" select="$string"></xsl:with-param> </xsl:call-template> <xsl:if test="substring($string, string-length($string), 1) = '-'"> <xsl:text> </xsl:text> </xsl:if> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="comment-escape-string.recursive"> <refnamediv> <refname>comment-escape-string.recursive</refname> <refpurpose>Internal function used by comment-escape-string</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function moreinfo="none">comment-escape-string.recursive</function> template is used by <function moreinfo="none">comment-escape-string</function>.</para> <programlisting format="linespecific"><programlisting id="comment-escape-string.recursive"> <xsl:template name="comment-escape-string.recursive"> <xsl:param name="string" select="''"></xsl:param> <xsl:choose> <xsl:when test="contains($string, '--')"> <xsl:value-of select="substring-before($string, '--')"></xsl:value-of> <xsl:value-of select="'- -'"></xsl:value-of> <xsl:call-template name="comment-escape-string.recursive"> <xsl:with-param name="string" select="substring-after($string, '--')"></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> </reference> <reference> <title>Relative URI Functions</title> <partintro><title>Introduction</title> <para>These functions manipulate relative URI references.</para> <para>The following assumptions must hold true:</para> <orderedlist inheritnum="ignore" continuation="restarts"> <listitem> <para>All URIs are relative.</para> </listitem> <listitem> <para>No URI contains the <quote><literal moreinfo="none">../</literal></quote> sequence which would effectively move <quote>up</quote> the hierarchy.</para> </listitem> </orderedlist> <para>If these assumptions do not hold, the results are unpredictable.</para> </partintro> <refentry id="count.uri.path.depth"> <refnamediv> <refname>count.uri.path.depth</refname> <refpurpose>Count the number of path components in a relative URI</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>This function counts the number of path components in a relative URI.</para> <programlisting format="linespecific"><programlisting id="count.uri.path.depth.frag"> <xsl:template name="count.uri.path.depth"> <xsl:param name="filename" select="''"></xsl:param> <xsl:param name="count" select="0"></xsl:param> <xsl:choose> <xsl:when test="contains($filename, '/')"> <xsl:call-template name="count.uri.path.depth"> <xsl:with-param name="filename" select="substring-after($filename, '/')"></xsl:with-param> <xsl:with-param name="count" select="$count + 1"></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$count"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> <refentry id="trim.common.uri.paths"> <refnamediv> <refname>trim.common.uri.paths</refname> <refpurpose>Trim common leading path components from a relative URI</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>This function trims common leading path components from a relative URI.</para> <programlisting format="linespecific"><programlisting id="trim.common.uri.paths.frag"> <xsl:template name="trim.common.uri.paths"> <xsl:param name="uriA" select="''"></xsl:param> <xsl:param name="uriB" select="''"></xsl:param> <xsl:param name="return" select="'A'"></xsl:param> <xsl:choose> <xsl:when test="contains($uriA, '/') and contains($uriB, '/') and substring-before($uriA, '/') = substring-before($uriB, '/')"> <xsl:call-template name="trim.common.uri.paths"> <xsl:with-param name="uriA" select="substring-after($uriA, '/')"></xsl:with-param> <xsl:with-param name="uriB" select="substring-after($uriB, '/')"></xsl:with-param> <xsl:with-param name="return" select="$return"></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$return = 'A'"> <xsl:value-of select="$uriA"></xsl:value-of> </xsl:when> <xsl:otherwise> <xsl:value-of select="$uriB"></xsl:value-of> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> </programlisting></programlisting> </refsect1> </refentry> </reference> <appendix><title>The Stylesheet</title> <para>The <filename moreinfo="none">lib.xsl</filename> stylesheet is just a wrapper around these functions.</para> <programlisting id="top"> <!-- ******************************************************************** $Id: lib.xml,v 1.1 2004/10/21 12:52:08 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. This module implements DTD-independent functions ******************************************************************** --> <xsl:stylesheet exclude-result-prefixes="src" version="1.0"> <src:fragref linkend="dot.count.frag"></src:fragref> <src:fragref linkend="copy-string.frag"></src:fragref> <src:fragref linkend="string.subst.frag"></src:fragref> <src:fragref linkend="xpointer.idref.frag"></src:fragref> <src:fragref linkend="length-magnitude.frag"></src:fragref> <src:fragref linkend="length-units.frag"></src:fragref> <src:fragref linkend="length-spec.frag"></src:fragref> <src:fragref linkend="length-in-points.frag"></src:fragref> <src:fragref linkend="pi-attribute.frag"></src:fragref> <src:fragref linkend="lookup.key.frag"></src:fragref> <src:fragref linkend="xpath.location.frag"></src:fragref> <src:fragref linkend="comment-escape-string"></src:fragref> <src:fragref linkend="comment-escape-string.recursive"></src:fragref> <src:fragref linkend="count.uri.path.depth.frag"></src:fragref> <src:fragref linkend="trim.common.uri.paths.frag"></src:fragref> </xsl:stylesheet> </programlisting> </appendix> </book> --- NEW FILE: lib.xsl --- <?xml version="1.0" encoding="utf-8"?> <!-- ******************************************************************** $Id: lib.xsl,v 1.1 2004/10/21 12:52:08 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. This module implements DTD-independent functions ******************************************************************** --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0"> <xsl:template name="dot.count"> <!-- Returns the number of "." characters in a string --> <xsl:param name="string"/> <xsl:param name="count" select="0"/> <xsl:choose> <xsl:when test="contains($string, '.')"> <xsl:call-template name="dot.count"> <xsl:with-param name="string" select="substring-after($string, '.')"/> <xsl:with-param name="count" select="$count+1"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$count"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="copy-string"> <!-- returns 'count' copies of 'string' --> <xsl:param name="string"/> <xsl:param name="count" select="0"/> <xsl:param name="result"/> <xsl:choose> <xsl:when test="$count>0"> <xsl:call-template name="copy-string"> <xsl:with-param name="string" select="$string"/> <xsl:with-param name="count" select="$count - 1"/> <xsl:with-param name="result"> <xsl:value-of select="$result"/> <xsl:value-of select="$string"/> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$result"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="string.subst"> <xsl:param name="string"/> <xsl:param name="target"/> <xsl:param name="replacement"/> <xsl:choose> <xsl:when test="contains($string, $target)"> <xsl:variable name="rest"> <xsl:call-template name="string.subst"> <xsl:with-param name="string" select="substring-after($string, $target)"/> <xsl:with-param name="target" select="$target"/> <xsl:with-param name="replacement" select="$replacement"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="xpointer.idref"> <xsl:param name="xpointer">http://...</xsl:param> <xsl:choose> <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"/> <xsl:variable name="quote" select="substring($rest, 1, 1)"/> <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/> </xsl:when> <xsl:when test="starts-with($xpointer, '#')"> <xsl:value-of select="substring-after($xpointer, '#')"/> </xsl:when> <!-- otherwise it's a pointer to some other document --> </xsl:choose> </xsl:template> <xsl:template name="length-magnitude"> <xsl:param name="length" select="'0pt'"/> <xsl:choose> <xsl:when test="string-length($length) = 0"/> <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> <xsl:value-of select="substring($length,1,1)"/> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="substring($length,2)"/> </xsl:call-template> </xsl:when> </xsl:choose> </xsl:template> <xsl:template name="length-units"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="default.units" select="'px'"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:choose> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$units"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="length-spec"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="default.units" select="'px'"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:value-of select="$magnitude"/> <xsl:choose> <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> <xsl:value-of select="$units"/> </xsl:when> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"/> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"/> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="length-in-points"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="em.size" select="10"/> <xsl:param name="pixels.per.inch" select="90"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:choose> <xsl:when test="$units = 'pt'"> <xsl:value-of select="$magnitude"/> </xsl:when> <xsl:when test="$units = 'cm'"> <xsl:value-of select="$magnitude div 2.54 * 72.0"/> </xsl:when> <xsl:when test="$units = 'mm'"> <xsl:value-of select="$magnitude div 25.4 * 72.0"/> </xsl:when> <xsl:when test="$units = 'in'"> <xsl:value-of select="$magnitude * 72.0"/> </xsl:when> <xsl:when test="$units = 'pc'"> <xsl:value-of select="$magnitude * 12.0"/> </xsl:when> <xsl:when test="$units = 'px'"> <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"/> </xsl:when> <xsl:when test="$units = 'em'"> <xsl:value-of select="$magnitude * $em.size"/> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"/> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="pi-attribute"> <xsl:param name="pis" select="processing-instruction('')"/> <xsl:param name="attribute">filename</xsl:param> <xsl:param name="count">1</xsl:param> <xsl:choose> <xsl:when test="$count>count($pis)"> <!-- not found --> </xsl:when> <xsl:otherwise> <xsl:variable name="pi"> <xsl:value-of select="$pis[$count]"/> </xsl:variable> <xsl:variable name="pivalue"> <xsl:value-of select="concat(' ', normalize-space($pi))"/> </xsl:variable> <xsl:choose> <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))"> <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"/> <xsl:variable name="quote" select="substring($rest,1,1)"/> <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="$pis"/> <xsl:with-param name="attribute" select="$attribute"/> <xsl:with-param name="count" select="$count + 1"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="lookup.key"> <xsl:param name="key" select="''"/> <xsl:param name="table" select="''"/> <xsl:if test="contains($table, ' ')"> <xsl:choose> <xsl:when test="substring-before($table, ' ') = $key"> <xsl:variable name="rest" select="substring-after($table, ' ')"/> <xsl:choose> <xsl:when test="contains($rest, ' ')"> <xsl:value-of select="substring-before($rest, ' ')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$rest"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:call-template name="lookup.key"> <xsl:with-param name="key" select="$key"/> <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <xsl:template name="xpath.location"> <xsl:param name="node" select="."/> <xsl:param name="path" select="''"/> <xsl:variable name="next.path"> <xsl:value-of select="local-name($node)"/> <xsl:if test="$path != ''">/</xsl:if> <xsl:value-of select="$path"/> </xsl:variable> <xsl:choose> <xsl:when test="$node/parent::*"> <xsl:call-template name="xpath.location"> <xsl:with-param name="node" select="$node/parent::*"/> <xsl:with-param name="path" select="$next.path"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:text>/</xsl:text> <xsl:value-of select="$next.path"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="comment-escape-string"> <xsl:param name="string" select="''"/> <xsl:if test="starts-with($string, '-')"> <xsl:text> </xsl:text> </xsl:if> <xsl:call-template name="comment-escape-string.recursive"> <xsl:with-param name="string" select="$string"/> </xsl:call-template> <xsl:if test="substring($string, string-length($string), 1) = '-'"> <xsl:text> </xsl:text> </xsl:if> </xsl:template> <xsl:template name="comment-escape-string.recursive"> <xsl:param name="string" select="''"/> <xsl:choose> <xsl:when test="contains($string, '--')"> <xsl:value-of select="substring-before($string, '--')"/> <xsl:value-of select="'- -'"/> <xsl:call-template name="comment-escape-string.recursive"> <xsl:with-param name="string" select="substring-after($string, '--')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="count.uri.path.depth"> <xsl:param name="filename" select="''"/> <xsl:param name="count" select="0"/> <xsl:choose> <xsl:when test="contains($filename, '/')"> <xsl:call-template name="count.uri.path.depth"> <xsl:with-param name="filename" select="substring-after($filename, '/')"/> <xsl:with-param name="count" select="$count + 1"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$count"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="trim.common.uri.paths"> <xsl:param name="uriA" select="''"/> <xsl:param name="uriB" select="''"/> <xsl:param name="return" select="'A'"/> <xsl:choose> <xsl:when test="contains($uriA, '/') and contains($uriB, '/') and substring-before($uriA, '/') = substring-before($uriB, '/')"> <xsl:call-template name="trim.common.uri.paths"> <xsl:with-param name="uriA" select="substring-after($uriA, '/')"/> <xsl:with-param name="uriB" select="substring-after($uriB, '/')"/> <xsl:with-param name="return" select="$return"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$return = 'A'"> <xsl:value-of select="$uriA"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$uriB"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> --- NEW FILE: lib.xweb --- <book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <bookinfo> <title>XSL Library Template Reference</title> <releaseinfo role="cvs">$Id: lib.xweb,v 1.1 2004/10/21 12:52:08 mikedoerfler Exp $ </releaseinfo> <corpauthor>DocBook Open Repository Team</corpauthor> <copyright> <year>1999</year> <year>2000</year> <year>2001</year> <year>2002</year> <holder>Norman Walsh</holder> </copyright> </bookinfo> <preface><title>Introduction</title> <para>This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets.</para> <para>This is not intended to be <quote>user</quote> documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in <quote>how it works</quote>.</para> <para>Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-)</para> </preface> <reference> <title>General Library Templates</title> <refentry id="dot.count"> <refnamediv> <refname>dot.count</refname> <refpurpose>Returns the number of <quote>.</quote> characters in a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <programlisting><src:fragment id='dot.count.frag'> <xsl:template name="dot.count"> <!-- Returns the number of "." characters in a string --> <xsl:param name="string"></xsl:param> <xsl:param name="count" select="0"/> <xsl:choose> <xsl:when test="contains($string, '.')"> <xsl:call-template name="dot.count"> <xsl:with-param name="string" select="substring-after($string, '.')"/> <xsl:with-param name="count" select="$count+1"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$count"/> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="copy-string"> <refnamediv> <refname>copy-string</refname> <refpurpose>Returns <quote>count</quote> copies of a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <programlisting><src:fragment id='copy-string.frag'> <xsl:template name="copy-string"> <!-- returns 'count' copies of 'string' --> <xsl:param name="string"></xsl:param> <xsl:param name="count" select="0"/> <xsl:param name="result"></xsl:param> <xsl:choose> <xsl:when test="$count>0"> <xsl:call-template name="copy-string"> <xsl:with-param name="string" select="$string"/> <xsl:with-param name="count" select="$count - 1"/> <xsl:with-param name="result"> <xsl:value-of select="$result"/> <xsl:value-of select="$string"/> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$result"/> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ====================================================================== --> <refentry id="string.subst"> <refnamediv> <refname>string.subst</refname> <refpurpose>Substitute one text string for another in a string</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>string.subst</function> template replaces all occurances of <parameter>target</parameter> in <parameter>string</parameter> with <parameter>replacement</parameter> and returns the result. </para> <programlisting><src:fragment id='string.subst.frag'> <xsl:template name="string.subst"> <xsl:param name="string"></xsl:param> <xsl:param name="target"></xsl:param> <xsl:param name="replacement"></xsl:param> <xsl:choose> <xsl:when test="contains($string, $target)"> <xsl:variable name="rest"> <xsl:call-template name="string.subst"> <xsl:with-param name="string" select="substring-after($string, $target)"/> <xsl:with-param name="target" select="$target"/> <xsl:with-param name="replacement" select="$replacement"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="xpointer.idref"> <refnamediv> <refname>xpointer.idref</refname> <refpurpose>Extract IDREF from an XPointer</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>xpointer.idref</function> template returns the ID portion of an XPointer which is a pointer to an ID within the current document, or the empty string if it is not.</para> <para>In other words, <function>xpointer.idref</function> returns <quote>foo</quote> when passed either <literal>#foo</literal> or <literal>#xpointer(id('foo'))</literal>, otherwise it returns the empty string.</para> <programlisting><src:fragment id='xpointer.idref.frag'> <xsl:template name="xpointer.idref"> <xsl:param name="xpointer">http://...</xsl:param> <xsl:choose> <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"/> <xsl:variable name="quote" select="substring($rest, 1, 1)"/> <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/> </xsl:when> <xsl:when test="starts-with($xpointer, '#')"> <xsl:value-of select="substring-after($xpointer, '#')"/> </xsl:when> <!-- otherwise it's a pointer to some other document --> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="length-magnitude"> <refnamediv> <refname>length-magnitude</refname> <refpurpose>Return the unqualified dimension from a length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>length-magnitude</function> template returns the unqualified length ("20" for "20pt") from a dimension. </para> <programlisting><src:fragment id='length-magnitude.frag'> <xsl:template name="length-magnitude"> <xsl:param name="length" select="'0pt'"/> <xsl:choose> <xsl:when test="string-length($length) = 0"/> <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> <xsl:value-of select="substring($length,1,1)"/> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="substring($length,2)"/> </xsl:call-template> </xsl:when> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="length-units"> <refnamediv> <refname>length-units</refname> <refpurpose>Return the units from a length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>length-units</function> template returns the units ("pt" for "20pt") from a length. If no units are supplied on the length, the <parameter>defauilt.units</parameter> are returned.</para> <programlisting><src:fragment id='length-units.frag'> <xsl:template name="length-units"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="default.units" select="'px'"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:choose> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$units"/> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="length-spec"> <refnamediv> <refname>length-spec</refname> <refpurpose>Return a fully qualified length specification</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>length-spec</function> template returns the qualified length from a dimension. If an unqualified length is given, the <parameter>default.units</parameter> will be added to it. </para> <programlisting><src:fragment id='length-spec.frag'> <xsl:template name="length-spec"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="default.units" select="'px'"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:value-of select="$magnitude"/> <xsl:choose> <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> <xsl:value-of select="$units"/> </xsl:when> <xsl:when test="$units = ''"> <xsl:value-of select="$default.units"/> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"/> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="length-in-points"> <refnamediv> <refname>length-in-points</refname> <refpurpose>Returns the size, in points, of a specified length</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>length-in-points</function> template converts a length specification to points and returns that value as an unqualified number. </para> <caution> <para>There is no way for the template to infer the size of an <literal>em</literal>. It relies on the default <parameter>em.size</parameter> which is initially <literal>10</literal> (for 10pt).</para> <para>Similarly, converting pixesl to points relies on the <parameter>pixels.per.inch</parameter> parameter which is initially <literal>90</literal>. </para> </caution> <programlisting><src:fragment id='length-in-points.frag'> <xsl:template name="length-in-points"> <xsl:param name="length" select="'0pt'"/> <xsl:param name="em.size" select="10"/> <xsl:param name="pixels.per.inch" select="90"/> <xsl:variable name="magnitude"> <xsl:call-template name="length-magnitude"> <xsl:with-param name="length" select="$length"/> </xsl:call-template> </xsl:variable> <xsl:variable name="units"> <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> </xsl:variable> <xsl:choose> <xsl:when test="$units = 'pt'"> <xsl:value-of select="$magnitude"/> </xsl:when> <xsl:when test="$units = 'cm'"> <xsl:value-of select="$magnitude div 2.54 * 72.0"/> </xsl:when> <xsl:when test="$units = 'mm'"> <xsl:value-of select="$magnitude div 25.4 * 72.0"/> </xsl:when> <xsl:when test="$units = 'in'"> <xsl:value-of select="$magnitude * 72.0"/> </xsl:when> <xsl:when test="$units = 'pc'"> <xsl:value-of select="$magnitude * 12.0"/> </xsl:when> <xsl:when test="$units = 'px'"> <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"/> </xsl:when> <xsl:when test="$units = 'em'"> <xsl:value-of select="$magnitude * $em.size"/> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Unrecognized unit of measure: </xsl:text> <xsl:value-of select="$units"/> <xsl:text>.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="pi-attribute"> <refnamediv> <refname>pi-attribute</refname> <refpurpose>Extract a pseudo-attribute from a PI</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>The <function>pi-attribute</function> template extracts a pseudo-attribute from a processing instruction. For example, given the PI <quote><literal><?foo bar="1" baz='red'?></literal></quote>,</para> <programlisting><![CDATA[<xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="processing-instruction('foo')"/> <xsl:with-param name="attribute" select="'baz'"/> </xsl:call-template>]]></programlisting> <para>will return <quote>red</quote>. This template returns the first matching attribute that it finds. Presented with processing instructions that contain badly formed pseudo-attributes (missing or unbalanced quotes, for example), the template may silently return erroneous results.</para> <programlisting><src:fragment id='pi-attribute.frag'> <xsl:template name="pi-attribute"> <xsl:param name="pis" select="processing-instruction('')"/> <xsl:param name="attribute">filename</xsl:param> <xsl:param name="count">1</xsl:param> <xsl:choose> <xsl:when test="$count>count($pis)"> <!-- not found --> </xsl:when> <xsl:otherwise> <xsl:variable name="pi"> <xsl:value-of select="$pis[$count]"/> </xsl:variable> <xsl:variable name="pivalue"> <xsl:value-of select="concat(' ', normalize-space($pi))"/> </xsl:variable> <xsl:choose> <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))"> <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"/> <xsl:variable name="quote" select="substring($rest,1,1)"/> <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="$pis"/> <xsl:with-param name="attribute" select="$attribute"/> <xsl:with-param name="count" select="$count + 1"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> </src:fragment></programlisting> </refsect1> </refentry> <!-- ================================================================== --> <refentry id="lookup.key"> <refnamediv> <refname>lookup.key</refname> <refpurpose>Retrieve the value associated with a particular key in a table</refpurpose> </refnamediv> <refsect1><title>Description</title> <para>Given a table of space-delimited key/value pairs, the <function>lookup.key</function> template extracts the value associated with a particular key.</para> <programlisting><src:fragment id='lookup.key.frag'> <xsl:template name="lookup.key"> <xsl:param name="key" select="''"/> <xsl:param name="table" select="''"/> <xsl:if test="contains($table, ' ')"> ... [truncated message content] |
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-xsl/common Added Files: ChangeLog l10n.dtd targetdatabase.dtd af.xml ar.xml bg.xml bn.xml bs.xml ca.xml cs.xml da.xml de.xml el.xml en.xml es.xml et.xml eu.xml fi.xml fr.xml he.xml hr.xml hu.xml id.xml it.xml ja.xml ko.xml l10n.xml la.xml lt.xml nl.xml nn.xml no.xml pl.xml pt.xml pt_br.xml ro.xml ru.xml sk.xml sl.xml sr.xml sr_Latn.xml sv.xml th.xml tr.xml uk.xml vi.xml xh.xml zh_cn.xml zh_tw.xml autoidx-ng.xsl common.xsl gentext.xsl l10n.xsl labels.xsl olink.xsl pi.xsl subtitles.xsl table.xsl targets.xsl titles.xsl Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: id.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id" english-language-name="Indonesian"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="Abstrak"/> <l:gentext key="abstract" text="Abstrak"/> <l:gentext key="Answer" text="Jawab:"/> <l:gentext key="answer" text="Jawab:"/> <l:gentext key="Appendix" text="Lampiran"/> <l:gentext key="appendix" text="lampiran"/> <l:gentext key="Article" text="Artikel"/> <l:gentext key="article" text="Artikel"/> <l:gentext key="Bibliography" text="Bibliografi"/> <l:gentext key="bibliography" text="Bibliografi"/> [...1118 lines suppressed...] <l:l i="260">Ź</l:l> <l:l i="260">ź</l:l> <l:l i="260">Ż</l:l> <l:l i="260">ż</l:l> <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> <l:l i="260">Ƶ</l:l> <l:l i="260">ƶ</l:l> <l:l i="260">Ȥ</l:l> <l:l i="260">ȥ</l:l> <l:l i="260">ʐ</l:l> <l:l i="260">ʑ</l:l> <l:l i="260">Ẑ</l:l> <l:l i="260">ẑ</l:l> <l:l i="260">Ẓ</l:l> <l:l i="260">ẓ</l:l> <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> </l:l10n> --- NEW FILE: zh_cn.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese Simplified"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="摘要"/> <l:gentext key="abstract" text="摘要"/> <l:gentext key="Answer" text="答:"/> <l:gentext key="answer" text="答:"/> <l:gentext key="Appendix" text="附录"/> <l:gentext key="appendix" text="附录"/> <l:gentext key="Article" text="文章"/> <l:gentext key="article" text="文章"/> <l:gentext key="Bibliography" text="参考书目"/> <l:gentext key="bibliography" text="参考书目"/> <l:gentext key="Book" text="书"/> <l:gentext key="book" text="书"/> <l:gentext key="CAUTION" text="小心"/> <l:gentext key="Caution" text="小心"/> <l:gentext key="caution" text="小心"/> <l:gentext key="Chapter" text="章"/> <l:gentext key="chapter" text="章"/> <l:gentext key="Colophon" text="Colophon"/> <l:gentext key="colophon" text="Colophon"/> <l:gentext key="Copyright" text="版权"/> <l:gentext key="copyright" text="版权"/> <l:gentext key="Dedication" text="题词"/> <l:gentext key="dedication" text="题词"/> <l:gentext key="Edition" text="版"/> <l:gentext key="edition" text="版"/> <l:gentext key="Equation" text="公式"/> <l:gentext key="equation" text="公式"/> <l:gentext key="Example" text="例"/> <l:gentext key="example" text="例"/> <l:gentext key="Figure" text="图"/> <l:gentext key="figure" text="图"/> <l:gentext key="Glossary" text="术语表"/> <l:gentext key="glossary" text="术语表"/> <l:gentext key="GlossSee" text="见"/> <l:gentext key="glosssee" text="见"/> <l:gentext key="GlossSeeAlso" text="参见"/> <l:gentext key="glossseealso" text="参见"/> <l:gentext key="IMPORTANT" text="重要"/> <l:gentext key="important" text="重要"/> <l:gentext key="Important" text="重要"/> <l:gentext key="Index" text="索引"/> <l:gentext key="index" text="索引"/> <l:gentext key="ISBN" text="ISBN"/> <l:gentext key="isbn" text="ISBN"/> <l:gentext key="LegalNotice" text="法律通告"/> <l:gentext key="legalnotice" text="法律通告"/> <l:gentext key="MsgAud" text="受众"/> <l:gentext key="msgaud" text="受众"/> <l:gentext key="MsgLevel" text="级别"/> <l:gentext key="msglevel" text="级别"/> <l:gentext key="MsgOrig" text="出处"/> <l:gentext key="msgorig" text="出处"/> <l:gentext key="NOTE" text="注意"/> <l:gentext key="Note" text="注意"/> <l:gentext key="note" text="注意"/> <l:gentext key="Part" text="部分"/> <l:gentext key="part" text="部分"/> <l:gentext key="Preface" text="前言"/> <l:gentext key="preface" text="前言"/> <l:gentext key="Procedure" text="过程"/> <l:gentext key="procedure" text="过程"/> <l:gentext key="ProductionSet" text="Production"/> <l:gentext key="PubDate" text="出版日期"/> <l:gentext key="pubdate" text="出版日期"/> <l:gentext key="Published" text="出版方"/> <l:gentext key="published" text="出版方"/> <l:gentext key="Qandadiv" text="质保"/> <l:gentext key="qandadiv" text="质保"/> <l:gentext key="Question" text="问:"/> <l:gentext key="question" text="问:"/> <l:gentext key="RefEntry" text=""/> <l:gentext key="refentry" text=""/> <l:gentext key="Reference" text="参考"/> <l:gentext key="reference" text="参考"/> <l:gentext key="RefName" text="名称"/> <l:gentext key="refname" text="名称"/> <l:gentext key="RefSection" text=""/> <l:gentext key="refsection" text=""/> <l:gentext key="RefSynopsisDiv" text="大纲"/> <l:gentext key="refsynopsisdiv" text="大纲"/> <l:gentext key="RevHistory" text="修订历史"/> <l:gentext key="revhistory" text="修订历史"/> <l:gentext key="revision" text="修订"/> <l:gentext key="Revision" text="修订"/> <l:gentext key="sect1" text="节"/> <l:gentext key="sect2" text="节"/> <l:gentext key="sect3" text="节"/> <l:gentext key="sect4" text="节"/> <l:gentext key="sect5" text="节"/> <l:gentext key="section" text="节"/> <l:gentext key="Section" text="节"/> <l:gentext key="see" text="见"/> <l:gentext key="See" text="见"/> <l:gentext key="seealso" text="参见"/> <l:gentext key="Seealso" text="参见"/> <l:gentext key="SeeAlso" text="参见"/> <l:gentext key="set" text="Set"/> <l:gentext key="Set" text="Set"/> <l:gentext key="setindex" text="Set Index"/> <l:gentext key="SetIndex" text="Set Index"/> <l:gentext key="Sidebar" text=""/> <l:gentext key="sidebar" text="sidebar"/> <l:gentext key="step" text="步骤"/> <l:gentext key="Step" text="步骤"/> <l:gentext key="Table" text="表"/> <l:gentext key="table" text="表"/> <l:gentext key="tip" text="提示"/> <l:gentext key="TIP" text="提示"/> <l:gentext key="Tip" text="提示"/> <l:gentext key="Warning" text="警告"/> <l:gentext key="warning" text="警告"/> <l:gentext key="WARNING" text="警告"/> <l:gentext key="and" text="和"/> <l:gentext key="by" text="由"/> <l:gentext key="called" text="称为"/> <l:gentext key="Edited" text="编辑时间"/> <l:gentext key="edited" text="编辑时间"/> <l:gentext key="Editedby" text="编辑者"/> <l:gentext key="editedby" text="编辑者"/> <l:gentext key="in" text="于"/> <l:gentext key="lastlistcomma" text=","/> <l:gentext key="listcomma" text="、"/> <l:gentext key="nonexistantelement" text="不存在的元素"/> <l:gentext key="notes" text="备注"/> <l:gentext key="Notes" text="备注"/> <l:gentext key="Pgs" text="页"/> <l:gentext key="pgs" text="页"/> <l:gentext key="Revisedby" text="修订者:"/> <l:gentext key="revisedby" text="修订者:"/> <l:gentext key="TableNotes" text="表注"/> <l:gentext key="tablenotes" text="表注"/> <l:gentext key="TableofContents" text="目录"/> <l:gentext key="tableofcontents" text="目录"/> <l:gentext key="the" text=""/> <l:gentext key="unexpectedelementname" text="未预期的名称"/> <l:gentext key="unsupported" text="不支持"/> <l:gentext key="xrefto" text="xref to"/> <l:gentext key="listofequations" text="公式清单"/> <l:gentext key="ListofEquations" text="公式清单"/> <l:gentext key="ListofExamples" text="范例清单"/> <l:gentext key="listofexamples" text="范例清单"/> <l:gentext key="ListofFigures" text="插图清单"/> <l:gentext key="listoffigures" text="插图清单"/> <l:gentext key="ListofProcedures" text="过程清单"/> <l:gentext key="listofprocedures" text="过程清单"/> <l:gentext key="listoftables" text="表格清单"/> <l:gentext key="ListofTables" text="表格清单"/> <l:gentext key="ListofUnknown" text="未知清单"/> <l:gentext key="listofunknown" text="未知清单"/> <l:gentext key="nav-home" text="起始页"/> <l:gentext key="nav-next" text="下一页"/> <l:gentext key="nav-next-sibling" text="快进"/> <l:gentext key="nav-prev" text="上一页"/> <l:gentext key="nav-prev-sibling" text="快退"/> <l:gentext key="nav-up" text="上一级"/> <l:gentext key="nav-toc" text="目录"/> <l:gentext key="Draft" text="草稿"/> <l:gentext key="above" text="above"/> <l:gentext key="below" text="below"/> <l:gentext key="sectioncalled" text="一节"/> <l:gentext key="index symbols" text="符号"/> <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> <l:dingbat key="startquote" text="“"/> <l:dingbat key="endquote" text="”"/> <l:dingbat key="nestedstartquote" text="‘"/> <l:dingbat key="nestedendquote" text="’"/> <l:dingbat key="singlestartquote" text="‘"/> <l:dingbat key="singleendquote" text="’"/> <l:dingbat key="bullet" text="·"/> <l:gentext key="hyphenation-character" text="-"/> <l:gentext key="hyphenation-push-character-count" text="2"/> <l:gentext key="hyphenation-remain-character-count" text="2"/> <l:context name="styles"> <l:template name="person-name" text="first-last"/> </l:context> <l:context name="title"> <l:template name="abstract" text="%t"/> <l:template name="answer" text="%t"/> <l:template name="appendix" text="附录 %n. %t"/> <l:template name="article" text="%t"/> <l:template name="authorblurb" text="%t"/> <l:template name="bibliodiv" text="%t"/> <l:template name="biblioentry" text="%t"/> <l:template name="bibliography" text="%t"/> <l:template name="bibliolist" text="%t"/> <l:template name="bibliomixed" text="%t"/> <l:template name="bibliomset" text="%t"/> <l:template name="biblioset" text="%t"/> <l:template name="blockquote" text="%t"/> <l:template name="book" text="%t"/> <l:template name="calloutlist" text="%t"/> <l:template name="caution" text="%t"/> <l:template name="chapter" text="第 %n 章 %t"/> <l:template name="colophon" text="%t"/> <l:template name="dedication" text="%t"/> <l:template name="equation" text="公式 %n. %t"/> <l:template name="example" text="例 %n. %t"/> <l:template name="figure" text="图 %n. %t"/> <l:template name="formalpara" text="%t"/> <l:template name="glossary" text="%t"/> <l:template name="glossdiv" text="%t"/> <l:template name="glosslist" text="%t"/> <l:template name="glossentry" text="%t"/> <l:template name="important" text="%t"/> <l:template name="index" text="%t"/> <l:template name="indexdiv" text="%t"/> <l:template name="itemizedlist" text="%t"/> <l:template name="legalnotice" text="%t"/> <l:template name="listitem" text=""/> <l:template name="lot" text="%t"/> <l:template name="msg" text="%t"/> <l:template name="msgexplan" text="%t"/> <l:template name="msgmain" text="%t"/> <l:template name="msgrel" text="%t"/> <l:template name="msgset" text="%t"/> <l:template name="msgsub" text="%t"/> <l:template name="note" text="%t"/> <l:template name="orderedlist" text="%t"/> <l:template name="part" text="第 %n 部分 %t"/> <l:template name="partintro" text="%t"/> <l:template name="preface" text="%t"/> <l:template name="procedure" text="%t"/> <l:template name="procedure.formal" text="过程 %n. %t"/> <l:template name="productionset" text="%t"/> <l:template name="productionset.formal" text="Production %n"/> <l:template name="qandadiv" text="%t"/> <l:template name="qandaentry" text="%t"/> <l:template name="qandaset" text="%t"/> <l:template name="question" text="%t"/> <l:template name="refentry" text="%t"/> <l:template name="reference" text="%t"/> <l:template name="refsection" text="%t"/> <l:template name="refsect1" text="%t"/> <l:template name="refsect2" text="%t"/> <l:template name="refsect3" text="%t"/> <l:template name="refsynopsisdiv" text="%t"/> <l:template name="refsynopsisdivinfo" text="%t"/> <l:template name="segmentedlist" text="%t"/> <l:template name="set" text="%t"/> <l:template name="setindex" text="%t"/> <l:template name="sidebar" text="%t"/> <l:template name="step" text="%t"/> <l:template name="table" text="表 %n. %t"/> <l:template name="task" text="%t"/> <l:template name="tip" text="%t"/> <l:template name="toc" text="%t"/> <l:template name="variablelist" text="%t"/> <l:template name="varlistentry" text=""/> <l:template name="warning" text="%t"/> </l:context> <l:context name="title-unnumbered"> <l:template name="appendix" text="%t"/> <l:template name="article/appendix" text="%t"/> <l:template name="bridgehead" text="%t"/> <l:template name="chapter" text="%t"/> <l:template name="sect1" text="%t"/> <l:template name="sect2" text="%t"/> <l:template name="sect3" text="%t"/> <l:template name="sect4" text="%t"/> <l:template name="sect5" text="%t"/> <l:template name="section" text="%t"/> <l:template name="simplesect" text="%t"/> </l:context> <l:context name="title-numbered"> <l:template name="appendix" text="附录 %n. %t"/> <l:template name="article/appendix" text="%n. %t"/> <l:template name="bridgehead" text="%n. %t"/> <l:template name="chapter" text="第 %n 章 %t"/> <l:template name="sect1" text="%n. %t"/> <l:template name="sect2" text="%n. %t"/> <l:template name="sect3" text="%n. %t"/> <l:template name="sect4" text="%n. %t"/> <l:template name="sect5" text="%n. %t"/> <l:template name="section" text="%n. %t"/> <l:template name="simplesect" text="%t"/> </l:context> <l:context name="subtitle"> <l:template name="appendix" text="%s"/> <l:template name="article" text="%s"/> <l:template name="bibliodiv" text="%s"/> <l:template name="biblioentry" text="%s"/> <l:template name="bibliography" text="%s"/> <l:template name="bibliomixed" text="%s"/> <l:template name="bibliomset" text="%s"/> <l:template name="biblioset" text="%s"/> <l:template name="book" text="%s"/> <l:template name="chapter" text="%s"/> <l:template name="colophon" text="%s"/> <l:template name="dedication" text="%s"/> <l:template name="glossary" text="%s"/> <l:template name="glossdiv" text="%s"/> <l:template name="index" text="%s"/> <l:template name="indexdiv" text="%s"/> <l:template name="lot" text="%s"/> <l:template name="part" text="%s"/> <l:template name="partintro" text="%s"/> <l:template name="preface" text="%s"/> <l:template name="refentry" text="%s"/> <l:template name="reference" text="%s"/> <l:template name="refsection" text="%s"/> <l:template name="refsect1" text="%s"/> <l:template name="refsect2" text="%s"/> <l:template name="refsect3" text="%s"/> <l:template name="refsynopsisdiv" text="%s"/> <l:template name="sect1" text="%s"/> <l:template name="sect2" text="%s"/> <l:template name="sect3" text="%s"/> <l:template name="sect4" text="%s"/> <l:template name="sect5" text="%s"/> <l:template name="section" text="%s"/> <l:template name="set" text="%s"/> <l:template name="setindex" text="%s"/> <l:template name="sidebar" text="%s"/> <l:template name="simplesect" text="%s"/> <l:template name="toc" text="%s"/> </l:context> <l:context name="xref"> <l:template name="abstract" text="%t"/> <l:template name="answer" text="答: %n"/> <l:template name="appendix" text="%t"/> <l:template name="article" text="%t"/> <l:template name="authorblurb" text="%t"/> <l:template name="bibliodiv" text="%t"/> <l:template name="bibliography" text="%t"/> <l:template name="bibliomset" text="%t"/> <l:template name="biblioset" text="%t"/> <l:template name="blockquote" text="%t"/> <l:template name="book" text="%t"/> <l:template name="calloutlist" text="%t"/> <l:template name="caution" text="%t"/> <l:template name="chapter" text="%t"/> <l:template name="colophon" text="%t"/> <l:template name="constraintdef" text="%t"/> <l:template name="dedication" text="%t"/> <l:template name="equation" text="%t"/> <l:template name="example" text="%t"/> <l:template name="figure" text="%t"/> <l:template name="formalpara" text="%t"/> <l:template name="glossary" text="%t"/> <l:template name="glossdiv" text="%t"/> <l:template name="important" text="%t"/> <l:template name="index" text="%t"/> <l:template name="indexdiv" text="%t"/> <l:template name="itemizedlist" text="%t"/> <l:template name="legalnotice" text="%t"/> <l:template name="listitem" text="%n"/> <l:template name="lot" text="%t"/> <l:template name="msg" text="%t"/> <l:template name="msgexplan" text="%t"/> <l:template name="msgmain" text="%t"/> <l:template name="msgrel" text="%t"/> <l:template name="msgset" text="%t"/> <l:template name="msgsub" text="%t"/> <l:template name="note" text="%t"/> <l:template name="orderedlist" text="%t"/> <l:template name="part" text="%t"/> <l:template name="partintro" text="%t"/> <l:template name="preface" text="%t"/> <l:template name="procedure" text="%t"/> <l:template name="productionset" text="%t"/> <l:template name="qandadiv" text="%t"/> <l:template name="qandaentry" text="问: %n"/> <l:template name="qandaset" text="%t"/> <l:template name="question" text="问: %n"/> <l:template name="reference" text="%t"/> <l:template name="refsynopsisdiv" text="%t"/> <l:template name="segmentedlist" text="%t"/> <l:template name="set" text="%t"/> <l:template name="setindex" text="%t"/> <l:template name="sidebar" text="%t"/> <l:template name="table" text="%t"/> <l:template name="tip" text="%t"/> <l:template name="toc" text="%t"/> <l:template name="variablelist" text="%t"/> <l:template name="varlistentry" text="%n"/> <l:template name="warning" text="%t"/> <l:template name="olink.document.citation" text=" in %o" lang="en"/> <l:template name="olink.page.citation" text=" (page %p)" lang="en"/> <l:template name="page.citation" text=" [%p]"/> <l:template name="page" text="(第 %p 页)"/> <l:template name="docname" text=" in %o" lang="en"/> <l:template name="docnamelong" text=" in the document titled %o" lang="en"/> <l:template name="pageabbrev" text="(第 %p 页)"/> <l:template name="Page" text="第 %p 页"/> <l:template name="bridgehead" text="“%t”一节"/> <l:template name="refsection" text="“%t”一节"/> <l:template name="refsect1" text="“%t”一节"/> <l:template name="refsect2" text="“%t”一节"/> <l:template name="refsect3" text="“%t”一节"/> <l:template name="sect1" text="“%t”一节"/> <l:template name="sect2" text="“%t”一节"/> <l:template name="sect3" text="“%t”一节"/> <l:template name="sect4" text="“%t”一节"/> <l:template name="sect5" text="“%t”一节"/> <l:template name="section" text="“%t”一节"/> <l:template name="simplesect" text="“%t”一节"/> </l:context> <l:context name="xref-number"> <l:template name="answer" text="答: %n"/> <l:template name="appendix" text="附录 %n"/> <l:template name="bridgehead" text="第 %n 节"/> <l:template name="chapter" text="第 %n 章"/> <l:template name="equation" text="公式 %n"/> <l:template name="example" text="例 %n"/> <l:template name="figure" text="图 %n"/> <l:template name="part" text="第 %n 部分"/> <l:template name="procedure" text="过程 %n"/> <l:template name="productionset" text="Production %n"/> <l:template name="qandadiv" text="质保 %n"/> <l:template name="qandaentry" text="问: %n"/> <l:template name="question" text="问: %n"/> <l:template name="sect1" text="第 %n 节"/> <l:template name="sect2" text="第 %n 节"/> <l:template name="sect3" text="第 %n 节"/> <l:template name="sect4" text="第 %n 节"/> <l:template name="sect5" text="第 %n 节"/> <l:template name="section" text="第 %n 节"/> <l:template name="table" text="表 %n"/> </l:context> <l:context name="xref-number-and-title"> <l:template name="appendix" text="附录 %n, %t"/> <l:template name="bridgehead" text="第 %n 节 “%t”"/> <l:template name="chapter" text="第 %n 章 %t"/> <l:template name="equation" text="公式 %n “%t”"/> <l:template name="example" text="例 %n “%t”"/> <l:template name="figure" text="图 %n “%t”"/> <l:template name="part" text="第 %n 部分 “%t”"/> <l:template name="procedure" text="过程 %n, “%t”"/> <l:template name="productionset" text="Production %n, “%t”"/> <l:template name="qandadiv" text="质保 %n, “%t”"/> <l:template name="refsect1" text="“%t”一节"/> <l:template name="refsect2" text="“%t”一节"/> <l:template name="refsect3" text="“%t”一节"/> <l:template name="refsection" text="“%t”一节"/> <l:template name="sect1" text="第 %n 节 “%t”"/> <l:template name="sect2" text="第 %n 节 “%t”"/> <l:template name="sect3" text="第 %n 节 “%t”"/> <l:template name="sect4" text="第 %n 节 “%t”"/> <l:template name="sect5" text="第 %n 节 “%t”"/> <l:template name="section" text="第 %n 节 “%t”"/> <l:template name="simplesect" text="“%t”一节"/> <l:template name="table" text="表 %n “%t”"/> </l:context> <l:context name="authorgroup"> <l:template name="sep" text="、"/> <l:template name="sep2" text="和"/> <l:template name="seplast" text="和"/> </l:context> <l:context name="glossary"> <l:template name="see" text="见"/> <l:template name="seealso" text="参见"/> </l:context> <l:context name="msgset"> <l:template name="MsgAud" text="受众:"/> <l:template name="MsgLevel" text="级别:"/> <l:template name="MsgOrig" text="出处:"/> </l:context> <l:context name="datetime"> <l:template name="format" text="Y-m-d"/> </l:context> <l:context name="datetime-full"> <l:template name="January" text="一月"/> <l:template name="February" text="二月"/> <l:template name="March" text="三月"/> <l:template name="April" text="四月"/> <l:template name="May" text="五月"/> <l:template name="June" text="六月"/> <l:template name="July" text="七月"/> <l:template name="August" text="八月"/> <l:template name="September" text="九月"/> <l:template name="October" text="十月"/> <l:template name="November" text="十一月"/> <l:template name="December" text="十二月"/> <l:template name="Monday" text="星期一"/> <l:template name="Tuesday" text="星期二"/> <l:template name="Wednesday" text="星期三"/> <l:template name="Thursday" text="星期四"/> <l:template name="Friday" text="星期五"/> <l:template name="Saturday" text="星期六"/> <l:template name="Sunday" text="星期日"/> </l:context> <l:context name="datetime-abbrev"> <l:template name="Jan" text="一月"/> <l:template name="Feb" text="二月"/> <l:template name="Mar" text="三月"/> <l:template name="Apr" text="四月"/> <l:template name="May" text="五月"/> <l:template name="Jun" text="六月"/> <l:template name="Jul" text="七月"/> <l:template name="Aug" text="八月"/> <l:template name="Sep" text="九月"/> <l:template name="Oct" text="十月"/> <l:template name="Nov" text="十一月"/> <l:template name="Dec" text="十二月"/> <l:template name="Mon" text="周一"/> <l:template name="Tue" text="周二"/> <l:template name="Wed" text="周三"/> <l:template name="Thu" text="周四"/> <l:template name="Fri" text="周五"/> <l:template name="Sat" text="周六"/> <l:template name="Sun" text="周日"/> </l:context> <l:context name="htmlhelp"> <l:template name="langcode" text="0x0804 Chinese (CHINA)"/> </l:context> <l:letters> <l:l i="-1"/> <l:l i="0">其它</l:l> <l:l i="10">A</l:l> <l:l i="10">a</l:l> <l:l i="20">B</l:l> <l:l i="20">b</l:l> <l:l i="30">C</l:l> <l:l i="30">c</l:l> <l:l i="40">D</l:l> <l:l i="40">d</l:l> <l:l i="50">E</l:l> <l:l i="50">e</l:l> <l:l i="60">F</l:l> <l:l i="60">f</l:l> <l:l i="70">G</l:l> <l:l i="70">g</l:l> <l:l i="80">H</l:l> <l:l i="80">h</l:l> <l:l i="90">I</l:l> <l:l i="90">i</l:l> <l:l i="100">J</l:l> <l:l i="100">j</l:l> <l:l i="110">K</l:l> <l:l i="110">k</l:l> <l:l i="120">L</l:l> <l:l i="120">l</l:l> <l:l i="130">M</l:l> <l:l i="130">m</l:l> <l:l i="140">N</l:l> <l:l i="140">n</l:l> <l:l i="150">O</l:l> <l:l i="150">o</l:l> <l:l i="160">P</l:l> <l:l i="160">p</l:l> <l:l i="170">Q</l:l> <l:l i="170">q</l:l> <l:l i="180">R</l:l> <l:l i="180">r</l:l> <l:l i="190">S</l:l> <l:l i="190">s</l:l> <l:l i="200">T</l:l> <l:l i="200">t</l:l> <l:l i="210">U</l:l> <l:l i="210">u</l:l> <l:l i="220">V</l:l> <l:l i="220">v</l:l> <l:l i="230">W</l:l> <l:l i="230">w</l:l> <l:l i="240">X</l:l> <l:l i="240">x</l:l> <l:l i="250">Y</l:l> <l:l i="250">y</l:l> <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> </l:l10n> --- NEW FILE: ca.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca" english-language-name="Catalan"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="Resum"/> <l:gentext key="abstract" text="Resum"/> <l:gentext key="Answer" text="Resposta"/> <l:gentext key="answer" text="Resposta"/> <l:gentext key="Appendix" text="Apèndix"/> <l:gentext key="appendix" text="Apèndix"/> <l:gentext key="Article" text="Article"/> <l:gentext key="article" text="Article"/> <l:gentext key="Bibliography" text="Bibliografia"/> <l:gentext key="bibliography" text="Bibliografia"/> [...1118 lines suppressed...] <l:l i="260">Ź</l:l> <l:l i="260">ź</l:l> <l:l i="260">Ż</l:l> <l:l i="260">ż</l:l> <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> <l:l i="260">Ƶ</l:l> <l:l i="260">ƶ</l:l> <l:l i="260">Ȥ</l:l> <l:l i="260">ȥ</l:l> <l:l i="260">ʐ</l:l> <l:l i="260">ʑ</l:l> <l:l i="260">Ẑ</l:l> <l:l i="260">ẑ</l:l> <l:l i="260">Ẓ</l:l> <l:l i="260">ẓ</l:l> <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> </l:l10n> --- NEW FILE: eu.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu" english-language-name="Basque"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="Laburpena"/> <l:gentext key="abstract" text="Laburpena"/> <l:gentext key="Answer" text="E:"/> <l:gentext key="answer" text="E:"/> <l:gentext key="Appendix" text="Eranskina"/> <l:gentext key="appendix" text="eranskina"/> <l:gentext key="Article" text="Artikulua"/> <l:gentext key="article" text="Artikulua"/> <l:gentext key="Bibliography" text="Bibliografia"/> <l:gentext key="bibliography" text="Bibliografia"/> [...1118 lines suppressed...] <l:l i="260">Ź</l:l> <l:l i="260">ź</l:l> <l:l i="260">Ż</l:l> <l:l i="260">ż</l:l> <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> <l:l i="260">Ƶ</l:l> <l:l i="260">ƶ</l:l> <l:l i="260">Ȥ</l:l> <l:l i="260">ȥ</l:l> <l:l i="260">ʐ</l:l> <l:l i="260">ʑ</l:l> <l:l i="260">Ẑ</l:l> <l:l i="260">ẑ</l:l> <l:l i="260">Ẓ</l:l> <l:l i="260">ẓ</l:l> <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> </l:l10n> --- NEW FILE: ar.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ar" english-language-name="Arabic"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="خلاصة"/> <l:gentext key="abstract" text="خلاصة"/> <l:gentext key="Answer" text="ج:"/> <l:gentext key="answer" text="ج:"/> <l:gentext key="Appendix" text="ملحق"/> <l:gentext key="appendix" text="ملحق"/> <l:gentext key="Article" text="مقال"/> <l:gentext key="article" text="مقال"/> <l:gentext key="Bibliography" text="قائمة المراجع"/> <l:gentext key="bibliography" text="قائمة المراجع"/> [...1118 lines suppressed...] <l:l i="260">Ź</l:l> <l:l i="260">ź</l:l> <l:l i="260">Ż</l:l> <l:l i="260">ż</l:l> <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> <l:l i="260">Ƶ</l:l> <l:l i="260">ƶ</l:l> <l:l i="260">Ȥ</l:l> <l:l i="260">ȥ</l:l> <l:l i="260">ʐ</l:l> <l:l i="260">ʑ</l:l> <l:l i="260">Ẑ</l:l> <l:l i="260">ẑ</l:l> <l:l i="260">Ẓ</l:l> <l:l i="260">ẓ</l:l> <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> </l:l10n> --- NEW FILE: et.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et" english-language-name="Estonian"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="Ülevaade"/> <l:gentext key="abstract" text="Ülevaade"/> <l:gentext key="Answer" text="V:"/> <l:gentext key="answer" text="V:"/> <l:gentext key="Appendix" text="Lisa"/> <l:gentext key="appendix" text="lisa"/> <l:gentext key="Article" text="Artikkel"/> <l:gentext key="article" text="Artikkel"/> <l:gentext key="Bibliography" text="Bibliograafia"/> <l:gentext key="bibliography" text="Bibliograafia"/> [...1118 lines suppressed...] <l:l i="260">Ź</l:l> <l:l i="260">ź</l:l> <l:l i="260">Ż</l:l> <l:l i="260">ż</l:l> <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> <l:l i="260">Ƶ</l:l> <l:l i="260">ƶ</l:l> <l:l i="260">Ȥ</l:l> <l:l i="260">ȥ</l:l> <l:l i="260">ʐ</l:l> <l:l i="260">ʑ</l:l> <l:l i="260">Ẑ</l:l> <l:l i="260">ẑ</l:l> <l:l i="260">Ẓ</l:l> <l:l i="260">ẓ</l:l> <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> </l:l10n> --- NEW FILE: titles.xsl --- <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" exclude-result-prefixes="doc" version='1.0'> <!-- ******************************************************************** $Id: titles.xsl,v 1.1 2004/10/21 12:52:06 mikedoerfler Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <!-- title markup --> <doc:mode mode="title.markup" xmlns=""> <refpurpose>Provides access to element titles</refpurpose> <refdescription> <para>Processing an element in the <literal role="mode">title.markup</literal> mode produces the title of the element. This does not include the label. </para> </refdescription> </doc:mode> <xsl:template match="*" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:when test="local-name(.) = 'partintro'"> <!-- partintro's don't have titles, use the parent (part or reference) title instead. --> <xsl:apply-templates select="parent::*" mode="title.markup"/> </xsl:when> <xsl:otherwise> <xsl:if test="$verbose != 0"> <xsl:message> <xsl:text>Request for title of element with no title: </xsl:text> <xsl:value-of select="name(.)"/> <xsl:if test="@id"> <xsl:text> (id="</xsl:text> <xsl:value-of select="@id"/> <xsl:text>")</xsl:text> </xsl:if> </xsl:message> </xsl:if> <xsl:text>???TITLE???</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="title" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> <xsl:apply-templates/> </xsl:when> <xsl:otherwise> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- only occurs in HTML Tables! --> <xsl:template match="caption" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> <xsl:apply-templates/> </xsl:when> <xsl:otherwise> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="set" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="(setinfo/title|info/title|title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="book" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="(bookinfo/title|info/title|title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="part" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="(partinfo/title|info/title|docinfo/title|title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="preface|chapter|appendix" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <!-- <xsl:message> <xsl:value-of select="name(.)"/> <xsl:text> </xsl:text> <xsl:value-of select="$allow-anchors"/> </xsl:message> --> <xsl:variable name="title" select="(docinfo/title |info/title |prefaceinfo/title |chapterinfo/title |appendixinfo/title |title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="dedication" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Dedication'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="colophon" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Colophon'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="article" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(artheader/title |articleinfo/title |info/title |title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="reference" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="(referenceinfo/title|docinfo/title|info/title|title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="refentry" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="refmeta" select=".//refmeta"/> <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> <xsl:variable name="refnamediv" select=".//refnamediv"/> <xsl:variable name="refname" select="$refnamediv//refname"/> <xsl:variable name="title"> <xsl:choose> <xsl:when test="$refentrytitle"> <xsl:apply-templates select="$refentrytitle[1]" mode="title.markup"/> </xsl:when> <xsl:when test="$refname"> <xsl:apply-templates select="$refname[1]" mode="title.markup"/> </xsl:when> <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:copy-of select="$title"/> </xsl:template> <xsl:template match="refentrytitle|refname" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> <xsl:apply-templates/> </xsl:when> <xsl:otherwise> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="section |sect1|sect2|sect3|sect4|sect5 |refsect1|refsect2|refsect3 |simplesect" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(info/title |sectioninfo/title |sect1info/title |sect2info/title |sect3info/title |sect4info/title |sect5info/title |refsect1info/title |refsect2info/title |refsect3info/title |title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="bridgehead" mode="title.markup"> <xsl:apply-templates mode="title.markup"/> </xsl:template> <xsl:template match="refsynopsisdiv" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'RefSynopsisDiv'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="bibliography" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(bibliographyinfo/title|info/title|title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Bibliography'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="glossary" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(glossaryinfo/title|info/title|title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext.element.name"> <xsl:with-param name="element.name" select="name(.)"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="glossentry" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="glossterm" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="glossterm" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> <xsl:apply-templates/> </xsl:when> <xsl:otherwise> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="index" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(indexinfo/title|info/title|title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Index'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="setindex" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="(setindexinfo/title|info/title|title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'SetIndex'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="figure|example|equation" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="table" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="title|caption" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="procedure" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> <xsl:template match="abstract" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Abstract'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="caution|tip|warning|important|note" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:variable name="title" select="title[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key"> <xsl:choose> <xsl:when test="local-name(.)='note'">Note</xsl:when> <xsl:when test="local-name(.)='important'">Important</xsl:when> <xsl:when test="local-name(.)='caution'">Caution</xsl:when> <xsl:when test="local-name(.)='warning'">Warning</xsl:when> <xsl:when test="local-name(.)='tip'">Tip</xsl:when> </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="question" mode="title.markup"> <!-- questions don't have titles --> <xsl:text>Question</xsl:text> </xsl:template> <xsl:template match="answer" mode="title.markup"> <!-- answers don't have titles --> <xsl:text>Answer</xsl:text> </xsl:template> <xsl:template match="qandaentry" mode="title.markup"> <!-- qandaentrys are represented by the first question in them --> <xsl:text>Question</xsl:text> </xsl:template> <xsl:template match="legalnotice" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="title"> <xsl:apply-templates select="title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'LegalNotice'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- ============================================================ --> <xsl:template match="*" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:choose> <xsl:when test="titleabbrev"> <xsl:apply-templates select="titleabbrev[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="book|preface|chapter|appendix" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:variable name="titleabbrev" select="(docinfo/titleabbrev |bookinfo/titleabbrev |info/titleabbrev |prefaceinfo/titleabbrev |chapterinfo/titleabbrev |appendixinfo/titleabbrev |titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> <xsl:apply-templates select="$titleabbrev" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="article" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:variable name="titleabbrev" select="(artheader/titleabbrev |articleinfo/titleabbrev |info/titleabbrev |titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> <xsl:apply-templates select="$titleabbrev" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="section |sect1|sect2|sect3|sect4|sect5 |refsect1|refsect2|refsect3 |simplesect" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:variable name="titleabbrev" select="(info/titleabbrev |sectioninfo/titleabbrev |sect1info/titleabbrev |sect2info/titleabbrev |sect3info/titleabbrev |sect4info/titleabbrev |sect5info/titleabbrev |refsect1info/titleabbrev |refsect2info/titleabbrev |refsect3info/titleabbrev |titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> <xsl:apply-templates select="$titleabbrev" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="titleabbrev" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> <xsl:apply-templates/> </xsl:when> <xsl:otherwise> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- ============================================================ --> <xsl:template match="*" mode="no.anchor.mode"> <!-- Switch to normal mode if no links --> <xsl:choose> <xsl:when test="descendant-or-self::footnote or descendant-or-self::anchor or descendant-or-self::ulink or descendant-or-self::link or descendant-or-self::olink or descendant-or-self::xref or descendant-or-self::indexterm"> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="."/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="footnote" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> <xsl:template match="anchor" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> <xsl:template match="ulink" mode="no.anchor.mode"> <xsl:apply-templates/> </xsl:template> <xsl:template match="link" mode="no.anchor.mode"> <xsl:apply-templates/> </xsl:template> <xsl:template match="olink" mode="no.anchor.mode"> <xsl:apply-templates/> </xsl:template> <xsl:template match="indexterm" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> <xsl:template match="xref" mode="no.anchor.mode"> <!-- FIXME: this should generate the text without the link... --> </xsl:template> <!-- ============================================================ --> </xsl:stylesheet> --- NEW FILE: ru.xml --- <?xml version="1.0" encoding="US-ASCII"?> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru" english-language-name="Russian"> <!-- This file is generated automatically. --> <!-- Do not edit this file by hand! --> <!-- See http://docbook.sourceforge.net/ --> <!-- To update this file: edit the corresponding document at --> <!-- http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/gentext/locale/ --> <l:gentext key="Abstract" text="Аннотация"/> <l:gentext key="abstract" text="Аннотация"/> <l:gentext key="Answer" text="О:"/> <l:gentext key="answer" text="О:"/> <l:gentext key="Appendix" text="Приложение"/> <l:gentext key="appendix" text="приложение"/> <l:gentext key="Article" text="Статья"/> <l:gentext key="article" text="Статn... [truncated message content] |
From: Michael D. <mik...@us...> - 2004-10-21 12:52:05
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/support/docbook-dtd Added Files: ChangeLog README docbook.cat calstblx.dtd docbookx.dtd soextblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod dbnotnx.mod dbpoolx.mod catalog.xml Log Message: Added all of the support files needed by docbook to build the html. --- NEW FILE: dbpoolx.mod --- <!-- ...................................................................... --> <!-- DocBook XML information pool module V4.2 ............................. --> <!-- File dbpoolx.mod ..................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). $Id: dbpoolx.mod,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook XML DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. [...7885 lines suppressed...] <!--end of see.attlist-->]]> <!ENTITY % seealso.element "INCLUDE"> <![%seealso.element;[ <!ELEMENT seealso %ho; (%ndxterm.char.mix;)*> <!--end of seealso.element-->]]> <!ENTITY % seealso.attlist "INCLUDE"> <![%seealso.attlist;[ <!ATTLIST seealso %common.attrib; %seeseealso.role.attrib; %local.seeseealso.attrib; > <!--end of seealso.attlist-->]]> <!--end of seeseealso.module-->]]> <!--end of indexterm.content.module-->]]> <!-- End of DocBook XML information pool module V4.2 ...................... --> <!-- ...................................................................... --> --- NEW FILE: catalog.xml --- <?xml version='1.0'?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <!-- ...................................................................... --> <!-- XML Catalog data for DocBook XML V4.2 ................................ --> <!-- File catalog.xml ..................................................... --> <!-- Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/. --> <!-- This is the catalog data file for DocBook V4.2. It is provided as a convenience in building your own catalog files. You need not use the filenames listed here, and need not use the filename method of identifying storage objects at all. See the documentation for detailed information on the files associated with the DocBook DTD. See XML Catalogs at http://www.oasis-open.org/committees/entity/ for detailed information on supplying and using catalog data. --> <!-- ...................................................................... --> <!-- DocBook driver file .................................................. --> <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="docbookx.dtd"/> <!-- ...................................................................... --> <!-- DocBook modules ...................................................... --> <public publicId="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" uri="calstblx.dtd"/> <public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" uri="soextblx.dtd"/> <public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" uri="dbpoolx.mod"/> <public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" uri="dbhierx.mod"/> <public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" uri="dbgenent.mod"/> <public publicId="-//OASIS//ENTITIES DocBook Notations V4.2//EN" uri="dbnotnx.mod"/> <public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" uri="dbcentx.mod"/> <!-- ...................................................................... --> <!-- ISO entity sets ...................................................... --> <public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" uri="ent/iso-dia.ent"/> <public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" uri="ent/iso-num.ent"/> <public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" uri="ent/iso-pub.ent"/> <public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" uri="ent/iso-tech.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" uri="ent/iso-lat1.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" uri="ent/iso-lat2.ent"/> <public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" uri="ent/iso-grk1.ent"/> <public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" uri="ent/iso-grk2.ent"/> <public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" uri="ent/iso-grk3.ent"/> <public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" uri="ent/iso-grk4.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" uri="ent/iso-amsa.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" uri="ent/iso-amsb.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" uri="ent/iso-amsc.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" uri="ent/iso-amsn.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" uri="ent/iso-amso.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" uri="ent/iso-amsr.ent"/> <public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" uri="ent/iso-box.ent"/> <public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" uri="ent/iso-cyr1.ent"/> <public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" uri="ent/iso-cyr2.ent"/> <!-- End of catalog data for DocBook XML V4.2 ............................. --> <!-- ...................................................................... --> </catalog> --- NEW FILE: docbookx.dtd --- <!-- ...................................................................... --> <!-- DocBook XML DTD V4.2 ................................................. --> <!-- File docbookx.dtd .................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). $Id: docbookx.dtd,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook XML DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. If you modify the DocBook DTD in any way, except for declaring and referencing additional sets of general entities and declaring additional notations, label your DTD as a variant of DocBook. See the maintenance documentation for more information. Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/docbook/. --> <!-- ...................................................................... --> <!-- This is the driver file for V4.2 of the DocBook DTD. Please use the following formal public identifier to identify it: "-//OASIS//DTD DocBook XML V4.2//EN" For example, if your document's top-level element is Book, and you are using DocBook directly, use the FPI in the DOCTYPE declaration: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [...]> Or, if you have a higher-level driver file that customizes DocBook, use the FPI in the parameter entity declaration: <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> %DocBookDTD; See the documentation for detailed information on the parameter entity and module scheme used in DocBook, customizing DocBook and planning for interchange, and changes made since the last release of DocBook. --> <!-- ...................................................................... --> <!-- Enable SGML features ................................................. --> <!ENTITY % sgml.features "IGNORE"> <![%sgml.features;[ <!ENTITY % xml.features "IGNORE"> ]]> <!ENTITY % xml.features "INCLUDE"> <![%sgml.features;[ <![%xml.features;[ <!-- ERROR: Exactly one of xml.features and sgml.features must be turned on! --> <!ENTITY % dbnotn SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> <!ENTITY % dbcent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> <!ENTITY % dbpool SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> <!ENTITY % dbhier SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> <!ENTITY % dbgenent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> ]]> ]]> <![%sgml.features;[ <!ENTITY % ho "- O"> <!ENTITY % hh "- -"> ]]> <![%xml.features;[ <!ENTITY % ho ""> <!ENTITY % hh ""> ]]> <!-- ...................................................................... --> <!-- Notation declarations ................................................ --> <!ENTITY % dbnotn.module "INCLUDE"> <![%dbnotn.module;[ <!ENTITY % dbnotn PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "dbnotnx.mod"> %dbnotn; ]]> <!-- ...................................................................... --> <!-- ISO character entity sets ............................................ --> <!ENTITY % dbcent.module "INCLUDE"> <![%dbcent.module;[ <![%sgml.features;[ <!ENTITY euro "[euro ]"><!-- euro sign, U+20AC NEW --> ]]> <![%xml.features;[ <!ENTITY euro "€"><!-- euro sign, U+20AC NEW --> ]]> <!ENTITY % dbcent PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "dbcentx.mod"> %dbcent; ]]> <!-- ...................................................................... --> <!-- DTD modules .......................................................... --> <!-- Information pool .............. --> <!ENTITY % dbpool.module "INCLUDE"> <![ %dbpool.module; [ <!ENTITY % dbpool PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "dbpoolx.mod"> %dbpool; ]]> <!-- Redeclaration placeholder ..... --> <!ENTITY % intermod.redecl.module "IGNORE"> <![%intermod.redecl.module;[ <!-- Defining rdbmods here makes some buggy XML parsers happy. --> <!ENTITY % rdbmods ""> %rdbmods; <!--end of intermod.redecl.module-->]]> <!-- Document hierarchy ............ --> <!ENTITY % dbhier.module "INCLUDE"> <![ %dbhier.module; [ <!ENTITY % dbhier PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "dbhierx.mod"> %dbhier; ]]> <!-- ...................................................................... --> <!-- Other general entities ............................................... --> <!ENTITY % dbgenent.module "INCLUDE"> <![ %dbgenent.module; [ <!ENTITY % dbgenent PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "dbgenent.mod"> %dbgenent; ]]> <!-- End of DocBook XML DTD V4.2 .......................................... --> <!-- ...................................................................... --> --- NEW FILE: dbcentx.mod --- <!-- ...................................................................... --> <!-- DocBook character entities module V4.2 ............................... --> <!-- File dbcentx.mod ..................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). $Id: dbcentx.mod,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. If you modify the DocBook DTD in any way, except for declaring and referencing additional sets of general entities and declaring additional notations, label your DTD as a variant of DocBook. See the maintenance documentation for more information. Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/docbook/. --> <!-- ...................................................................... --> <!-- This module contains the entity declarations for the standard ISO entity sets used by DocBook. In DTD driver files referring to this module, please use an entity declaration that uses the public identifier shown below: <!ENTITY % dbcent PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "dbcentx.mod"> %dbcent; See the documentation for detailed information on the parameter entity and module scheme used in DocBook, customizing DocBook and planning for interchange, and changes made since the last release of DocBook. --> <!-- ...................................................................... --> <![%sgml.features;[ <!ENTITY % ISOamsa.module "INCLUDE"> <![ %ISOamsa.module; [ <!ENTITY % ISOamsa PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"> <!--end of ISOamsa.module-->]]> <!ENTITY % ISOamsb.module "INCLUDE"> <![ %ISOamsb.module; [ <!ENTITY % ISOamsb PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"> <!--end of ISOamsb.module-->]]> <!ENTITY % ISOamsc.module "INCLUDE"> <![ %ISOamsc.module; [ <!ENTITY % ISOamsc PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"> <!--end of ISOamsc.module-->]]> <!ENTITY % ISOamsn.module "INCLUDE"> <![ %ISOamsn.module; [ <!ENTITY % ISOamsn PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"> <!--end of ISOamsn.module-->]]> <!ENTITY % ISOamso.module "INCLUDE"> <![ %ISOamso.module; [ <!ENTITY % ISOamso PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"> <!--end of ISOamso.module-->]]> <!ENTITY % ISOamsr.module "INCLUDE"> <![ %ISOamsr.module; [ <!ENTITY % ISOamsr PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"> <!--end of ISOamsr.module-->]]> <!ENTITY % ISObox.module "INCLUDE"> <![ %ISObox.module; [ <!ENTITY % ISObox PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"> <!--end of ISObox.module-->]]> <!ENTITY % ISOcyr1.module "INCLUDE"> <![ %ISOcyr1.module; [ <!ENTITY % ISOcyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"> <!--end of ISOcyr1.module-->]]> <!ENTITY % ISOcyr2.module "INCLUDE"> <![ %ISOcyr2.module; [ <!ENTITY % ISOcyr2 PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"> <!--end of ISOcyr2.module-->]]> <!ENTITY % ISOdia.module "INCLUDE"> <![ %ISOdia.module; [ <!ENTITY % ISOdia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"> <!--end of ISOdia.module-->]]> <!ENTITY % ISOgrk1.module "INCLUDE"> <![ %ISOgrk1.module; [ <!ENTITY % ISOgrk1 PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"> <!--end of ISOgrk1.module-->]]> <!ENTITY % ISOgrk2.module "INCLUDE"> <![ %ISOgrk2.module; [ <!ENTITY % ISOgrk2 PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"> <!--end of ISOgrk2.module-->]]> <!ENTITY % ISOgrk3.module "INCLUDE"> <![ %ISOgrk3.module; [ <!ENTITY % ISOgrk3 PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"> <!--end of ISOgrk3.module-->]]> <!ENTITY % ISOgrk4.module "INCLUDE"> <![ %ISOgrk4.module; [ <!ENTITY % ISOgrk4 PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"> <!--end of ISOgrk4.module-->]]> <!ENTITY % ISOlat1.module "INCLUDE"> <![ %ISOlat1.module; [ <!ENTITY % ISOlat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"> <!--end of ISOlat1.module-->]]> <!ENTITY % ISOlat2.module "INCLUDE"> <![ %ISOlat2.module; [ <!ENTITY % ISOlat2 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"> <!--end of ISOlat2.module-->]]> <!ENTITY % ISOnum.module "INCLUDE"> <![ %ISOnum.module; [ <!ENTITY % ISOnum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"> <!--end of ISOnum.module-->]]> <!ENTITY % ISOpub.module "INCLUDE"> <![ %ISOpub.module; [ <!ENTITY % ISOpub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"> <!--end of ISOpub.module-->]]> <!ENTITY % ISOtech.module "INCLUDE"> <![ %ISOtech.module; [ <!ENTITY % ISOtech PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"> <!--end of ISOtech.module-->]]> <!--end of sgml.features-->]]> <![%xml.features;[ <!ENTITY % ISOamsa.module "INCLUDE"> <![%ISOamsa.module;[ <!ENTITY % ISOamsa PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "ent/iso-amsa.ent"> <!--end of ISOamsa.module-->]]> <!ENTITY % ISOamsb.module "INCLUDE"> <![%ISOamsb.module;[ <!ENTITY % ISOamsb PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "ent/iso-amsb.ent"> <!--end of ISOamsb.module-->]]> <!ENTITY % ISOamsc.module "INCLUDE"> <![%ISOamsc.module;[ <!ENTITY % ISOamsc PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "ent/iso-amsc.ent"> <!--end of ISOamsc.module-->]]> <!ENTITY % ISOamsn.module "INCLUDE"> <![%ISOamsn.module;[ <!ENTITY % ISOamsn PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "ent/iso-amsn.ent"> <!--end of ISOamsn.module-->]]> <!ENTITY % ISOamso.module "INCLUDE"> <![%ISOamso.module;[ <!ENTITY % ISOamso PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "ent/iso-amso.ent"> <!--end of ISOamso.module-->]]> <!ENTITY % ISOamsr.module "INCLUDE"> <![%ISOamsr.module;[ <!ENTITY % ISOamsr PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "ent/iso-amsr.ent"> <!--end of ISOamsr.module-->]]> <!ENTITY % ISObox.module "INCLUDE"> <![%ISObox.module;[ <!ENTITY % ISObox PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "ent/iso-box.ent"> <!--end of ISObox.module-->]]> <!ENTITY % ISOcyr1.module "INCLUDE"> <![%ISOcyr1.module;[ <!ENTITY % ISOcyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "ent/iso-cyr1.ent"> <!--end of ISOcyr1.module-->]]> <!ENTITY % ISOcyr2.module "INCLUDE"> <![%ISOcyr2.module;[ <!ENTITY % ISOcyr2 PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "ent/iso-cyr2.ent"> <!--end of ISOcyr2.module-->]]> <!ENTITY % ISOdia.module "INCLUDE"> <![%ISOdia.module;[ <!ENTITY % ISOdia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "ent/iso-dia.ent"> <!--end of ISOdia.module-->]]> <!ENTITY % ISOgrk1.module "INCLUDE"> <![%ISOgrk1.module;[ <!ENTITY % ISOgrk1 PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "ent/iso-grk1.ent"> <!--end of ISOgrk1.module-->]]> <!ENTITY % ISOgrk2.module "INCLUDE"> <![%ISOgrk2.module;[ <!ENTITY % ISOgrk2 PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "ent/iso-grk2.ent"> <!--end of ISOgrk2.module-->]]> <!ENTITY % ISOgrk3.module "INCLUDE"> <![%ISOgrk3.module;[ <!ENTITY % ISOgrk3 PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "ent/iso-grk3.ent"> <!--end of ISOgrk3.module-->]]> <!ENTITY % ISOgrk4.module "INCLUDE"> <![%ISOgrk4.module;[ <!ENTITY % ISOgrk4 PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "ent/iso-grk4.ent"> <!--end of ISOgrk4.module-->]]> <!ENTITY % ISOlat1.module "INCLUDE"> <![%ISOlat1.module;[ <!ENTITY % ISOlat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ent/iso-lat1.ent"> <!--end of ISOlat1.module-->]]> <!ENTITY % ISOlat2.module "INCLUDE"> <![%ISOlat2.module;[ <!ENTITY % ISOlat2 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "ent/iso-lat2.ent"> <!--end of ISOlat2.module-->]]> <!ENTITY % ISOnum.module "INCLUDE"> <![%ISOnum.module;[ <!ENTITY % ISOnum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ent/iso-num.ent"> <!--end of ISOnum.module-->]]> <!ENTITY % ISOpub.module "INCLUDE"> <![%ISOpub.module;[ <!ENTITY % ISOpub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ent/iso-pub.ent"> <!--end of ISOpub.module-->]]> <!ENTITY % ISOtech.module "INCLUDE"> <![%ISOtech.module;[ <!ENTITY % ISOtech PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" "ent/iso-tech.ent"> <!--end of ISOtech.module-->]]> <!--end of xml.features-->]]> <![ %ISOamsa.module; [ %ISOamsa; ]]> <![ %ISOamsb.module; [ %ISOamsb; ]]> <![ %ISOamsc.module; [ %ISOamsc; ]]> <![ %ISOamsn.module; [ %ISOamsn; ]]> <![ %ISOamso.module; [ %ISOamso; ]]> <![ %ISOamsr.module; [ %ISOamsr; ]]> <![ %ISObox.module; [ %ISObox; ]]> <![ %ISOcyr1.module; [ %ISOcyr1; ]]> <![ %ISOcyr2.module; [ %ISOcyr2; ]]> <![ %ISOdia.module; [ %ISOdia; ]]> <![ %ISOgrk1.module; [ %ISOgrk1; ]]> <![ %ISOgrk2.module; [ %ISOgrk2; ]]> <![ %ISOgrk3.module; [ %ISOgrk3; ]]> <![ %ISOgrk4.module; [ %ISOgrk4; ]]> <![ %ISOlat1.module; [ %ISOlat1; ]]> <![ %ISOlat2.module; [ %ISOlat2; ]]> <![ %ISOnum.module; [ %ISOnum; ]]> <![ %ISOpub.module; [ %ISOpub; ]]> <![ %ISOtech.module; [ %ISOtech; ]]> <!-- End of DocBook character entity sets module V4.2 ..................... --> <!-- ...................................................................... --> --- NEW FILE: docbook.cat --- -- ...................................................................... -- -- Catalog data for DocBook XML V4.2 .................................... -- -- File docbook.cat ..................................................... -- -- Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/. -- -- This is the catalog data file for DocBook XML V4.2. It is provided as a convenience in building your own catalog files. You need not use the filenames listed here, and need not use the filename method of identifying storage objects at all. See the documentation for detailed information on the files associated with the DocBook DTD. See SGML Open Technical Resolution 9401 for detailed information on supplying and using catalog data. -- -- ...................................................................... -- -- DocBook driver file .................................................. -- PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd" -- ...................................................................... -- -- DocBook modules ...................................................... -- PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "calstblx.dtd" PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd" PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "dbpoolx.mod" PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "dbhierx.mod" PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "dbgenent.mod" PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "dbnotnx.mod" PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "dbcentx.mod" -- ...................................................................... -- -- ISO entity sets ...................................................... -- PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "ent/iso-dia.ent" PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ent/iso-num.ent" PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ent/iso-pub.ent" PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" "ent/iso-tech.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ent/iso-lat1.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "ent/iso-lat2.ent" PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "ent/iso-grk1.ent" PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "ent/iso-grk2.ent" PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "ent/iso-grk3.ent" PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "ent/iso-grk4.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "ent/iso-amsa.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "ent/iso-amsb.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "ent/iso-amsc.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "ent/iso-amsn.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "ent/iso-amso.ent" PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "ent/iso-amsr.ent" PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "ent/iso-box.ent" PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "ent/iso-cyr1.ent" PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "ent/iso-cyr2.ent" -- End of catalog data for DocBook XML V4.2 ............................. -- -- ...................................................................... -- --- NEW FILE: dbnotnx.mod --- <!-- ...................................................................... --> <!-- DocBook notations module V4.2 ........................................ --> <!-- File dbnotnx.mod ..................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). $Id: dbnotnx.mod,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. If you modify the DocBook DTD in any way, except for declaring and referencing additional sets of general entities and declaring additional notations, label your DTD as a variant of DocBook. See the maintenance documentation for more information. Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/docbook/. --> <!-- ...................................................................... --> <!-- This module contains the entity declarations for the standard ISO entity sets used by DocBook. In DTD driver files referring to this module, please use an entity declaration that uses the public identifier shown below: <!ENTITY % dbnotn PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "dbnotnx.mod"> %dbnotn; See the documentation for detailed information on the parameter entity and module scheme used in DocBook, customizing DocBook and planning for interchange, and changes made since the last release of DocBook. --> <!ENTITY % local.notation.class ""> <!ENTITY % notation.class "BMP| CGM-CHAR | CGM-BINARY | CGM-CLEAR | DITROFF | DVI | EPS | EQN | FAX | GIF | GIF87a | GIF89a | JPG | JPEG | IGES | PCX | PIC | PNG | PS | SGML | TBL | TEX | TIFF | WMF | WPG | SVG | linespecific %local.notation.class;"> <!NOTATION BMP PUBLIC "+//ISBN 0-7923-9432-1::Graphic Notation//NOTATION Microsoft Windows bitmap//EN"> <!NOTATION CGM-CHAR PUBLIC "ISO 8632/2//NOTATION Character encoding//EN"> <!NOTATION CGM-BINARY PUBLIC "ISO 8632/3//NOTATION Binary encoding//EN"> <!NOTATION CGM-CLEAR PUBLIC "ISO 8632/4//NOTATION Clear text encoding//EN"> <!NOTATION DITROFF SYSTEM "DITROFF"> <!NOTATION DVI SYSTEM "DVI"> <!NOTATION EPS PUBLIC "+//ISBN 0-201-18127-4::Adobe//NOTATION PostScript Language Ref. Manual//EN"> <!NOTATION EQN SYSTEM "EQN"> <!NOTATION FAX PUBLIC "-//USA-DOD//NOTATION CCITT Group 4 Facsimile Type 1 Untiled Raster//EN"> <!NOTATION GIF SYSTEM "GIF"> <!NOTATION GIF87a PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 87a//EN"> <!NOTATION GIF89a PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN"> <!NOTATION JPG SYSTEM "JPG"> <!NOTATION JPEG SYSTEM "JPG"> <!NOTATION IGES PUBLIC "-//USA-DOD//NOTATION (ASME/ANSI Y14.26M-1987) Initial Graphics Exchange Specification//EN"> <!NOTATION PCX PUBLIC "+//ISBN 0-7923-9432-1::Graphic Notation//NOTATION ZSoft PCX bitmap//EN"> <!NOTATION PIC SYSTEM "PIC"> <!NOTATION PNG SYSTEM "http://www.w3.org/TR/REC-png"> <!NOTATION PS SYSTEM "PS"> <!NOTATION SGML PUBLIC "ISO 8879:1986//NOTATION Standard Generalized Markup Language//EN"> <!NOTATION TBL SYSTEM "TBL"> <!NOTATION TEX PUBLIC "+//ISBN 0-201-13448-9::Knuth//NOTATION The TeXbook//EN"> <!NOTATION TIFF SYSTEM "TIFF"> <!NOTATION WMF PUBLIC "+//ISBN 0-7923-9432-1::Graphic Notation//NOTATION Microsoft Windows Metafile//EN"> <!NOTATION WPG SYSTEM "WPG"> <!--WordPerfect Graphic format--> <!NOTATION SVG SYSTEM "http://www.w3.org/TR/SVG/"> <!NOTATION linespecific SYSTEM "linespecific"> <!-- End of DocBook notations module V4.2 ................................. --> <!-- ...................................................................... --> --- NEW FILE: dbgenent.mod --- <!-- ...................................................................... --> <!-- DocBook additional general entities V4.2 ............................. --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). In DTD driver files referring to this module, please use an entity declaration that uses the public identifier shown below: <!ENTITY % dbgenent PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "dbgenent.mod"> %dbgenent; --> <!-- File dbgenent.mod .................................................... --> <!-- You can edit this file to add the following: o General entity declarations of any kind. For example: <!ENTITY productname "WinWidget"> (small boilerplate) <!ENTITY legal-notice SYSTEM "notice.sgm"> (large boilerplate) o Notation declarations. For example: <!NOTATION chicken-scratch SYSTEM> o Declarations for and references to external parameter entities containing collections of any of the above. For example: <!ENTITY % all-titles PUBLIC "-//DocTools//ELEMENTS Book Titles//EN" "booktitles.ent"> %all-titles; --> <!-- End of DocBook additional general entities V4.2 ...................... --> <!-- ...................................................................... --> --- NEW FILE: calstblx.dtd --- <!-- ...................................................................... --> <!-- DocBook CALS Table Model V4.2 ........................................ --> <!-- File calstblx.mod .................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). This DTD is based on the CALS Table Model PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" $Id: calstblx.dtd,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. If you modify the DocBook DTD in any way, except for declaring and referencing additional sets of general entities and declaring additional notations, label your DTD as a variant of DocBook. See the maintenance documentation for more information. Please direct all questions, bug reports, or suggestions for changes to the do...@li... mailing list. For more information, see http://www.oasis-open.org/docbook/. --> <!-- ...................................................................... --> <!-- This module contains the definitions for the CALS Table Model converted to XML. --> <!-- These definitions are not directly related to the table model, but are used in the default CALS table model and are usually defined elsewhere (and prior to the inclusion of this table module) in a CALS DTD. --> <!ENTITY % bodyatt ""> <!ENTITY % secur ""> <!-- no if zero(s), yes if any other digits value --> <!ENTITY % yesorno 'CDATA'> <!ENTITY % titles 'title?'> <!-- default for use in entry content --> <!ENTITY % paracon '#PCDATA'> <!-- The parameter entities as defined below provide the CALS table model as published (as part of the Example DTD) in MIL-HDBK-28001. These following declarations provide the CALS-compliant default definitions for these entities. However, these entities can and should be redefined (by giving the appropriate parameter entity declaration(s) prior to the reference to this Table Model declaration set entity) to fit the needs of the current application. --> <!ENTITY % tbl.table.name "(table|chart)"> <!ENTITY % tbl.table-titles.mdl "%titles;,"> <!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)"> <!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> <!ENTITY % tbl.table.att ' tabstyle CDATA #IMPLIED tocentry %yesorno; #IMPLIED shortentry %yesorno; #IMPLIED orient (port|land) #IMPLIED pgwide %yesorno; #IMPLIED '> <!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody"> <!ENTITY % tbl.tgroup.att ' tgroupstyle CDATA #IMPLIED '> <!ENTITY % tbl.hdft.mdl "colspec*,row+"> <!ENTITY % tbl.row.mdl "(entry|entrytbl)+"> <!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody"> <!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*"> <!-- ===== Element and attribute declarations follow. ===== --> <!ELEMENT table %ho; (%tbl.table.mdl;)> <!ATTLIST table frame (top|bottom|topbot|all|sides|none) #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED %tbl.table.att; %bodyatt; %secur; > <!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) > <!ATTLIST tgroup cols CDATA #REQUIRED %tbl.tgroup.att; colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED %secur; > <!ELEMENT colspec %ho; EMPTY > <!ATTLIST colspec colnum CDATA #IMPLIED colname CDATA #IMPLIED colwidth CDATA #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED > <!ELEMENT spanspec %ho; EMPTY > <!ATTLIST spanspec namest CDATA #REQUIRED nameend CDATA #REQUIRED spanname CDATA #REQUIRED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED > <!ELEMENT thead %ho; (%tbl.hdft.mdl;)> <!ATTLIST thead valign (top|middle|bottom) #IMPLIED %secur; > <!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)> <!ATTLIST tfoot valign (top|middle|bottom) #IMPLIED %secur; > <!ELEMENT tbody %ho; (row+)> <!ATTLIST tbody valign (top|middle|bottom) #IMPLIED %secur; > <!ELEMENT row %ho; (%tbl.row.mdl;)> <!ATTLIST row rowsep %yesorno; #IMPLIED valign (top|middle|bottom) #IMPLIED %secur; > <!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)> <!ATTLIST entrytbl cols CDATA #REQUIRED %tbl.tgroup.att; colname CDATA #IMPLIED spanname CDATA #IMPLIED namest CDATA #IMPLIED nameend CDATA #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED %secur; > <!ELEMENT entry %ho; (%tbl.entry.mdl;)*> <!ATTLIST entry colname CDATA #IMPLIED namest CDATA #IMPLIED nameend CDATA #IMPLIED spanname CDATA #IMPLIED morerows CDATA #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED rotate %yesorno; #IMPLIED valign (top|middle|bottom) #IMPLIED %secur; > <!-- End of DocBook CALS Table Model V4.2 ................................. --> <!-- ...................................................................... --> --- NEW FILE: soextblx.dtd --- <!-- XML EXCHANGE TABLE MODEL DECLARATION MODULE --> <!-- This set of declarations defines the XML version of the Exchange Table Model as of the date shown in the Formal Public Identifier (FPI) for this entity. This set of declarations may be referred to using a public external entity declaration and reference as shown in the following three lines: <!ENTITY % calstblx PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"> %calstblx; If various parameter entities used within this set of declarations are to be given non-default values, the appropriate declarations should be given before calling in this package (i.e., before the "%calstblx;" reference). --> <!-- The motivation for this XML version of the Exchange Table Model is simply to create an XML version of the SGML Exchange Table Model. By design, no effort has been made to "improve" the model. This XML version incorporates the logical bare minimum changes necessary to make the Exchange Table Model a valid XML DTD. --> <!-- The XML version of the Exchange Table Model differs from the SGML version in the following ways: The following parameter entities have been removed: - tbl.table.excep, tbl.hdft.excep, tbl.row.excep, tbl.entry.excep There are no exceptions in XML. The following normative statement is made in lieu of exceptions: the exchange table model explicitly forbids a table from occurring within another table. If the content model of an entry includes a table element, then this cannot be enforced by the DTD, but it is a deviation from the exchange table model to include a table within a table. - tbl.hdft.name, tbl.hdft.mdl, tbl.hdft.excep, tbl.hdft.att The motivation for these elements was to change the table header/footer elements. Since XML does not allow element declarations to contain name groups, and the exchange table model does not allow a table to contain footers, the continued presence of these attributes seems unnecessary. The following parameter entity has been added: - tbl.thead.att This entity parameterizes the attributes on thead. It replaces the tbl.hdft.att parameter entity. Other miscellaneous changes: - Tag ommission indicators have been removed - Comments have been removed from declarations - NUMBER attributes have been changed to NMTOKEN - NUTOKEN attributes have been to changed to NMTOKEN - Removed the grouping characters around the content model parameter entry for the 'entry' element. This is necessary so that an entry can contain #PCDATA and be defined as an optional, repeatable OR group beginning with #PCDATA. --> <!-- This entity includes a set of element and attribute declarations that partially defines the Exchange table model. However, the model is not well-defined without the accompanying natural language description of the semantics (meanings) of these various elements, attributes, and attribute values. The semantic writeup, also available from SGML Open, should be used in conjunction with this entity. --> <!-- In order to use the Exchange table model, various parameter entity declarations are required. A brief description is as follows: ENTITY NAME WHERE USED WHAT IT IS %yesorno In ATTLIST of: An attribute declared value almost all elements for a "boolean" attribute %paracon In content model of: The "text" (logical content) <entry> of the model group for <entry> %titles In content model of: The "title" part of the model table element group for the table element %tbl.table.name In declaration of: The name of the "table" table element element %tbl.table-titles.mdl In content model of: The model group for the title table elements part of the content model for table element %tbl.table.mdl In content model of: The model group for the content table elements model for table element, often (and by default) defined in terms of %tbl.table-titles.mdl and tgroup %tbl.table.att In ATTLIST of: Additional attributes on the table element table element %bodyatt In ATTLIST of: Additional attributes on the table element table element (for backward compatibility with the SGML model) %tbl.tgroup.mdl In content model of: The model group for the content <tgroup> model for <tgroup> %tbl.tgroup.att In ATTLIST of: Additional attributes on the <tgroup> <tgroup> element %tbl.thead.att In ATTLIST of: Additional attributes on the <thead> <thead> element %tbl.tbody.att In ATTLIST of: Additional attributes on the <tbody> <tbody> element %tbl.colspec.att In ATTLIST of: Additional attributes on the <colspec> <colspec> element %tbl.row.mdl In content model of: The model group for the content <row> model for <row> %tbl.row.att In ATTLIST of: Additional attributes on the <row> <row> element %tbl.entry.mdl In content model of: The model group for the content <entry> model for <entry> %tbl.entry.att In ATTLIST of: Additional attributes on the <entry> <entry> element This set of declarations will use the default definitions shown below for any of these parameter entities that are not declared before this set of declarations is referenced. --> <!-- These definitions are not directly related to the table model, but are used in the default CALS table model and may be defined elsewhere (and prior to the inclusion of this table module) in the referencing DTD. --> <!ENTITY % yesorno 'NMTOKEN'> <!-- no if zero(s), yes if any other value --> <!ENTITY % titles 'title?'> <!ENTITY % pcd "#PCDATA"> <!ENTITY % paracon '%pcd;'> <!-- default for use in entry content --> <!-- The parameter entities as defined below change and simplify the CALS table model as published (as part of the Example DTD) in MIL-HDBK-28001. The resulting simplified DTD has support from the SGML Open vendors and is therefore more interoperable among different systems. These following declarations provide the Exchange default definitions for these entities. However, these entities can be redefined (by giving the appropriate parameter entity declaration(s) prior to the reference to this Table Model declaration set entity) to fit the needs of the current application. Note, however, that changes may have significant effect on the ability to interchange table information. These changes may manifest themselves in useability, presentation, and possible structure information degradation. --> <!ENTITY % tbl.table.name "table"> <!ENTITY % tbl.table-titles.mdl "%titles;,"> <!ENTITY % tbl.table-main.mdl "tgroup+"> <!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> <!ENTITY % tbl.table.att " pgwide %yesorno; #IMPLIED "> <!ENTITY % bodyatt ""> <!ENTITY % tbl.tgroup.mdl "colspec*,thead?,tbody"> <!ENTITY % tbl.tgroup.att ""> <!ENTITY % tbl.thead.att ""> <!ENTITY % tbl.tbody.att ""> <!ENTITY % tbl.colspec.att ""> <!ENTITY % tbl.row.mdl "entry+"> <!ENTITY % tbl.row.att ""> <!ENTITY % tbl.entry.mdl "(%paracon;)*"> <!ENTITY % tbl.entry.att ""> <!-- ===== Element and attribute declarations follow. ===== --> <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.table.name "table" ENTITY % tbl.table-titles.mdl "%titles;," ENTITY % tbl.table.mdl "%tbl.table-titles; tgroup+" ENTITY % tbl.table.att " pgwide %yesorno; #IMPLIED " --> <!ELEMENT %tbl.table.name; (%tbl.table.mdl;)> <!ATTLIST %tbl.table.name; frame (top|bottom|topbot|all|sides|none) #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED %tbl.table.att; %bodyatt; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.tgroup.mdl "colspec*,thead?,tbody" ENTITY % tbl.tgroup.att "" --> <!ELEMENT tgroup (%tbl.tgroup.mdl;) > <!ATTLIST tgroup cols NMTOKEN #REQUIRED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED %tbl.tgroup.att; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.colspec.att "" --> <!ELEMENT colspec EMPTY > <!ATTLIST colspec colnum NMTOKEN #IMPLIED colname NMTOKEN #IMPLIED colwidth CDATA #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff NMTOKEN #IMPLIED %tbl.colspec.att; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.thead.att "" --> <!ELEMENT thead (row+)> <!ATTLIST thead valign (top|middle|bottom) #IMPLIED %tbl.thead.att; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.tbody.att "" --> <!ELEMENT tbody (row+)> <!ATTLIST tbody valign (top|middle|bottom) #IMPLIED %tbl.tbody.att; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % tbl.row.mdl "entry+" ENTITY % tbl.row.att "" --> <!ELEMENT row (%tbl.row.mdl;)> <!ATTLIST row rowsep %yesorno; #IMPLIED valign (top|middle|bottom) #IMPLIED %tbl.row.att; > <!-- Default declarations previously defined in this entity and referenced below include: ENTITY % paracon "#PCDATA" ENTITY % tbl.entry.mdl "(%paracon;)*" ENTITY % tbl.entry.att "" --> <!ELEMENT entry %tbl.entry.mdl;> <!ATTLIST entry colname NMTOKEN #IMPLIED namest NMTOKEN #IMPLIED nameend NMTOKEN #IMPLIED morerows NMTOKEN #IMPLIED colsep %yesorno; #IMPLIED rowsep %yesorno; #IMPLIED align (left|right|center|justify|char) #IMPLIED char CDATA #IMPLIED charoff NMTOKEN #IMPLIED valign (top|middle|bottom) #IMPLIED %tbl.entry.att; > --- NEW FILE: dbhierx.mod --- <!-- ...................................................................... --> <!-- DocBook document hierarchy module V4.2 ............................... --> <!-- File dbhierx.mod ..................................................... --> <!-- Copyright 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). $Id: dbhierx.mod,v 1.1 2004/10/21 12:51:54 mikedoerfler Exp $ Permission to use, copy, modify and distribute the DocBook DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. [...2076 lines suppressed...] <!ENTITY % article.attlist "INCLUDE"> <![%article.attlist;[ <!ATTLIST article class (journalarticle |productsheet |whitepaper |techreport |specification |faq) #IMPLIED parentbook IDREF #IMPLIED %status.attrib; %common.attrib; %article.role.attrib; %local.article.attrib; > <!--end of article.attlist-->]]> <!--end of article.module-->]]> <!-- End of DocBook document hierarchy module V4.2 ........................ --> <!-- ...................................................................... --> --- NEW FILE: README --- README for the DocBook XML DTD For more information about DocBook, please see http://www.oasis-open.org/docbook/ Please send all questions, comments, concerns, and bug reports to the DocBook mailing list: do...@li... --- NEW FILE: ChangeLog --- 2002-07-17 Norman Walsh <nw...@us...> * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, docbookx.dtd: DocBook XML V4.2 released 2002-05-28 Norman Walsh <nw...@us...> * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, docbookx.dtd: Updated comments to reflect CR3 2002-05-21 Norman Walsh <nw...@us...> * dbnotnx.mod: SVG notation accidentally left out of notation.class * docbookx.dtd: Fix syntactic error intentionally introduced behind mutually exclusive PEs. Now make the DTD useless, but not syntactically invalid 2002-05-12 Norman Walsh <nw...@us...> * dbpoolx.mod: Add accidentally missing local.info.class to info.class 2002-03-19 Norman Walsh <nw...@us...> * calstblx.dtd, dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, dbpoolx.mod: Prepare for CR1 * catalog.xml, docbook.cat: Prepare for CR1 and fix search-and-replace typos * dbpoolx.mod: Revise graphic attributes: add contentwidth, contentdepth, and valign * dbpoolx.mod: Implemented RFE #480954: add textdata element * dbpoolx.mod: Make type other tokens in bibliorelation unique for SGML compatibility * dbpoolx.mod: Make spatial/temporal other tokens unique for SGML compatibility * dbpoolx.mod: Added blockinfo element * dbpoolx.mod: Move bibliorelation type attribute into a PE so that it can be expanded the way we want * dbpoolx.mod: Implemented RFE #480957 * dbpoolx.mod: RFE #513426: Text alternative for tables * dbpoolx.mod: Added bibliosource, bibliorelation, and bibliocoverage * dbpoolx.mod: Add consortium to the list of classes on orgname * dbpoolx.mod: Add class attribute to orgname * docbookx.dtd: DocBook V4.2 Candidate Release 1 released 2002-02-05 Norman Walsh <nw...@us...> * dbhierx.mod: Implemented RFE #501363 * dbpoolx.mod: Implemented RFE #498848 * dbpoolx.mod: Implemented RFE #492099 * dbpoolx.mod: Implemented RFE #480955 2002-01-06 Norman Walsh <nw...@us...> * dbcentx.mod: Added marked sections around character set entity references 2001-11-20 Norman Walsh <nw...@us...> * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, docbookx.dtd: DocBook V4.2b1 released * dbpoolx.mod: Implemented RFE #482821 2001-11-19 Norman Walsh <nw...@us...> * dbhierx.mod, dbpoolx.mod: Implemented RFE #456460 2001-11-18 Norman Walsh <nw...@us...> * dbpoolx.mod: RFE #482817: Add errortext element 2001-11-17 Norman Walsh <nw...@us...> * dbpoolx.mod: RFE 482821: Add extension to the list of class values on filename * dbpoolx.mod: RFE 482053: Add support for DOI in meta * dbpoolx.mod: Removed bogus occurrence indicator in info.class; fixed typo in qandaset PEs 2001-11-13 Norman Walsh <nw...@us...> * 40chg.txt, 41chg.txt, LostLog: Removed old files * Makefile: Makefile * Makefile: Fixed typo * README: Removed version information * README, readme.txt: Renamed * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, docbookx.dtd: Removed 'XML' from public identifiers for files that will now be common to both XML and SGML * catalog.xml: Fixed missing end tag 2001-11-12 Norman Walsh <nw...@us...> * calstblx.dtd, dbcentx.mod, dbgenent.mod, dbnotnx.mod, readme.txt: Updated version numbers * catalog.xml, docbook.cat: Added XML Catalog; updated public identifiers in catalog * dbpoolx.mod: Former RFE 133: Added newsgroup class to systemitem * dbpoolx.mod: Implemented RFE #480956 2001-11-09 Norman Walsh <nw...@us...> * dbhierx.mod: Implemented RFE #426382 * dbhierx.mod: Implemented RFE #417671 * dbhierx.mod, dbpoolx.mod: Implemented RFE #436072 * dbhierx.mod, dbpoolx.mod, docbookx.dtd: Changed version number * dbnotnx.mod: Implemented RFE #440597 * dbpoolx.mod: Implemented RFE #431413 * dbpoolx.mod: Implemented RFE #434439 * dbpoolx.mod: Expand the content model of the following elements from smallcptr.char.mix back to cptr.char.mix: interfacename, action, database, filename, hardware, keycap, option, parameter, property, and systemitem (command, interface, and literal were never reduced). * dbpoolx.mod: Implemented RFE #431415 * dbpoolx.mod: Implemented RFE #431418 * dbpoolx.mod: Implemented RFE #431419 * dbpoolx.mod: Implemented RFE #439136 * dbpoolx.mod: Implemented RFE #435485 * dbpoolx.mod: Implemented RFE #435466 2001-11-07 Norman Walsh <nw...@us...> * calstblx.dtd, dbcentx.mod, dbhierx.mod, dbpoolx.mod, docbookx.dtd: Towards a 4.2 release: reparameterize so that the SGML DTD is just a customization of the XML DTD * calstblx.dtd, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd: Whitespace fixes 2001-08-07 Norman Walsh <nw...@us...urcef... [truncated message content] |
From: Michael D. <mik...@us...> - 2004-10-21 12:38:29
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/params In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18112/params Log Message: Directory /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/params added to the repository |