[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] how to get < sign in output of an xslt
Subject: RE: [xsl] how to get < sign in output of an xslt From: "Passin, Tom" <tpassin@xxxxxxxxxxxx> Date: Mon, 6 Jan 2003 11:45:08 -0500 |
[Sai, Mukundan] > i have an xslt which is outputting a text ... > i want '< ' symbol to appear in the text output ... > when i use < it is outputted as '<' only not as '<' .. > only if i view the ouput in ie do i get '<' symbol .. can > anybody tell me how > to get '<' in the text output of an xslt .. > thanks in advance The solution depends on what you want to achieve. If you want the output to **look like** "<" in a browser, you do not have to do anything. The html or xml output will actually contain "<" but it will **display** as you want in the browser. If you want to produce text output (for the entire output document), and not html or xml, then specify method='text' in the xsl:output element, and a real "<" will be emitted. If you want to have an actual "<" in xml or html output, you cannot have that. This is a fundamental thing about xml (and html). Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to get < sign in outp, Edward . Middleton | Thread | [xsl] Spaces in Tag Name, Vijaya Kumar Y |
Re: [xsl] outputing tags, Sam Carleton | Date | [xsl] 'Problems getting '&' output , Edward L. Knoll |
Month |