This is one of those cases where we really need to know what the set of
possible inputs is; this can't be inferred from one example.
For example, which of the following need to be handled?
1. <?xml-start?>anything <a>including</a> tags<?xml-end?>
2. <?xml-start?>anything excluding tags<?xml-end?> and <?xml-start?>anything
<a>including</a> tags<?xml-end?>
3. <?xml-start?>anything<?xml-start?>nested<?xml-end?> in tags<?xml-end?>
4. <a><?xml-start?>anything </a> overlapping regular markup<?xml-end?>
5. <?xml-start?>anything else <?yml-start?>that is<?xml-end?> overlapping in
pseudo-tags<?yml-end?>
So-called milestone tags are used in many different ways.
Incidentally, using "xml" at the start of a processing-instruction name is poor
practice: W3C reserves such names for future standardisation.
Michael Kay
Saxonica
mike(_at_)saxonica(_dot_)com
+44 (0) 118 946 5893
On 26 Sep 2014, at 05:51, Joga Singh Rawat jrawat(_at_)aptaracorp(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
Hi Everybody,
Can anyone give me any clue about handling of below input. I am using
xsl2.0.
Input
<?xml-start?>anything including tags<?xml-end?>
Output:
<span class="start">anything including tags</span>
Thanks in advance, hope for prompt reply.
Thanks
.JSR
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--