xsl-list
[Top] [All Lists]

RE: Numbered Elements

2003-05-03 07:42:50
-----Original Message-----
From:     "Jack Cane" <jwcane(_at_)enw-ltd(_dot_)com>

Now I need to refer to an element by number.

The Transform template of xRef is
 <xsl:template match="etd:xRef">
    <xsl:apply-templates select="number[(_at_)Target='etd:RefElemID']" />
 </xsl:template>


Please show us the namespace declarations from your stylesheet and provide an 
example of an "etd:xRef" element. It appears from your template for this 
element that you are trying to select those "number" elements (which doesn't 
appear to be in the "etd" namespace), which have a "Target" attribute whose 
value is the string 'etd:RefElemID'. Is this correct?

-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list