This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] how to ignore a xml tag


Hi I am wanting to document the contents of a xml file using the 
programlisting tag, however when I try to process the file it does not 
ignore the tags from the xml file.  Is there anyway of resolving this?

Ie a tag i can specify to ignore it?

in xml file:
...
<programlisting>
<setting>
  <server name="identifier" hostname="fqdn" port="3000">
  <server name="identifier" hostname="fqdn" port="3300">
</settings>
<programlisting>
...
prompt output:

Ole@aquavit:~/src/rrd/docs/sections> db2pdf LDAPMonitoring.sgml
tex output file name is LDAPMonitoring.tex
openjade:amendXML.sgml:14:15:E: document type does not allow element 
"PROGRAMLISTING" here; missing one of "FOOTNOTE", "MSGTEXT" start-tag
openjade:amendXML.sgml:15:8:E: element "SETTING" undefined
openjade:amendXML.sgml:16:15:E: there is no attribute "NAME"
openjade:amendXML.sgml:16:37:E: there is no attribute "HOSTNAME"
openjade:amendXML.sgml:16:49:E: there is no attribute "PORT"
openjade:amendXML.sgml:16:55:E: element "SERVER" undefined
openjade:amendXML.sgml:17:55:E: element "SERVER" undefined
openjade:amendXML.sgml:18:10:E: end tag for element "SETTINGS" which is 
not open
openjade:amendXML.sgml:38:10:E: end tag for "PROGRAMLISTING" omitted, but 
its declaration does not permit this
openjade:amendXML.sgml:14:0: start tag was here
openjade:amendXML.sgml:38:10:E: end tag for "PROGRAMLISTING" omitted, but 
its declaration does not permit this
openjade:amendXML.sgml:13:4: start tag was here
openjade:/usr/share/sgml/docbook/docbook-toys/suse-both.dsl:30:0:E: cannot 
open "/home/ole/src/private/suse-print.dsl" (No such file or directory)
openjade:/usr/share/sgml/docbook/docbook-toys/suse-both.dsl:90:0:E: cannot 
open "/home/ole/src/private/suse-html.dsl" (No such file or directory)

Cheers,

Ole
--------------------------------
http://gd.db.com/iam/ole.turvoll@db.com

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]