Processing a flat linear sequence of sibling nodes containing text
that may trigger the emission of some HTML header or paragraph text,
I'm faced with needing to emit a <p> due to one of the siblings, and
the matching </p> due to another, with some others contibuting to the
flesh of the paragraph. (Emitting a paired <foo> </foo> and pulling
in all data that should be bracketed by this pair appears to be quite
tricky.)
Including an unmatched <p> in literal template text isn't possible,
and I can see why.
XSL Transformations (XSLT) Version 2.0 says that using with xsl:text
with disable-output-escaping="yes" is deprecated, and I think I should
avoid that.
So I'm using a a character map with « and » as stand-ins for <p> and
</p>, which works fine and solves my current problem.
So my question is: If I had to split more than just one of the HTML
tags, is there some other method for creating split tags?
Thanks
Wolfgang
--~------------------------------------------------------------------
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>
--~--