[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Documenting XSLT (Was: Note from the Troll)


wrote a half troll template
Probably so, Adam, but as I recall, the XML parser isn't 
required to per se, so as a general solution, it may not 
be reliable.  Also, the self-documenting solutions I've 
liked also included the HTML namespace in the documentation 
element so one gets a nicer layout defined right up front.

Six of one, half dozen of the other.

All considered, for non-documentation element systems, Ken's 
solution is the best, IMHO.

len

-----Original Message-----
From: Adam Turoff [mailto:ziggy@p...]
Sent: Monday, October 28, 2002 3:08 PM
To: AndrewWatt2000@a...
Cc: xml-dev@l...
Subject: Re:  Documenting XSLT (Was: Note from the Troll)


On Mon, Oct 28, 2002 at 04:00:58PM -0500, AndrewWatt2000@a... wrote:
> In a message dated 28/10/2002 20:53:24 GMT Standard Time, ziggy@p... 
> writes:
> > <xsl:template match="xsl:template/comment()">
> > <!-- Here's a template to "automatically generate documentation..." -->
> > ...
> > </xsl:template>
> > 
> 
> And what happens if the parser happens not to pass on information about 
> comments?

Every XSLT processor I've met passes on comments, and makes them
available through the comment() function.

The solution you see above is an XSLT based one.

Z.


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.