Subject: RE: [xsl] Creating then using elements from xml table <row><entry > content? From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx> Date: Thu, 30 Oct 2003 11:18:45 -0500 |
I ended up creating a template for <entry> and did an <xsl:apply-templates/> in that (to get the link template, etc., applied), then applied the entry template where I needed the element. Definitely learned more about the dreaded, but oh-so-important, CONTEXT, and more besides. Also, reading thru the FAQ as time allows. I do tend to over-complicate, e.g., nothing special about table rows/entries, they are simply elements. Thanks again to all. Kathy -----Original Message----- From: Passin, Tom [mailto:tpassin@xxxxxxxxxxxx] Sent: Thursday, October 30, 2003 10:43 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Creating then using elements from xml table <row><entry > content? [Kathy Burke] > Follow on question, please. > > Within a table/row <entry> there can also be a <link> > element. When I use > <xsl:value-of select='entry[1]'/> etc., I dont' get the nested <link> > element so my link template doesn't get applied. Any clues? > Probably copy-of instead of value-of will do it, depending of course on exactly what you want. Cheers, Tom P 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] Creating then using eleme, Passin, Tom | Thread | [xsl] Handling Duplicate Lines in X, Jens Serna |
RE: [xsl] Creating then using eleme, Passin, Tom | Date | Re: [xsl] XSL Grouping Trouble, karthikeyan.balasubr |
Month |