[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Glossary Help

Subject: RE: Glossary Help
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Thu, 3 Aug 2006 21:33:58 +0530
building a glossary help
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.