[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Creating then using elements from xml table<row><e
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|