[Home] [By Thread] [By Date] [Recent Entries]

  • From: Amelia A Lewis <amyzing@t...>
  • To: ycao5@s...
  • Date: Tue, 6 Jul 2010 19:27:30 -0400

On Mon, 05 Jul 2010 15:22:13 -0400, ycao5@s... 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member