If I understand your request, you want to store the character decimal 62 , hex 3e, octal 76 in the attribute and have it processed throught the xml. Remember, the string going into the attribute is what will come out of the attribute. So the "&" is being escaped because it will marshall it safely through XML and back so you have &#62. But I think you want to have the ">", greater than sign, pass to the next environment. If so, use the octal representation in the String.

Try:

att.setValue("\076"); //octal 76 = decimal 62 = ">"

That will show it in the xml as > , but when it comes back from XML, it will be the greater than sign again.


Hope that helps, Dave


--


+------------------------------------------------------------+
| David Lucas                        mailto:[EMAIL PROTECTED]  |
| Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
| Unix,Java,C++,CORBA,XML,EJB        (614) 668-4020 Mobile   |
| Middleware,Frameworks              (888) 866-4728 Fax/Msg  |
+------------------------------------------------------------+
| GPS Location:  40.0150 deg Lat,  -82.6378 deg Long         |
| IMHC: "Jesus Christ is the way, the truth, and the life."  |
| IMHC: "I know where I am; I know where I'm going."    <><  |
+------------------------------------------------------------+

Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to