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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Problems with ldp.dsl


Dear friends,

I can convert sgml file with docbook.dsl but it don't work with ldp.dsl.

Any suggestions?

Thanks in advance,
Nei

bash-2.05a$ openjade -t sgml  -d 
/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl#html test.sgml
openjade:test.sgml:3:13:E: "INFO" is not a member of a group specified for any 
attribute
openjade:test.sgml:3:13:E: document type does not allow element "ARTICLE" here
openjade:test.sgml:5:7:E: document type does not allow element "AUTHOR" here; 
missing one of "COMMENT", "TITLEABBREV", "SUBTITLE", "ARTHEADER", "SYNOPSIS", 
"LITERALLAYOUT", "PROGRAMLISTING", "SCREEN", "PARA", "SIMPARA", "BRIDGEHEAD" 
start-tag
openjade:test.sgml:15:19:E: document type does not allow element "REVHISTORY" 
here; missing one of "COMMENT", "TITLEABBREV", "SUBTITLE", "ARTHEADER", 
"SYNOPSIS", "LITERALLAYOUT", "PROGRAMLISTING", "SCREEN", "PARA", "SIMPARA", 
"BRIDGEHEAD" start-tag
openjade:test.sgml:27:13:E: end tag for element "ARTICLEINFO" which is not 
open
openjade:test.sgml:71:11:E: "ARTICLE" not finished but document ended
openjade:test.sgml:71:11:E: end tag for "ARTICLE" omitted, but OMITTAG NO was 
specified
openjade:test.sgml:2:0: start tag was here
openjade:/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl:355:18:E: 
reference to undefined variable "$table-width$"
openjade:/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl:320:28:E: 
reference to undefined variable "$verbatim-line-by-line$"

The test.sgml is
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<article lang="en">
<article info>
<title>Teste de geração de documento.</title>
<author>
<firstname>Nei</firstname>
<surname>Marcos</surname>
<othername role="mi">L</othername>
                <affiliation>
		        <address>
			 <email>neig@terra dot com dot br</email>
			 </address>
                </affiliation>
        </author>
        <revhistory>
                <revision>
                <revnumber>v1.0</revnumber>
                <date>2000-12-30</date>
                <authorinitials>jld</authorinitials>
                </revision>
        </revhistory>
        <abstract>
        <para>
        Este é um documento DocBook.
        </para>
        </abstract>
</articleinfo>
<sect1 id="test1">
<title>Test 1</title>
<para>
Test section 1.
<figure>
       <title>Inclusão de Figura</title>
       <graphic fileref="exemplo.jpg"></graphic>
    </figure>
</para>
        <sect2>
	  <title>Test 1.1</title>
	  <para>
        Test section 1.1
        </para>
	</sect2>
	<sect2>
	<title>Test 1.2</title>
	<para>
	        <screen>
	        -- Test section 1.2
		      openjade -t sgml -d $DSLFILE test.sgml
		      </screen>
        </para>	      
        </sect2>
</sect1>
<sect1 id="test2">
<title>Test 2</title>
<para>
Test section 2.
</para>
        <sect2>
	  <title>Test 2.1</title>
        <para>
        Test section 2.1
        </para>
        </sect2>
        <sect2>
        <title>Test 2.2</title>
        <para>
        Test section 2.2
        </para>
        </sect2>
</sect1>
</article>





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