Hello.
 
I want to export a xml, for example:
<?xml version="1.0" encoding="utf-8"?>  
<item xmlns="http://sedici.unlp.edu.ar">  
    <title>Agile managing of web requirements with WebSpec</title>
    <id>25670</id>  
    <tipo>paper</tipo>  
    <metadatos>
        <id>25</id>
        <valor>Pages 12</valor>
    </metadatos>
    <metadatos>
        <id>31</id>
        <valor>Jose Sanchez</valor>
    </metadatos>
    <metadatos>
        <id>64</id>
        <valor>UNET</valor>
    </metadatos>
</item>
 
My schema (XSD ) is:
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:element name="item">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="title" type="xsd:string" />
        <xsd:element name="id" type="xsd:int" />
        <xsd:element name="tipo" type="xsd:string" />
        <xsd:element name="metadatos">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="id" type="xsd:int" />
              <xsd:element name="valor" type="xsd:string" />
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
 
Then, I create the following in WebRatio:
- XSD Provider
- XSD Resource
 
The following were generated virtual entities in my data model:
- Item (oid, title, ID, tipo)
- Item_metadata (oid, ID, valor)
My XSD is translated into Data Model elements is:
<Package id="pkg1" name="xSDProvider1" xmlns:gr="http://www.webratio.com/2006/WebML/Graph" gr:x="30" gr:y="575">
  <Package id="pkg2" name="sedici" gr:x="0" gr:y="0">
    <Entity id="ent9" name="item" duration="volatile" volatileStorage="database" xmlns:wrxsd="http://www.webratio.com/2012/WebML/WRXSD" wrxsd:provider="xsdp1" wrxsd:type="item[Element]" gr:x="0" gr:y="0">
      <Attribute id="att31" name="oid" type="integer" key="true"/>
      <Attribute id="att32" name="title" type="string" key="false" wrxsd:element="title"/>
      <Attribute id="att33" name="ID" type="integer" key="false" wrxsd:element="id"/>
      <Attribute id="att34" name="tipo" type="string" key="false" wrxsd:element="tipo"/>
    </Entity>
    <Entity id="ent10" name="item_metadatos" duration="volatile" volatileStorage="database" xmlns:wrxsd="http://www.webratio.com/2012/WebML/WRXSD" wrxsd:provider="xsdp1" wrxsd:type="item/metadatos[Element]" gr:x="210" gr:y="13">
      <Attribute id="att35" name="oid" type="integer" key="true"/>
      <Attribute id="att36" name="ID" type="integer" key="false" wrxsd:element="id"/>
      <Attribute id="att37" name="valor" type="string" key="false" wrxsd:element="valor"/>
    </Entity>
  </Package>
</Package>
 
In my hypertext model, I added a "XML I/O" and a "Get XML"
 
When I try to export my XML, the web page does nothing.
 
The reference example I have is XML Schema Definition Support ( by Laura Cigardi ) http://www.webratio.com/learn/learningobject/XML-Schema-Definition-Support?link=oln1x.redirect&nav=16#!ajax=true
 
Any suggestions or examples with code, because I think I'm doing something wrong.
 
Regards,
Jose