Hello!
I have read through a couple of threads in this topic and it is really nice
but how can i close inner tags with grouping. I use xslt 2.0 and managed create
an xslt by your examples but stuck with it. I want to close the paragraph at
every <linebreak/> tag. Here is an example:
<par class="Bullet 6" xml:lang="hu">
Valami szoveg
<inline style="color: #ff0000;">
Sima inline
</inline>
szoveg
<inline style="color: #ff0000;">
inline break elott.
<linebreak/>
inline break utan
</inline>
szoveg break elott
<linebreak/>
szoveg break utan
<inline style="color: #ff0000;">
inline bold elott
<bold>
inline bold break elott
<linebreak/>
inline bold break utan
</bold>
inline bold utan
</inline>
Sima szoveg.
</par>
Indenting is not too pretty but it can be seen that there are linebreaks in
<par> in <par><inline> and in <par><inline><bold>
I need to break up this into :
<par class="Bullet 6" xml:lang="hu">
Valami szoveg
<inline style="color: #ff0000;">
Sima inline
</inline>
szoveg
<inline style="color: #ff0000;">
inline break elott.
</inline>
</par>
<par class="Bullet 6" xml:lang="hu">
<inline style="color: #ff0000;">
inline break utan
</inline>
szoveg break elott
</par>
<par class="Bullet 6" xml:lang="hu">
szoveg break utan
<inline style="color: #ff0000;">
inline bold elott
<bold>
inline bold break elott
</bold>
</inline>
</par>
<par class="Bullet 6" xml:lang="hu">
<inline style="color: #ff0000;">
<bold>
inline bold break utan
</bold>
inline bold utan
</inline>
Sima szoveg.
</par>
So i have to close the tags and reopen them in the new par.
It should be somehow univrsal because it can be in <underline> and so on. And
another thing that opening the new <inline> or other tag the attributes should
remain the same. I was thinking to create a param which "remembers" the colsed
tags but could not figure out how to do it.
Any help would be appreciated.
Sincerely, Lajos Joo
<br><br>________________________________________________________<br><a
href="http://ad.adverticum.net/b/cl,1,69699,352104,434989/click.prm">
Vásároljon Raiffiesen bankkártyájával, most milliókat nyerhet!
Részletek a. www.raiffeisen.hu-n.
</a>
--~------------------------------------------------------------------
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>
--~--