Hi,
We have some XSDs in our project that define types that use attributes, as well as elements, to specify property values, e.g.:
<Instrument name="blah">
</Instrument>
I use these XSDs to define a schema used by a WSDL, but when I run it through schemagen, the generated code is unwrapped. For example:
public interface InstrumentSe...
I am using ssis to import large XML files. The XSD generating function is not too good. Can someone recommend a good program to creating XSD? I would like to a program to be able to create the XSD without having to understand the cryptic notation it uses!
...
Does anyone have any updates on this since the alpha 0.2?
...
As a follow-up to this question I'm looking for someone who can provide me with a link to XSDClassGen, a .NET 2.0 "version" of XSDObjectGen.
...
Hi all,
I need validate an xml using xsd in .net,
my files
see next post
any help about it ? any sample code source ?
Thanks in advance, king regards
...
I'm trying to wrap my head around xml schemas and one thing I'm trying to figure out is how to do relational type schemas where on element refers to another, possibly in another schema altogether. I've looked at the xsd:key and xsd:keyref and it seems like the sort of thing I'm interested in, but I'm not sure. Initially I just set attrib...
Hi.
I'm trying to publish some HL7 schemas (with quite a few ) as wcf services using the "WCF Service Publishing Wizard". The wizard seemingly runs and completes just fine, creating a service that exposes the schemas I want. But when I try to browse the newly created service, I get "Server Application Unavailable"... I looked in the ev...
I generated some C# classes from an XSD using the Visual Studio XSD utility and it generated arrays for storing a collection of elements, rather than one of the built-in generic Collection<T> (or related) classes.
None of the command line parameters mentioned in xsd /? mention anything about generating collections rather than arrays, bu...
The problem is as follows:
I have to following XML snippet:
<time format="minutes">11:60</time>
The problem is that I can't add both the attribute and the restriction at the same time. The attribute format can only have the values minutes, hours and seconds. The time has the restrictionpattern \d{2}:\d{2}
<xs:element name="time" typ...
I am using XmlValidatingReader object to validat my object against a xsd schema but this class is obsolete in .NEt 2.0. Does any one have the right code to use the new Vaildation classes.
...
Hi.
Not all that familiar with XSD, I wonder if it is possible to do the following:
<xs:group name="SomeGroup">
<xs:sequence>
<xs:element name="Groupingcode" type="OurType" origin="DB" />
<xs:element name="Description" type="StringType" origin="XML" />
To explain: I have an XSD schema file. I need to generate an X...
I have recently started using CAML.NET IntelliSense for SharePoint with Visual Studio 2008; which works great; however whenever I create a new project using STSDev 2008 (and thus generate feature.xml and WebParts.xml) the default schemas include the CAML.NET IntelliSense and the built-in (relatively incomplete) schemas:
caml.xsd
wss.xs...
Are there any tools available for transforming types defined in an xsd schema (may or may not include other xsd files) into ActionScript value objects? I've been googling this for a while but can't seem to find any tools and I'm pondering wether writing such a tool would save us more time right now than to simply code our value objects b...
OK, I generated C# classes from my huge XSD file. Now I have a set of C# classes, XSD schema and actual XML data. Is there an automatic or semi-automatic way to fill these class instances with XML data that I have?
Thank you.
...
I have a problem making an xsd file. I need to have an xsd file for xml documents which will look like this:
<message type="login">
<login nick="Ben" gameId="chess" desiredRole="simple "/>
</message>
or like this
<message type="error">
Error message
</message>
Meaning there is always a message tag but it has different attribute...
Is there some sensible way to have elements with strongly-typed simple-types and also attributes?
Okay, I have an XSD schema which has a million (er, hundred) elements that might look like this:
<xsd:element name="DocumentDescription" type="xsd:string" />
<xsd:element name="DocumentDateTime" type="xsd:dateTime" />
<xsd:element name="Do...
Is it possible to create a CHM file or HTML help (akin to those created by Sandcastle) from an XSD file? Text in the xs:documentation nodes contains, well, the documentation.
An example snippet from one of the XSD files I have is
<xs:element name="Request" type="RequestType">
<xs:annotation>
<xs:documentation>
<html:p>The Request...
I'm working on a project that has to connect to some ancient webservices that pack some hierarchical data for requests and responses into single strings of hierarchical XML.
I've been using xsd.exe to generate XSDs from sample request and response XML fragments, modifying them where necessary to be the best possible definition, and usi...
In our company we have discussion going on whether to allow xml/xsd strucutures (used in webservices) that contain parts that are loosly-typed, in order to make changes to them easier.
What do you thing are the pro's and cons of doing one (loosly-typed) or the other (strictly-typed) ? Arguments could be in the categories, of ease of ch...
You can verify an XPath expression against an XML doc to verify it, but is there an easy way to verify the same XPath expression against the schema for that document?
Say I have an XSD schema like this:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" ... etc>
<xsd:element name="RootData">
<xsd:complexType>
<xsd:seq...