D
Dominic Olivastro
Hi all:
I'm new to this newsgroup, and new to XML.
We receive documents in XML, and I am trying to tear them apart to obtain
information. I decided that, for my purposes, it would be fairly easy to
write a simple XML parser, which it was. But now suddenly I find that some
of the information I need is in the form of a Processing Instruction, and
not tagged in the usual way. So I get information like this:
<description>
<?BRFSUM description="Brief Summary" end="lead"?>
The present text related to a photodecter and so on in this vein
<?BRFSUM description="Brief Summary" end="tail"?>
Questions:
1. Why is this not placed in the usual tag format?
2. Can I assume that end="lead" will always open the text, and end="tail"
will always close it? Is this usual for Processing Instructions? From what
I've read, there generally isn't any end tag.
Thanks for any help you can give me.
Dom
mailto: (e-mail address removed)
I'm new to this newsgroup, and new to XML.
We receive documents in XML, and I am trying to tear them apart to obtain
information. I decided that, for my purposes, it would be fairly easy to
write a simple XML parser, which it was. But now suddenly I find that some
of the information I need is in the form of a Processing Instruction, and
not tagged in the usual way. So I get information like this:
<description>
<?BRFSUM description="Brief Summary" end="lead"?>
The present text related to a photodecter and so on in this vein
<?BRFSUM description="Brief Summary" end="tail"?>
Questions:
1. Why is this not placed in the usual tag format?
2. Can I assume that end="lead" will always open the text, and end="tail"
will always close it? Is this usual for Processing Instructions? From what
I've read, there generally isn't any end tag.
Thanks for any help you can give me.
Dom
mailto: (e-mail address removed)