Subject: RE: [xsl] XML to HTML From: "Corey Spitzer" <cspitzer@xxxxxxxxx> Date: Fri, 21 Sep 2001 14:53:31 -0500 |
try: <xsl:template match="access_name"> <instruction_content><xsl:value-of select="."/></instruction_content> </xsl:template> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Frederick, Greg (Contractor) Sent: Friday, September 21, 2001 1:56 PM To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx' Subject: [xsl] XML to HTML I'm converting XML to HTML and need help pulling a file name from an element name through an attribute. My media is listed under a media items section and then referenced in the text by an attribute. Is there any way of referencing an element from an attribute? My XML example Media Section: <media_item identifier="medad59010005" category_type_code="3" file_type_code="gif"> <media_name>Figure 2-1. </media_name> <access_name>ad59010005.gif</access_name> </media_item> Text section <instruction_content> <media_ref media_alias="medad59010005"/> </instruction_content> I need the <access_name> in place of the <media_ref> tag Thanks Greg 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 -> |
---|---|---|
[xsl] XML to HTML, Frederick, Greg (Con | Thread | Re: [xsl] XML to HTML, Jörg Heinicke |
Re: [xsl] xsl:element, Mike Brown | Date | Re: [xsl] XML to HTML, Jörg Heinicke |
Month |