This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > September 2005 > How to read schema defined in XML file?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to read schema defined in XML file?
VM

2005-09-11, 7:27 pm

Hi all,

I have Test.xml and Test.xsd files where reference to XSD defined in XML is:

<?xml version="1.0" encoding="UTF-8"?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="Test.xsd" generated="2005-05-21T09:17:41">
.. . .

What is C# code to access Test.xsd when only data I have for my application
is the name of Test.xml? Or, where on the Net I can find the example?

Thank you,
VM


Zafar Abbas

2005-09-15, 11:41 pm

where did you get test.xml from. Test.xsd should be in the same location.

"VM" <plugelis at hotmail dot com> wrote in message
news:e1tQCEvtFHA.2076@TK2MSFTNGP14.phx.gbl...
> Hi all,
>
> I have Test.xml and Test.xsd files where reference to XSD defined in XML

is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <dataroot xmlns:od="urn:schemas-microsoft-com:officedata"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="Test.xsd" generated="2005-05-21T09:17:41">
> . . .
>
> What is C# code to access Test.xsd when only data I have for my

application
> is the name of Test.xml? Or, where on the Net I can find the example?
>
> Thank you,
> VM
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews