Re: [xslt] libxslt
- From: Thomas Broyer <tbroyer ltgt net>
- To: xslt gnome org
- Subject: Re: [xslt] libxslt
- Date: Mon, 23 Jul 2001 12:22:09 +0200
Le 23/07/01 02:49:32, Daniel Veillard a écrit :
> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> > version="1.0">
> > <xsl:variable name="StyleInfo">
> > <xsl:element name="META">
> > <xsl:attribute
> > name="HTTP-EQUIV">Content-Style-Type</xsl:attribute>
> > </xsl:element>
> > </xsl:variable>
> > </xsl:stylesheet>
>
> Hum ... xsl:element outside of a template ... I don't handle those,
> I'm uncertain if this is really allowed ... This would require a bit
> of work to support.
xsl:element is defined as an instruction, so it's allowed everywhere a
«template» content model is allowed; and xsl:variable is defined to have
<!-- Content: template -->
Appendix C confirms this:
<!ENTITY % template "
(#PCDATA
%instruction;
%result-elements;)*
">
...
<!ELEMENT xsl:variable %template;>
Tom.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]