Re: Parsing out chunks of .xml from a binary file
- From: usenet@xxxxxxxxxxxxxxx
- Date: 29 Mar 2006 11:11:03 -0800
cjhorton wrote:
I have binary files that have chunks of .xml data in them that I want
to parse out and use.
Have you tried a regular parser such as XML::Simple? I can't think of
any reason why an ordinary XML parser would care about the binary
portion of the file (a good parser ought to ignore what it cannot
understand). Perl certinally doesn't care if an input stream is
"binary" or ASCII (it's all the same to Perl). But I've never actually
tried parsing mixed XML.
If a regular parser doesn't work, could you post a sample of your data
on a webserver somewhere and furnish a link?
--
http://DavidFilmer.com
.
- Follow-Ups:
- Re: Parsing out chunks of .xml from a binary file
- From: cjhorton
- Re: Parsing out chunks of .xml from a binary file
- References:
- Parsing out chunks of .xml from a binary file
- From: cjhorton
- Parsing out chunks of .xml from a binary file
- Prev by Date: Re: Whimsical Question
- Next by Date: RE: Whimsical Question
- Previous by thread: Parsing out chunks of .xml from a binary file
- Next by thread: Re: Parsing out chunks of .xml from a binary file
- Index(es):