Hi,
It's the same related to glossary.......
Previously match the below cases.....where the xml contains <p><i><b> or
<p>text</p> to change with glossary elements....but now the para elements
contains id attribute, so the glossary update is failing to put glossary
elements....
<xsl:apply-templates select="p[not(text())]/i/b" mode="dogloss"/>
<xsl:apply-templates select="p[text()]/i/b"
mode="dogloss"/>
<xsl:apply-templates select="p[not(text())]/b"
mode="dogloss"/>
<xsl:apply-templates select="p[text()]/b"
mode="dogloss"/>
Thanks,
Shailesh
-----Original Message-----
From: Mukul Gandhi [mailto:gandhi(_dot_)mukul(_at_)gmail(_dot_)com]
Sent: Thursday, August 03, 2006 9:00 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Glossary Help
On 8/3/06, Shailesh Shinde <shailesh(_at_)quagnito(_dot_)com> wrote:
The below xsl code works fine and getting required output....but now I
have
receive the xml file from client where the <p id="doe13"> contains so the
below xsl code is failing to match the cases......what needs to be done
here?
To the best of my ability I am not able to understand your question.
You need to explain more clearly.
<xsl:preserve-space elements="*"/>
<xsl:strip-space elements="*"/>
As I said earlier, the above combination of preserve-space and
strip-space will have no effect.
--
Regards,
Mukul Gandhi
http://gandhimukul.tripod.com
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--