hi,
Use < in place of < in your xml.
Regards
Manpreet
-----Original Message-----
From: Juliet Despi [mailto:jdespi(_at_)ntsp(_dot_)nec(_dot_)co(_dot_)jp]
Sent: Friday, November 05, 2004 1:44 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] question
hello,
I am pretty new to xml and xsl.
I have an xml file in the following format:
<ne_resp cmd="show port counters">
<line>Rx 64b< <128b : 0 |TxSingleCollPkt:
0</line>
<ne_resp>
I want to ouput an xml by using XSLT.
And this is my desired output:
<ne_resp cmd="show port counters">
<row>
<col name="Rx 64b< <128b">0</col>
<col name="TxSingleCollPkt">0</col>
</row>
</ne_resp>
Unfortunately, I got this error:
parser error : StartTag: invalid element name in analyzing the xml file
due to '<' in "Rx 64b< <128b"
How can I make the start tag '<', a literal character '<' so that I may able
to acquire my desired output?
Thanks in advance,
Juliet
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--