Subject: RE: [xsl] Displaying text nodes and child nodes From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx> Date: Mon, 27 May 2002 12:02:06 +0100 |
Hi there! First I would like to thanks to every one that help me with my problem. I found a solution using this template: <xsl:template match="Contact//*|Contact//text()"> <xsl:copy> <xsl:apply-templates match="*|text()"/> </xsl:copy> </xsl:template> and it worked just fine :) And yes David, it seams that it would be an answer like that but you see, java is similar to C but it isn't C. I'm learning xslt but I can't simply leave the WD-xsl until I can do the same kind of work with xslt. You see, I write web pages to that mostly use IE4 and IE5 so I'm stuck with WD-xsl for a while. I've also to worry about portability and that's the greatest head ach for those who write web pages. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David Carlisle Sent: sexta-feira, 24 de Maio de 2002 13:53 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Displaying text nodes and child nodes > I tryied your code but it didn't work because I use the namespace > 'http://www.w3.org/TR/WD-xsl' If you posted to a C list and someone gives an answer in C would you say "but it doesn't work because I use Java". This list is for XSL, but you are using an unsupported obsolete language that is specific to older versions of microsoft XML parsers. IE5 can use XSL if upgraded to MSXML3 and IE6 uses XSL by default. MSXML4 only supports XSL and doesn't support the language WD-xsl at all. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Displaying text nodes and, David Carlisle | Thread | Re: [xsl] Displaying text nodes and, David Carlisle |
RE: [xsl] Select a node in another , Vladimir Stanciu | Date | Re: [xsl] Displaying text nodes and, David Carlisle |
Month |