[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Insert space after the closing element
On Fri, Jan 22, 2010 at 9:35 PM, Selvaganesh <selvaganesh1985@xxxxxxxxx> wrote: > <hov:if test="not(matches(following-sibling::text()[1], "^[-,:;;]"))"><hov:text> </hov:text></hov:if> You have a double quoted string inside, another double quoted string, which makes your stylesheet a non-wellformed (XML) document. You may make the inner quotes as single quotes, as follows: test="not(matches(following-sibling::text()[1], '^[-,:;;]'))" and that should work. Or you may make the outer ones as single, and inner ones as double, and that should also work. btw, I have a comment about your choice of stylesheet URI prefix (an unusual one, hov:). The most common convention is to use the prefix, xsl: -- Regards, Mukul Gandhi
|
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
|