[XOM-interest] DocType Question
Elliotte Harold
elharo at metalab.unc.edu
Fri Jan 9 00:08:10 EST 2009
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
More information about the XOM-interest
mailing list