|
top
|
 Subject: Documentation - prevent imported files also generating Author: Nick Locke Date: 28 Jun 2007 05:13 AM
|
Hi Alberto,
I guess I can workaround this simply by deleting the "extra" files that I don't need. However, an explanation, as requested:
My schemas will be shared with a number of target audiences, with the idea that people can only see the specific schema documents which are relevant to them. The saved HTML documents are stored on a web server (in a non web-accessible area). I then have a web page within my application which receives the request for a given schema, checks the authority and then streams the HTML file to the browser. I also have to keep the JPGs away from the web-accessible area, so my application intercepts the call for a JPG (checks authority again) and then serves the content.
In the links.xml file, I specify that all SchemaLocations actually point to the single web page in my application (with the schema id code included in the URL).
For ease of maintenance, each HTML schema is in its own subdirectory. So, when I generate the documentation, I get "spare" copies of the imported schemas in the subdirectory (spare because they already exist in the subfolder that they will actually be delivered from).
I guess, if I didn't have the schemas in separate directories, the problem would go away!
|
|
|