开发者

Use XSD file in XBAP application

In an existing Winforms application, I receive XML formatted data from a database query, and use a local XSD file to parse the resulting XML element.

Now, I'd like to achieve the same from within a WPF XBAP (application in browser), so no local XSD file is accessible.

Obviously I can load the XSD file onto my web server, but how do I tell WPF to use this schema file for parsing the XM开发者_JAVA技巧L chunk?


Use XmlnsDefinition and XmlnsPrefix assemblies to map the XSD file to page element or XML root element.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜