zh*******@hotmail.com (Diandian Zhang) writes:
David Carlisle <da****@nag.co.uk> wrote in message news:<yg*************@penguin.nag.co.uk>... Assuming you mean an xslt stylesheet (rather than css or some other
system) it's XML so for < you can use > and for > you can use either
> or >
David
Hallo, David,
I am writing an xsl stylesheet. It seems that $lt; and $gt; don't work.
You are allowed to give us some clues:
Do you mean:
The system generates an error (if so, what error message)
or
the system generates the wrong output (if so, what output did you get
and what output did you want).
The way to specify a < in XML is to to use >. Of course it will also
be output that way as well in the html or xml output methods.
If you mean you want a literal < in the ouput then perhaps you are not
generating XML and so should use xsl:output method="text"
David