Problem with & during parsing
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thorsten_Haus
Posted On:   Thursday, October 11, 2001 06:41 AM

Hi, I need help. I parse a xml-File with Sun jaxp-1.1 and Apache Xerces 2.0.0 beta 2. During parsing I create sql-Strings to insert the Data into a MS SQL 2000 Database. In the Files there are & and here is my Problem. I use amp-entity for & Exaple: Jenny & Co. Result from Xerces: titel: Jenny titel: & titel: Co. Xerces seperate the tag into three tags. But I need one String to insert it into the DB. Can anybody help me? Thank you Thorsten    More>>

Hi,



I need help.


I parse a xml-File with Sun jaxp-1.1 and Apache Xerces 2.0.0 beta 2. During parsing I create sql-Strings to insert the Data into a MS SQL 2000 Database.
In the Files there are & and here is my Problem.



I use amp-entity for &



Exaple:


Jenny & Co.




Result from Xerces:


titel: Jenny

titel: &

titel: Co.




Xerces seperate the tag into three tags. But I need one String to insert it into the DB.


Can anybody help me?



Thank you


Thorsten

   <<Less

Re: Problem with &amp; during parsing

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, October 11, 2001 07:09 AM

what is the result from Xerces for Jenny and Co. instead of Jenny & Co.? just checking to make sure & is really the issue.
About | Sitemap | Contact