|
by: Almoni |
last post by:
Hi,
I have a few .xsd files that include each other in the following way:
<!-- lets call the main schema file AA.xsd and it includes BB.xsd
inside it -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
|
by: Robert Jacobson |
last post by:
Hi,
I have a number of classes in one assembly. I'd like to use XSD.exe to
generate a schema for just one class ("Parse Rules") and its nested child
classes. Is there an attribute that will allow me to do this?
I tried running XSD on the entire assembly, with the plan to delete the
unnecessary classes from the .xsd afterwords. However, it complained that a
certain class "cannot be serialized because it does not have a default...
|
by: M Ali |
last post by:
Hi,
I am in a situation where I don't have access to an xml, say
"original.xml". But I do have the schema for it and an XSLT
transformation on it that would create a new xml from "original.xml"
called "transform.xml".
What i need is the schema for the "transform.xml". I could generate
the schema from the xml if I had "transform.xml". But I don't have
access to "original.xml" so I cannot apply the transform to get
|
by: rehveli |
last post by:
Isn't it possible to generate .cs files from schemas, where one
schema imports another, and both have the same namespace?
If a.xsd and b.xsd have namespace "MyNameSpace", and in b.xsd I
do <xsd:import namespace="MyNameSpace" schemaLocation="a.xsd"/>
and run "xsd.exe /c a.xsd b.xsd", xsd.exe errors out with
"Error: A schema with the namespace 'MyNameSpace' has already
been added."
|
by: PeterW |
last post by:
I have an xml file from which I want to generate an xsd schema and at a later
stage a cs class.
The xml file has a mix of defined namespaces and also an empty namespace.
These are defined as follows:
<silcn:silcn xmlns:silcn='http://silcn.org/200309'
xmlns='http://xmlprobe.com/200312'>
it contains an element <report> off the root and also a separate
<Silcn:report> again off the root.
|
|
by: comic_rage |
last post by:
Hi,
I am writing code with C# to generate xml schema, however, the
following code generate a UTF-16 in the first line. This will create
some problems. How can get the code/missing what part of the code in C#
to generate a first line with UTF-8 instead of UTF-16? Thanks,
public XmlSchema CreateSchemaRoot()
|
by: Phil Lee |
last post by:
I'm sure this is possible but I just can't see how to do it. I want to add
schemas to my solution and have C# classes automatically generated from
them. I can see how to generate typed DataSet's with the MSDataSetGenerator
custom tool. Is there something similar for simple schemas?
Regards
Phil Lee
|
by: Nathan Wiegman |
last post by:
Hi,
I am using the XSD utility to generate schemas for some of the classes that
we serialize in our project. Everything works fine and dandy until I try and
create a schema for a class that spans assemblies.
For example, if I have a class named "ClassB" that resides in "ClassB.exe"
and uses stuff (classes) from "ClassC.dll", I would expect the following to
work:
|
by: andy gilman |
last post by:
When I generate an xsd *schema* I get something like :
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="AccountsReceivable">
....
but I want to have the following, and don't know how to achieve it
|
by: mmaslar |
last post by:
Can Visual Studio ('05 or '08) generate a WSDL file with an external Schema file? eg. Instead of placing the schema within the WSDL file, generate it in a separate XSD file?
In other words...
When I browse to the WSDL (http://localhost:4444/WebService1.asmx?wsdl) the schema is inline. I'd like it to be external. Any way of doing that? Yes I know the net result is the same, but this WSDL will become the "contract" for other systems -- and an...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|