Subject: RE: [xsl] accessing xsl with XML DOM and javascript From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 24 Jul 2001 15:54:42 +0100 |
> the problem is that my function returns me the name of > the node (field) yes, that's what nodeName() returns. and in fact i'd like to get the value > of the "name" attribute (example : end date). Why on earth do you need to go into JavaScript to do this? My general rule is that the only reason to go into JavaScript is to get information that's not available any other way. It should never be necessary to access the source document using DOM interfaces, using XPath expressions is much easier. Especially if you're not completely familiar with the DOM. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] accessing xsl with XML DO, David Carlisle | Thread | [xsl] hard core xlt ;-), Elise D. |
Re: [xsl] accessing xsl with XML DO, David Carlisle | Date | RE: [xsl] generating XML, Michael Kay |
Month |