[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] How to represent P/E correctly?
- From: Amelia A Lewis <amyzing@talsever.com>
- To: ycao5@scs.carleton.ca
- Date: Tue, 6 Jul 2010 19:27:30 -0400
On Mon, 05 Jul 2010 15:22:13 -0400, ycao5@scs.carleton.ca wrote:
> I have a basic question for xml and xslt. The xml element node
> name contains a "/". For example, an xml element node
> (price-to-earnings ratio) is represented as P/E. The xml parser will
> throw an exception for "/" follows P. How to correctly represent the
> tag name containing "/"?
While <P/E> is not legal XML, <price-to-earnings> is. So is
<price-to-earnings-ratio>.
dnt abrvt wo ncsty
Amy!
--
Amelia A. Lewis amyzing {at} talsever.com
To be whole is to be part; true voyage is return.
-- Laia Asieo Odo (Ursula K. LeGuin, "The Dispossessed")
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]