What I'm looking to be able to create is one XSD which would validate both of the following:
<parent>
<mother>
<name>
<firstname>foo</firstname>
<surname> bar </surname>
<maidenname>rab</maidenname>
</name>
</mother>
</parent>
and
<parent>
<father>
<name>
<firstname>foo</firstname>
<surname> bar </surname>
<...
I am writing an XSLT for turning an XML file into a human-readable HTML page.
The XML has several fields to describe some aspects of the data, which contain integers which represent mapped strings. The integers are not the information the user wants, I need to map those integers to the corresponding strings.
The mapped strings are avai...
Is there T4 templates available for generating c# classes from xsd?
...
I know I have done this before, but it isn't working today, nor can I find anywhere that explains how to do it. It could be my lack of sleep, but I suspect gremlins.
I have an XML document and a directory full of XSD's that define it. How do I set the Visual IDE up to notify me of validation failures, and then provide an intellisens...
scratching my head on WCF ... I've got XML messages where the children of could be anything, e.g.
<Test1Root>
<CaseNo></CaseNo>
<Activity></Activity>
<DataFields>
<AccountRef></AccountRef>
<PropRef></PropRef>
<User></User>
</DataFields>
</Test1Root>
I've handled this in BizTalk using the xs:any for the
<xs:...
Hey,
I'm currently building an XSD to validate some XML I'm working on, I'm guessing this probably isn't possible but I'm wondering if there is some way to enforce an attribute that is a ";" delimited list for example
<nbsp style="cell-width:1.29;background-color:#99CC00;"/>
similar to the way the style attribute works in html.
Than...
Given the following (piece of) a soap call;
<m1:NextCommencementDateInput xmlns:m1="http://foo.bar.com/Types">
<aDate xmlns="">2010-06-02</aDate>
</m1:NextCommencementDateInput>
Apperantly this is the same as (when validating against the xsd using XMLSpy)
<m1:NextCommencementDateInput xmlns:m1="http://foo.bar.com/Types">
...
Does anyone knows how can I configure inst2xsd to generate int and not byte (nor short)?
I use the -simple-content-types smart (default) option.
see also their online docs.
10x, asaf :-)
...
Does anyone know if there is an XSD file somewhere that can be used to validate the XML documentation that gets generated when you compile a C# project with the /doc option?
I want to modify that file manually after it's been generated and I'm looking for an easy way to confirm that I haven't damaged the structure of the file.
Thanks.
...
Hi,
I'm havving a bit of a trouble finding some way to read the complex types from a wsdl in my Java app. I'm using WSDL4J but it doesn't seem to help me get the complex types. Is there a better lib for this?
Thank you in advance
...
Is there a tool to generate an XSD schema from SQL Server database ?
This XSD would be used for importing XML data into database with BULK INSERT or bcp
...
I'm not sure what exactly the right term is, kind of like ORM using XML as the data store. Are there any decent tools which will autogenerate C++ classes (including data and serialization/deserialization) based on an XML schema? Or will create XML-sync code and schema based on a C++ class definition?
TinyXML is great but it's so old-sch...
I'm sorting a list of elements based on type, as defined in my schema. I know that XSLT can validate against a given schema, but what I want to do is check to make sure that my operation (a copy in this case) is valid before I do it.
Simplified code:
Incoming Data:
<?xml version="1.0"?>
<sch:foo xmlns:sch="http://www.whatever.com/sche...
Got following error when validating xml response against the xsd. What does this excactly means?
...
<Item id="G1@MIT" type="GROUP">
<Item id="B1@MIT" type="BLOCKSEGMENT"/>
<Item id="S1@MIT" type="SWITCH"/>
</Item>
xml content above is an example of my xml data.
As you see I have Items that can contain other items.
My first question is how to define xml schema in this situation.
My second question is I want my id attribute to co...
My current problem could best be solved by an industry standard DTD or XSD describing restaurant menus. I don't think such an industry standard exists.
I'm hoping at least one organization has already published such a DTD/XSD, even if it's only for their own proprietary use.
My goals are to store a wide range of arbitrary restaurant me...
I am using Visual Studio 2008.
I have xml files and corresponding xml schemas for validation.
When I modify any of schema files and save it VS automatically generate a header file,*.dll files and some garbage from it.
But I don't want this.
How can I stop this behaviour?
...
Here is my schema and xml file contents.When I want to validate my xml file with my schema file I got the error:Element X1 is not defined in this scope.
Error line: 25
Error column: 12.
Where is the problem?
<xs:complexType name="LabelType">
<xs:sequence>
<xs:element name="Text" type="xs:string"/>
<xs:element ...
I have a XML file and a a bunch of XSD files with schemas. How do I parse the XML file using the correct XSD file and schema in PHP?
...
Hi All,
My application has a xml based configuration. It has also a xsd file. Before my application starts, xmllint will check the configuration against the xsd file.
With the growth of my application, the configuration structure has changed a bit. Now I have to face this problem: When I provide a new version of my application to cust...