Most voted "xsd" questions
XML Schema (XSD) is a language based on the XML format for defining validation rules ("schemas") in XML format documents. It was the first schema language for XML to obtain recommendation status from W3C. This language is an alternative to the DTD, whose syntax is not based on the XML format. If the doubt is not about XML Schema (XSD), do not use this tag, even if you are using XML Schema (XSD) in your project.
Learn more…28 questions
Sort by count of
-
14
votes2
answers14814
viewsWhat is the difference between an XML file and an XSD file?
We know that these two types of files are correlated - .XSD e XML. What’s the difference between the two? What good is a .XML(Extensible Markup Language) and the .XSD? It is possible to work with an…
-
9
votes1
answer1024
viewsGenerate classes with XSD or import WSDL [ANS / TISS]
To ANS provides the files .XSD, and the .WSDL for the implementation of the protocol TISS. Sand I type the code by . XSD, I have the classes structured correctly. Example: namespace TissV3 { class…
-
7
votes2
answers4076
viewsSimple example of how to generate an XML file on Oracle
One would have a simple example of a PLSQL Procedure (or documentation location) to generate an XML file based on a Schema (xsd), the data would be generated from an SQL query. In reality archives…
-
7
votes2
answers930
viewsUnderstanding the documents of a SOAP web service
I am working with a system that offers integration through web service, more precisely SOAP. He provides me with some Urls, which, from what I understand, provide access, describe and document the…
-
7
votes1
answer296
viewsC# - Maintenance of Classes generated from xsd file
I’m developing an application that uses classes generated from xsd files made available by the IRS with the xsd.exe. I use them to serialize xml files from the objects of these classes after…
-
3
votes1
answer275
viewsGeneral namespace for mapped class
Could someone help me with that question? Based on a Webservice result XML (OBIEE) I generated an XSD in a online converter and with this XSD I managed the class mapped through the command xjc. When…
-
3
votes0
answers161
viewsXML Reading Error from NFE Electronic Invoice
People I used windows XSD application to generate classes for NFE, it worked 100%, now I need to use these classes to fill with data of the tax notes that will be imported, I’m doing this: TNFe nfe…
-
3
votes0
answers692
viewsHow to validate an XML by Schema XSD?
I’m trying to validate the values of a XML through a file XSD. I’m trying it this way: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(xmlReader); ValidationEventHandler eventHandler = new…
-
2
votes1
answer101
viewsHow to restrict SAML 2.0’s Authentication Context XSD
I’m trying to restrict the Authentication Context XML Schema Definition of specification SAML 2.0. The XSD document is available at here. The part I’m trying to narrow down is one related to this…
-
2
votes1
answer32
viewsHow to convert XSLT to XSD?
There are two files one xslt and I need an xsd. it is possible to convert/transform xslt to xsd ?
-
2
votes0
answers162
viewsHow to generate XSD that requires sending the contents of an XML element using JAX-WS
I’m creating a web service with JAX-WS. In an operation, I receive an object that contains some attributes and I want these attributes to always come with value. @XmlRootElement…
-
2
votes0
answers586
viewsIs it possible to generate the XSD file from XML?
Doubt is how to generate the file .xsd from the xml ? I was analyzing this tutorial C# - Basic XML Operations and it doesn’t say how. It is possible ? XML <?xml version="1.0" encoding="utf-8"…
-
2
votes0
answers31
viewsXSD with Schema with Restriction "Pattern, enumeration, max and min" Java
I’m trying to generate a wsdl where it will generate a xsd reflecting the classes of entities. The problem is, I can’t generate the Restriction in xsd as required by each property of the appropriate…
-
2
votes1
answer56
viewsError generating class c# from XSD
Guys, I’m having to change the XSD version of my application, because the ANS has now made it more flexible to send the SIB to the SIB FLEX. Link to the XSD:…
-
1
votes2
answers682
viewsView of XSD
In our life of development we always face various challenges. Whenever I needed to visualize an XSD in the form of a diagram, I used the program XSD Diagram, see the image below: However, for a few…
-
1
votes1
answer1184
viewsError in XSD validation
My XSD after some modifications by another team started giving error: Parse Error at line 33 column 14: s4s-elt-invalid-content.1: The content of '#AnonType_TxnHdrTransaction' is invalid. Element…
-
1
votes1
answer817
viewsGenerate Class From XSD - CTE for SEFAZ Webservice
Referring to the generation of NFE and CTE classes from XSD for use in the SEFAZ Webservices. I have had some problems of ambiguity in the name of the generated classes. I used the Visual Studio…
-
1
votes1
answer2079
viewsGenerate C# class from XSD
I need to generate the class from a file. XSD. Though I’ve tried everything I know (used . net tool: xsd.exe, httputility.net and other . Cs generators) did not succeed. I think the mistake is in…
-
1
votes1
answer297
views -
1
votes0
answers508
viewsHow to mount an XSD from the wsdl query?
Objective: to assemble the XSD in blocks in the eclipse of the consultation to the webservice below: https://valadares.sigiss.com.br/valadares/ws/sigiss_ws.php?wsdl XML is generated: <definitions…
-
1
votes0
answers82
viewsCode maintenance
I have an application that makes the deserialization of an XML file. I managed a class with from an XSD with XSD.EXE For deserialization I use the following code: static T…
-
1
votes0
answers17
viewsDistinct constraint generation for element and its attribute - XSD
Good morning! I have the following element in an XML: <estcivil unestavel="S">C</estcivil> It turns out that my attribute can only receive "S" or "N" values, but the element has other…
-
1
votes1
answer635
viewsType 'http://www.portalfiscal.inf.br/nfe:Tnfe' is not declared
Good morning, usually I avoid to the maximum to ask questions here in the forum because I always find many answers that supply my situation. I am doing an integration with Sefaz, using Ws Nfe 4.00…
-
1
votes1
answer807
viewsXSD.EXE Generate classes in C# - EFD Reinf v1_04_00
I am trying to generate XSD.exe classes in C# from the Reinf XSD files: EFD Reinf v1_04_00 http://sped.rfb.gov.br/arquivo/show/2802 As follows: C:\Reinf\XSD>xsd evtInfoContribuinte-v1_04_00.xsd…
-
0
votes1
answer208
viewsValidate XML with XSD generated from a Class
How can I correctly validate my XML via an XSD that was automatically generated based on a class?
-
0
votes1
answer224
viewsThe ref attribute of an element of the xml schema document
I’m making an Xs xml file generator, but I’m wondering if some parts should be filled. <xs:element name="identificacao"> <xs:complexType> <xs:sequence> <xs:element…
-
0
votes2
answers2328
viewsGenerate XML based on XSD
I received here some XSD files to use in an application I developed... I would like to know how to generate an example XML in Visual Studio to be able to locate me in the data export. When I try to…
-
0
votes0
answers25
viewsError while modelling XSD
From this XML code, I have the XSD block: Code <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"…