xsl-list
[Top] [All Lists]

Re: [xsl] xsl elements in template not being interpreted by output as-is

2011-03-31 06:08:11
Christian Schouten wrote:

<xsd:value-of
select="$formsetschema/xsd:schema/xsd:annotation/xsd:appinfo/link:linkba
seRef/@xlink:href" />  <!-- another debug line -->
   <xsd:apply-templates
select="$formsetschema/xsd:schema/xsd:annotation/xsd:appinfo/link:linkba
seRef" />

Well for XSLT you need to stick to the prefix "xsl" bound to the XSLT namespace, in above two elements you made the mistake to use the prefix "xsd" bound to the schema namespace instead, so the XSLT processor sees that as a result element, not as XSLT instructions.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>