RE: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format