Hi
I have .net app which scans data from barcode and send it to java web app in the form of xml. Now the problem is we can not standardize xml document as there is some difference in data being sent from client to client. So problem we are facing is we have to write custom code in java for every customer who buy our software. We want to generalize the xml processing code so that it can be used for all client. Please give me your out put. There is handheld device which just scan barcode and send that data in the form of xml and it is a .net application.
CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 16:12:49 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100131080952
location: https://web.archive.org/web/20100131080952/https://answers.oreilly.com/topic/584-xml-processing/
server-timing: captures_list;dur=0.879506, exclusion.robots;dur=0.029651, exclusion.robots.policy;dur=0.013527, esindex;dur=0.016592, cdx.remote;dur=28.900160, LoadShardBlock;dur=282.176539, PetaboxLoader3.datanode;dur=123.158950, PetaboxLoader3.resolve;dur=128.020268
x-app-server: wwwb-app210
x-ts: 302
x-tr: 367
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 16 Jul 2025 16:12:50 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Sun, 31 Jan 2010 08:09:52 GMT
x-archive-orig-server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
x-archive-orig-x-powered-by: PHP/5.2.8
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sat, 31-Jan-2009 08:09:51 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sat, 31-Jan-2009 08:09:51 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_modpids=deleted; expires=Sat, 31-Jan-2009 08:09:51 GMT; path=/; domain=.oreilly.com
x-archive-orig-cache-control: ,no-cachemust-revalidate, max-age=0
x-archive-orig-expires: 0
x-archive-orig-pragma: no-cache
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 31 Jan 2010 08:09:52 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 08 Nov 2009 06:49:42 GMT", ; rel="prev memento"; datetime="Mon, 18 Jan 2010 13:29:08 GMT", ; rel="memento"; datetime="Sun, 31 Jan 2010 08:09:52 GMT", ; rel="next memento"; datetime="Wed, 24 Mar 2010 04:09:41 GMT", ; rel="last memento"; datetime="Thu, 03 Apr 2014 15:06:41 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100131075403_crawl102-c/51_14_20100131080939_crawl100.arc.gz
server-timing: captures_list;dur=2.535945, exclusion.robots;dur=0.015143, exclusion.robots.policy;dur=0.006555, esindex;dur=0.011096, cdx.remote;dur=83.544092, LoadShardBlock;dur=393.239660, PetaboxLoader3.datanode;dur=495.485293, load_resource;dur=312.243540, PetaboxLoader3.resolve;dur=145.323731
x-app-server: wwwb-app210
x-ts: 200
x-tr: 866
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
xml processing - O'Reilly Answers
Welcome
O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Related Questions
Related Posts
Recommended for You
xml processing
2 Answers | 1 Comment
filter by:
Comment by
pat1975
: Nov 05 2009 05:53 PM


Thanks for your help, but we dont have any access to .net code and whatever option we had is on java code. Is there any option on java side. I havent dont much of a xml processing so I might be missing something. But all your feedback will be appreciated.
Thanks
Thanks
It's a little weird to see that you have a .NET app but "dont have any access to .net code." You've actually got a huge array of Java and XML options. Wander around XML Apache and you'll stumble over several.
But the real question is this: it sounds less like you need data binding and more like you just need to set an XML DTD or Schema or Relax NG Schema to constrain your data. Writing custom code for every client doesn't make sense; at worst, you should have one set of code to handle a particular XML format.
Once you've got that format set, then, yes, you can use data binding or a similar data binding API to pull your data into Java without lots of custom code.
Does that make sense?
-Brett
But the real question is this: it sounds less like you need data binding and more like you just need to set an XML DTD or Schema or Relax NG Schema to constrain your data. Writing custom code for every client doesn't make sense; at worst, you should have one set of code to handle a particular XML format.
Once you've got that format set, then, yes, you can use data binding or a similar data binding API to pull your data into Java without lots of custom code.
Does that make sense?
-Brett
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |