Print

Print


Charlie Kaiman wrote:

> If I have a large DTD (say 100KB), and a large XML file (say 2MB); what
> would be the best way to present it over the Web?
>
> Is there a way to reference the ENTITIES (i.e. ISOlat1, ISOnum, etc),
> without requiring the rest of the DTD, for the sake of speed?  Kind of a
> pseudo-valid XML document, but more along the lines of just being
> well-formed????
>
> I realize this is a strange question, but I'm still a relative newbie.

Not a strange question at all.  In fact, not sending a DTD is likely to be
a common practice when the receiver can be sure that it is valid or doesn't
care (e.g. a browser).  Note that not sending the DTD does have a few
consequences. For example, there is no way for a parser to determine
default attribute values, what is insignificant white space, or that an
attribute contains a notation or references an unparsed entity.

If none of these are problems, then you have a couple of choices.  One is
to duplicate your entity declarations in the internal DTD of each XML
document.  If these are too big, then move your entities to separate files
and declare them as external entities in the internal DTD of each XML
document, as well as in your normal DTD.  In either case, you can still
include the external DTD when you want to (such as for validation) -- the
entities declared in the internal DTD override those declared in the
external DTD, although this is meaningless because the declarations are the
same.

-- Ron Bourret

begin 600 WINMAIL.DAT
M>)\^(A04`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`9 $```$````,`````P``, (````+``\.``````(!_P\!````9P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````$=E;F5R86P@9&ES8W5S<VEO;B!O9B!%
M>'1E;G-I8FQE($UA<FMU<"!,86YG=6%G90!33510`%A-3"U,0$Q)4U1315)6
M+DA%04Y%5"Y)10``'@`", $````%````4TU44 `````>``,P`0```!D```!8
M34PM3$!,25-44T525BY(14%.150N244``````P`5# $````#`/X/!@```!X`
M`3 !````,P```"='96YE<F%L(&1I<V-U<W-I;VX@;V8@17AT96YS:6)L92!-
M87)K=7 @3&%N9W5A9V4G```"`0LP`0```!X```!33510.EA-3"U,0$Q)4U13
M15)6+DA%04Y%5"Y)10````,``#D`````"P! .@$````"`?8/`0````0`````
M```"MD@!!( !`!4```!213H@6$U,(&]V97(@=&AE(%=E8@!=!@$%@ ,`#@``
M`,X'# `"`!4`"P`3``,`&0$!(( #``X```#.!PP``@`5``(`$ `#``T!`0F
M`0`A````130Q-44T,S!"1C@Y1#(Q,4)!-D8P,#0P.34P,T0P-#,`^P8!`Y &
M`% &```4````"P`C```````#`"8```````L`*0```````P`N```````#`#8`
M`````$ `.0`@$ISL+QZ^`1X`< `!````%0```%)%.B!834P@;W9E<B!T:&4@
M5V5B``````(!<0`!````%@````&^'B_LF3#D%>6)OQ'2NF\`0)4#T$,``!X`
M'@P!````!0```%--5% `````'@`?# $````=````<F)O=7)R971 :71O+G1U
M+61A<FUS=&%D="YD90`````#``80PZY97@,`!Q"<! ``'@`($ $```!E````
M0TA!4DQ)14M!24U!3E=23U1%.DE&24A!5D5!3$%21T5$5$0H4T%9,3 P2T(I
M+$%.1$%,05)'15A-3$9)3$4H4T%9,DU"*3M72$%45T]53$1"151(14)%4U17
M05E43U!215-%3@`````"`0D0`0```+H$``"V! ``H0@``$Q:1G5[@\^&_P`*
M`0\"%0*D`^0%ZP*#`% 3`U0"`&-H"L!S973N,@8`!L,"@S(#Q@<3`H/&,P/%
M`@!P<G$2(!.((C0/>FAE; ,@1&SZ9P* ?0J ",\)V0* "H&##;$+8&YG,3 S
M%""G"PH4(@'0($,1P6P(D"P@2PMP`X)W`V!T9>XZ"H4*CQJX/@KA"V02\I<,
M`13 '&%C!4!)9B! 2B 1P'8;L&$@"V!R`F<;L$141" H<PAA>2 9T#!+0BD2
M+"#@;F0@YUA-3)P@9@,0&[ ALS)-(D#V.QPP$<!T'1<=_Q\/(!*J=PA@;"*@
M8ANP=!: C2@!<R>1(=%T;R 4P-<'D GP!4!I!4!O(, %P.$H0E=E8C\DSR7?
M'XO_*L\KWQ^,!" H01@`(.$HU248`&8P\6YC*"1%3A1423+ 107P*&DN)&4N
M($!33PM@=#%C(F SD6YU;2)@$@!CWR)0+;\NSR;L*<!H"& %0/$8`'%U:040
M&; H,RE1_RG1(& H0B%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