[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How is this part of the XSLT specification to be interpr
> Building on David Carlisles stylesheet, to make it a *bit* more > obvious what's going on :-) But youve made it more crypticly self referential, haven't you? <xsl:template match="main:xxx"> <doc:template> <xsl:fallback><doc> This template matches the "<xsl:value-of select="name()"/>" element.</doc> Here you are using embedded XSL to within the documentation of the XSL, furthermore since the XSL refers to the source document you can't get a readable vesrion of the documentation without actually running the stylesheet on the source???? Wouldn't it be clearer to have This template matches the xxx element from the namespace associated with main: That way the pretty printer only needs the _stylesheet_ as input, not the stylesheet and the source document. > I think I'd rather see some java class that processed stuff in the > doc namespace. Then at least it would look better. why Java? XSLT seems the most obvious implementation language. David 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
|