[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: comments
Kevin,
To add to what Mike says: it isn't hard to write a couple of templates based on the identity transform, that will match elements and attributes, and write out text that looks just like markup. Put them in a separate mode so they are not invoked during normal traversal. These templates can be called inside your <xsl:comment> instruction, and will give you what you want. Addressing a different question, I actually posted code that does this back in June. Check out the archives, http://www.biglist.com/lists/xsl-list/archives/200106/msg01293.html. Good luck, Wendell At 04:38 AM 9/20/01, Mike wrote: > I want to insert XSL:Elements inside XSL:Comments. I am > getting an error > when trying to do this. > Not sure why this isn't acceptable. ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== 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
|