Ah,
It looks like it was a prob with the incoming XML. The entities were coming
through as uppercase, which caused probs.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"David" <david.colliver.NEWS@revilloc.REMOVETHIS.comwrote in message
news:uma9KiQqIHA.1736@TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
Hi,
>
I am still new to XML and thought I had my solution written, but during
the rollout, we have come up with a problem with actual XML coming in (as
opposed to our test XML).
>
Some character entities have been transmitted unexpectedly.
' and <
>
I am loading my XML with XmlDocument, just by
XmlDocument xDoc = new XmlDocument();
>
xDoc.Load(IncomingFilePath + e.Name);
>
e is an incoming Fileinfo. My XML does not have any declaration at the top
for a DTD.
>
I always thought ' and < were understood, but obviously not.
>
The first line of my incoming XML is <?xml version="1.0"
encoding="UTF-8"?>
then it goes straight into the data.
>
How do I allow my XML document to load and be worked on?
>
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
>
|