Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] DocType Question

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: leo AT discoverisland.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] DocType Question
  • Date: Thu, 08 Jan 2009 21:08:10 -0800

leo AT discoverisland.com wrote:
Hi, if someone can help me with this it would be much appreciated.

I basically need to create the xml document below, but i'm havnig trouble
figuring out how to populate the doctype
with this data.

I tried all of Rusty's examples, but I couldn't find any that did this type
of doctype.
If anyone has a sample or a link to another site that could help me, it would
be greatly appreciated.

Thanks

<!DOCTYPE AJCPPUB [
<!NOTATION URL PUBLIC "-//IETF//NOTATION RFC 1738 Uniform Resource Locators">
<!ENTITY attach0 SYSTEM "file:/export/ACP/DATA/PDF/pdf_after.pdf" NDATA URL>
<!ENTITY attach1 SYSTEM "file:/export/ACP/DATA/PDF/pdf_before.pdf" NDATA URL>
]>



In XOM 1.1 or later just call,


doctype.setInternalDTDSubset("<!NOTATION URL PUBLIC \"-//IETF//NOT...");


--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA



  • Re: [XOM-interest] DocType Question, Elliotte Harold, 01/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page