General XMetaL Discussion
achu May 10, 2011 at 5:21 pm
Will rule file still be generated when referencing to http location?May 10, 2011 at 5:21 pmParticipants 1Replies 2Last Activity 11 years, 4 months agoDerek Read May 11, 2011 at 12:44 am
Reply to: Will rule file still be generated when referencing to http location?May 11, 2011 at 12:44 am
If XMetaL locates your schema or DTD at an HTTP address it must first download it. It creates a temporary folder for one time usage here:
Where ##### is some unique random 4 or 5 digit number.
RLX and RLD files are generated at the same path.
It is easiest to just check the following API property if you need to find your RLD or RLX file for whatever reason (perhaps you do not have XMetaL Developer but wish to distribute the RLX or RLD): ActiveDocument.RulesFile
// XMetaL Script Language JSCRIPT:
It is recommended that you do not distribute XMetaL customizations this way unless you package them inside an XAC file containing the RLX or RLD + CSS + CTM + optional MCR and other files. You need to compile an XAC using XMetaL Developer.
If you cannot use an XAC package then you should flatten your DTD or XSD into a single file for best results and the CSS, CTM and MCR files must be given the same name as the DTD or XSD in order to be found and downloaded. If found these additional files will be downloaded to the same folder as the schema. These files are downloaded every time a document is opened and this will slow down the initial document rendering time accordingly, with slower internet connections, slow web servers, etc, all coming into play here.
In general it is best to distribute customizations to each machine or use a 3rd party mechanism for distribution (like those provided by CMS vendors). This is the best way to give users of XMetaL the best authoring experience.
- You must be logged in to reply to this topic.