Subject: 2.7.2 How to use /quote in XSL (was RE: xsl + xsl -- xsl)
From: Francois Belanger <francois@xxxxxxxxxxx>
Date: Fri, 11 Dec 98 10:13:27 -0500
|
alan dennis wrote on 11/12/98 08h42:
>This results in something like
> <xsl:attribute name="COLSPAN">
>
>Which looks right in an html browser but is not what I wanted to
>produce. I played with xsl:eval for a bit but it won't produce tags, for
>instance if you have
I think the solution lies in 2.7.2 Literal results elements of the XSL
Draft:
Since an XSL processor acts on elements belonging to the XSL namespace,
the problem arises of how to create elements belonging to the XSL
namespace. A namespace whose URI is http://www.w3.org/TR/WD-xsl followed
by one or more occurrences of /quote is called a quoted namespace. Quoted
namespaces are treated specially: before a result tree is written out as
XML all quoted namespace URIs in expanded names and in namespace prefix
maps are unquoted by removing the final /quote.
The spec is not clear on where the /quote appears and there's no example
and there's no mention of it in the XML Namespace recommendation. I tried
different ways on adding /quote to XSL output to no avail, using Jame
Clark XT.
Does anyone knows how to use /quote to be able to output XSL with XSL?
Francois Belanger
Sitepak, Bringing Internet Business into Focus
http://www.sitepak.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|