Subject: RE: [xsl] Copying nodes From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx> Date: Tue, 10 Dec 2002 10:11:02 -0800 (PST) |
I'm sorry but still doesn not work. -----Original Message----- From: Américo Albuquerque [mailto:aalbuquerque@xxxxxxxxxxxxxxxx] Sent: Tuesday, December 10, 2002 11:42 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Copying nodes Hi. Use: <xsl:template match="@URL"> <xsl:copy>http://www.mydomain.com</xsl:copy> </xsl:template> Hope that this helps -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Juan Carlos Gonzalez Sent: terça-feira, 10 de Dezembro de 2002 14:44 To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Copying nodes Hi: I have the following templates for copying nodes and it's attributes which work OK: <xsl:template match="/"> <xsl:apply-templates select="/root/categ"/> </xsl:template> <xsl:template match="categ|@*"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:copy-of select="*"/> </xsl:copy> </xsl:template> What I'm trying to do is to change the value for a specific attribute, for that purpose I have created another template but it doesn't seem to execute at all: <xsl:template match="@URL"> http://www.mydomain.com <!-- or <xsl:copy-of select="http://www.mydomain.com"/> --> </xsl:template> Thanks. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Copying nodes, Américo Albuquerque | Thread | RE: [xsl] Copying nodes, Américo Albuquerque |
RE: [xsl] sorting from a set of val, TSchutzerWeissmann | Date | [xsl] Multiple tranformations of a , Ram UGroups |
Month |