Subject:annotation within sequence element Author:Edward Gilmore Date:20 Apr 2011 07:01 AM Originally Posted: 20 Apr 2011 05:41 AM
Hi,
I've been tasked with generating html off the schemas created by our developers. The various fields of our dialogs are all described by schemas to allow for integration with various 3rd-party tools. We can generate XML off our dialogs for export and can import values for those dialogs from incoming XML files. All validated against these schemas (there's about 40 of them varying in size from 150 lines to many thousands of lines).
However, for some reason the developers have defined a lot of the fields inside sequence elements. They're not sure why they've done this, it's just how they've always done it. There isn't really a good reason for it.
This is the source of my problem. documentation annotation outside of the sequence elements are picked up by XS3P perfectly happily, but any annotations made within a sequence element are ignored.
How do I tweak the XS3P style sheet to detect these annotations and generate the documentation for them? Is it possible? Is there another way around it other than trying to persuade the devs to rewrite the schemas, which would be mission impossible.