RE: [xsl] Glossary Help

Subject: RE: [xsl] Glossary Help
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Thu, 3 Aug 2006 21:33:58 +0530
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.mukul@xxxxxxxxx] 
Sent: Thursday, August 03, 2006 9:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Glossary Help

On 8/3/06, Shailesh Shinde <shailesh@xxxxxxxxxxxx> 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

Current Thread