Hussein Shafie wrote: > > But in this case, both required attributes were present in the template. > > I didn't expect them to be replaced with '???'. > > You didn't attach the DTD with the template you sent me so I was not > able to really try it.
Oh... sorry. I thought the DTD was referred to in the template I sent. You'll find the DTD at http://www.iris-advies.nl/evi/questionnaire.dtd > When creating a new document with this modified template, XXE didn't > replace any of the "id" attribute values specified in this template by > "???". That would be OK then. > If you used "File|Open As Template" instead of "File|New", then XXE has > used the specified file to just read the DTD and root element name. In > this case, it may have automatically created all the needed child > elements, if any, with "???" as the value of required attributes, if > any. Ah... that could be it. > * "File|New" uses the template file as is. > * "File|Open As Template" is for people who do not bother creating true > templates: for people who say ``create a document just like this other > document I've created before''. I see. Using only the root element to see where to start, and taking the rest from the DTD. Not a bad idea. > I think that this is a documentation problem: you simply cannot deploy > your own custom DTDs with XXE V2 without the (being written) "Power > User's Guide". So please, be patient with us. I can hardly wait. The beta looks very nice so far, and brings back into scope another thing I have been wanting to do for the longest time: docbook editing. > I'll do my best to find a generic method to achieve what you want for > V20final. This generic method may or may not involve scripting XXE. > (Currently, I have not the slightest idea of what we'll implement for > that.) I'd be happy to investigate Java scripting options for you. > You can reference the www.xmlmind.net links in your Web site for your > customers. We do not intend to remove these distributions from the > www.xmlmind.net download site in a short term. OK, good to know... thanks! Emile

