Hi,
I have 2 XML files and 1 XSLT file.
The second XML file has the following declarative 1st line:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
....the 1st one (the one to be transformed) doesn't.
In the transform file I load the 2nd XML file which contains
a load of language lookups.
The transform then proceeds to output the 1st XML file
as-is, except it replaces certain attribute values with a value
in the documnet(filename) loaded XML.
Problem:
- If I alter the 1st XML file to include a reference to the XSLT
and the XSLT so that attributes are output as plain text and then
load it into IE6 SP1, then it works and certain attribute values
have been replaced.
BUT
- If I use .NET using the same XML and XSLT files, (except
the 1st XML file doesn't reference the XSLT) and do the
transform in code then it doesn't work. i.e the attribute values
that should be replaced aren't
I think it may have something to do with namespaces as, I
think(?), .NET is stricter, but I'm not sure.
Any help would be much appreciated.
Regards,
Peter