I have a WiX include file with the following code
<Fragment Id="PropertyFragment">
<Property Id="DynamicLanguageCode" Value="[SystemLanguageID]" />
<?define productLanguage = [DynamicLanguageCode]?>
</Fragment>
Now in my Product tag in my WiX script I'd like to set the Language attribute to the value of productLanguage, as it onl...
I am using VS 2008 with SP1.If I drag DataSet object to solution Explorer,I am able to add Database tables to Designer interface.I am watching some video tutorial ,they are draging XML Schema object instead DataSet object and adding Database table to create Schema.
When i try to do that there is no designer to add the Database table if...
I am making an XML schema for an XML document* and I am getting stuck on something which seems like it should be relatively simple to do. Take the following XML snippet:
<some_element value="Yes" type="boolean">1</some_element >
In this case, I want to restrict the content of some_element to boolean values (xs:boolean) and I want to ...
Hello,
I have a set of XML API's ( XSD ) files. I want to call them from C++ and C# programs. These are two different applications.
I want to get data by calling the api. I would also like to know something about XML RPC
Can someone please let me know how do I call the XML api from C++ and C#.
Thanks
Sujay
...
I have a built a WCF web service against a pre-existing XSD schema which uses the XmlSerializer serializer.
I would like to validate incoming requests and outgoing requests against this pre-existing schema. MSDN contains a worked example of how this can be accomplished using WCF MessageInspectors. The technique described involves creati...
So I was just looking for basic examples of reading xml structure data with visual basic subs/scripts.
specifically, if possible, how can i take structure data of xml, read the data with some vba, and lay it into excel spreadsheets?
or just a learning resource for this type of thing. thanks very much!
...
I am trying to create an XML schema to use with the Web Service Software Factory. It's a fairly simple schema that is just a group of person objects. The (simplified) schema file looks like:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd"
elementFormDefault="qualified"
xm...
How do you validate XML with XSD in Delphi without using MSXML?
I am limited to MSXML3 which can't do XSD.
Googling gave me little to nothing at all.
Please help me, thanks.
...
SQL server has support for XML, but I cannot figure out how to get it to work with the list type
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema id="XMLSchema1"
targetNamespace="http://tempuri.org/XMLSchema1.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/XMLSchema1.xsd"
xmlns:mstns="http://tempuri.org/XMLS...
Suppose in XSD we have an element 'answer' defined:
<xs:element name="answer" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:attribute name="name" use="required">
<xs:simpleType>
<xs:restriction base="answer"/>
</...
I have some XSD that looks something like this:
<element name="a">
<complexType>
<sequence>
<element name="b" type="t:typ" minOccurs="1" maxOccurs="unbounded" />
<element name="c" type="t:typ" minOccurs="1" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
How would I change it so that instead of a...
I have an XSD of this form:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/example"
xmlns:tns="http://www.example.org/example" elementFormDefault="qualified">
<complexType name="bType">
</complexType>
<complexType name="aType">
...
Hey guys,
I'm working on a project that involves a simple web service, and have had a slew of little problems. It's an Apache CXF webservice (using JAX-WS, over SOAP). The service itself is pretty simple: receive a request, insert the request into a database, and return whether the insert was successful. I'd like to rely on XML validat...
Is there an universally acknowledged format for exchange information about 'a person'? I mean stuff like first name, last name, address, contact_address + some custom additional information. Is it better to define an ad-hoc schema or to use some ready made namespace. Thanks!
...
Hey guys,
I've been working on a CXF web service and have had some trouble. With the help of SO, I've got my service validating against a fairly complex schema- a requirement of the project. I've noticed some weird issues with the validation, however.
While datatypes are validated- eg, a random alphanumeric string instead of a date i...
What does this regular express mean. It is in an XML schema that I am using:
([!-~]|[ ])*[!-~]([!-~]|[ ])*
-Dave
...
We have XML files and we want to have C++ classes generated out of XML schema like we have it in .NET xsd.
Also the generated classes instance needs to provide appropriate XML by calling some methods.
...
SQL Server XML Schema Collection is an interesting concept and I find it very useful when designing dynamic data content. However as I work my way through implementing Schema Collections, I find it very difficult to maintain them.
Schema Collection DDL allows only CREATE and ALTER/ADD nodes to existing schemes.
CREATE XML SCHEMA COLLE...
When you add an xml schema to a document like I understand that the xmlns is not actually the location of the xsd file. Is this correct?
How do you in practice reference an xml file's schema?
Is it usually on a web server? That would seem very chatty.
Is it referenced by relative path?
Is it not actually referenced in the xml...
Hey, im trying to open my XML schema for different namespaces, this seems to work but all the default namespace elements now are invalid.
Thank you in advance. I'm trying to achieve the same schema extension mechanism as done in Spring (i.E.: spring-beans.2.5.xsd) they open the bean definition also for ##other and this works!
I added ...