Re: Structured metadata within XSLT?
Ed Staub wrote: > > Thanks, Francis. > > > first XSLT seems to ignore non-XSLT elements within the template element > > I must misunderstand you; normal behavior is to output non-XSLT elements > within a template. Can you give a sample? Err, that was meant to be the *stylesheet* element - there was an involuntary transformation between brain and keyboard... > > I think the "extension element / fallback" solution is probably better, > because it can be used virtually anywhere, binding metadata tightly to what > it describes. Yes, it probably is better - when I hopped into this thread I'd forgotten that David Carlisle and others had already investigated the area. > > The context is one in which there is a rich set of stylesheets with lots of > templates of the "call-template" variety. > > The "hot button" is to be able to tag templates of the "call-template" > variety with metadata describing their usage, for use by authoring tools in > both automatically selecting appropriate templates and offering "tips" about > their usage. > > A Javadoc-like facility would be very cool also. > So now all you need to do is come up with an XML grammar for your metadata. I'd be interested in trying this in RDF as a tutorial exercise... Francis. -- Francis Norton. why not? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format