Error while modelling XSD

Asked

Viewed 25 times

0

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" targetNamespace="http://www.example.org/arquivoValidador" 
    xmlns:tns="http://www.example.org/arquivoValidador" elementFormDefault="qualified">

      <xs:complexType name="teste">
        <xs:sequence>
            <xs:element type="xs:int" name="numeronfd"/>
            <xs:element type="xs:int" name="codseriedocumento"/>
            <xs:element type="xs:int" name="codnaturezaoperacao"/>
            <xs:element type="xs:byte" name="codigocidade"/>
            <xs:element type="xs:int" name="inscricaomunicipalemissor"/>
        </xs:sequence>
    </complexType>

</schema>

No elements appear:

Imagery: inserir a descrição da imagem aqui

  • And what’s the real question?

  • The elements do not appear!!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.