RE: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)

From
Elliotte Rusty Harold <>
To
Date
2002-09-23T19:03:46Z
ID
<p0433010ab9b515c5e302@[192.168.254.4]>
Thread
RE: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
>So you're saying that your getValue() method is also going to confuse
>developers about text nodes?

No, mostly because it's read-only. There's no setValue() method; but 
also because it uses a different name. Someone who's thinking about 
text nodes will look for text nodes, not the value.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+