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

RE: about adding comments into the output file

Subject: RE: about adding comments into the output file
From: "Edward L. Knoll" <ed.knoll@xxxxxxxxxxxxxx>
Date: Thu, 05 Sep 2002 13:11:57 -0600
add comments
If interpret your question correctly, you're asking how can you put XML
comments into generated output.  The comment you don't want to output,
leave as you have it:

   <!-- this is the comment i would not like to add onto my output -->

The comment you want to have appear in your output format as:

   <xsl:comment> this is the comment i like to add onto my output
</xsl:comment>

The <xsl:comment> would have to part of a template which, but it looks
like you have that covered.

Regards,
Ed Knoll


> i was wondering how to add comments from a stylesheet into the output
file
>
> suppose i have this stylesheet
>
> <xsl:template match="book">
> <!-- this is the comment i like to add onto my output -->
> <something>xxx</something>
> ...
> <!-- this is the comment i would not like to add onto my output -->
> </xsl:template>
> ...
>
> i was wondering how it is done
>
> many thanks
>
> regards
> Kit

--
Edward L. Knoll   Phone (work)     : (719)484-2717
                  e-mail (work)    : f49660c@xxxxxxxxxxxxxx
                  e-mail (business): eknoll@xxxxxxxxxx
                  e-mail (personal): edward@xxxxxxxxxxx









 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.