#304 Parse Transformed XML

Extensibility
open
nobody
None
5
2006-08-11
2006-08-11
posaune02
No

The issue is this. I have tag-set extension I would
like to make to generate a table that ties a field's
events to their assigned event handlers. Is it somehow
possible in my stylesheet to output xml that is parsed
again by NDoc?
I would like my tag-set to be:
<handlers>
<set>
<event cref=""/>
<handler cref=""/>
</set>
<set>
<event cref=""/>
<handler cref=""/>
</set>
...
</handlers>

Where the xml generated by matching 'handlers' is an H4
element, and the beginning of the table, followed by
the matching of each set (which generates a table row).
A workable solution is just that, simply outputting the
html. However, it would be more extensible if my
'handler' template generated the <list type="table">
xml structure which was then parsed again by NDoc to
finally generate the html table. In this manner, my
table output would always match the NDoc table output
and not need to be manually changed were NDoc table
output ever modified.

Is that clear? Any suggestions?
Thanks

Discussion


Log in to post a comment.