xsl-list
[Top] [All Lists]

Re[3]: [xsl] applying code from inside the comment

2007-01-16 14:40:21
Alexey,

Ah, I see ... I was imagining that saxon:parse() could cope with non-well-formed input, but of course it can't. It seems a shame to introduce a "tag wrapper" in XSLT and then parse it, but I guess you can't avoid it.

Note, however, that this still doesn't ensure it'll always work. If your comments are broken, they might be really broken ... for example

<!--

<a>Here's my comment

-->

Cheers,
Wendell



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>