xsl-list
[Top] [All Lists]

RE: Creating then using elements from xml table <row><entry > content?

2003-10-30 09:18:45
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(_at_)mitretek(_dot_)org]
Sent: Thursday, October 30, 2003 10:43 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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