This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: That didnt work either! RE: How to add a "less than" or "grea ter than" sign?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: That didnt work either! RE: How to add a "less than" or "grea ter than" sign?
- From: "Selva, Francis" <Francis dot Selva at purchasepro dot com>
- Date: Thu, 13 Apr 2000 14:53:35 -0700
- Reply-To: xsl-list at mulberrytech dot com
> <xsl:template match="/">
> <<xsl:value-of select="@title"/>>2000</<xsl:value-of
> select="@title"/>>
> In this case however @title will be empty
> I would assume it would produce the text <>2000</>.
Sorry I was on the impression that he(the originator for this question) was
trying to describe XML in HTML.But in Saxon,it's displaying the results like
<>2000</> and not <>2000</> How come Im geting the result in
that format?.
>
> <xsl:element name="{@title}">2000</xsl:element>
> is same as
> <xsl:element name="">2000</xsl:element>
> which is an error as <>2000</> is not well formed XML.
> So in this case you should get an error from the xsl system.
Yes Im getting the error as "Name contains invalid characters" which puzzled
me and raised a question in my mind why SOMETIMES the error messages are not
that clear in xsl
Thanx David
Francis
*****************************************************
The woods are lovely,dark and deep.
But I have promises to keep,
And miles to go before I sleep
And miles to go before I sleep.
*****************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list