>>>>> "DM" == David Makower <[EMAIL PROTECTED]> writes:
DM> This poses problems if you want the build.xml file to conform to DM> a DTD, since it makes it difficult to define the content model of DM> the <doc> element. Hmm, I think as long as you don't want to parse the content model yourself (via XSLT) but merely extract it, you could get away with #PCDATA. <!ELEMENT doc (#PCDATA) > <!ATTLIST doc type CDATA #REQUIRED> and the have something like <doc type="html"><![CDATA[ <p>This target does ...</p> ]]></doc> <doc type="docbook"><![CDATA[ <para>This target does ...</para> ]]></doc> You could then pick up the content of all doc tags with the matching type and should be done. Stefan
