Re: [xsl] creating nodes from text

Subject: Re: [xsl] creating nodes from text
From: omprakash.v@xxxxxxxxxxxxx
Date: Wed, 6 Apr 2005 19:13:38 +0530
Hi,
    Thanks. This problem is solved.


Cheers,
Omprakash.V




                                                                                                                   
                    David                                                                                          
                    Carlisle             To:     xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                   
                    <davidc@xxxxx        cc:     (bcc: omprakash.v/Polaris)                                        
                    o.uk>                Subject:     Re: [xsl] creating nodes from text                           
                                                                                                                   
                    04/06/2005                                                                                     
                    06:46 PM                                                                                       
                    Please                                                                                         
                    respond to                                                                                     
                    xsl-list                                                                                       
                                                                                                                   
                                                                                                                   





me> This is a very odd expression.

you> Maybe. But you haven't said that it is wrong.

well it looks odd but it may be that that was what you wanted to
select. I can't know what you intended to do (unless sit's what you did,
in which case you don't need any help:-)

you> Doesn't  preceding-sibling::* refer to all
you> nodes occurring before current node ( td in my case) in document
you> order

only preceding siblings so not all nodes, just ones under the same
parent. But that is also the case with the expression you used.

you> Could I use following-sibling::* as well.

yes you can use any axis you like, but as I say only you know which
elements you want to select.

you>        If I do that Iam getting this error: You cannot call an element
you> 'normalize-space(text())'

that would mean that you forgot to use the {} arount the Xpath
expression.

you> 7) The error I mentioned "Attribute '{$attrname}' outside of element"
you> hasn't gone away.

post a complete (small) input file and a complete (small) stylesheet
say what error you get (in full) and what processor you used.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________






This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Current Thread