Hi,
I can easily validate a XML document against a XML Schema, eg. with XMLSpy or programmatically.
Is it possible to do this with a WSDL file? It does not seem possible with XMLSpy or any other XML tool I know. For me the only possibility right now is to do it programmatically, eg. by generating Java code from the WSDL and starting a ...
which Java XML framework would be the best to create all possible XML files based on specified XSD file.
...
I have an XSD scheme which has 10K lines. It takes 5 seconds to validate my XML with 500 lines. I get dynamically XML via POST from external server, on every click of the user on my homepage. The validation takes 5+ seconds, which is very much for every click of the user.
PHP Example:
$doc = new DOMDocument();
$doc->load('file.xml'); //...
Is it possible in some way, to define an xsd scheme which could validate such xml:
<item_list>
<item ItemType="SimpleMessage" Caption="Simplest message"/>
<item ItemType="ComplexMessage" SomeAttr="value">
<item_data>some text</item_data>
</item>
</item_list>
Problem is that i havn't find any possibility to define smth like:
...
I have created an XML schema (foo.xsd) and used xjc to create my binding classes for JAXB. Let's say the root element is "collection" and I am writing N "document" objects, which are complex types.
Because I plan to write out large XML files, I am using Stax to write out the "collection" root element, and JAXB to marshal document subtr...
Hi everyone,
i'm not the best at creating XSD schema as this is actually my first one,
i would like to validate an xml that must look like this :
<?xml version="1.0"?>
<Data>
<FIELD name='toto'>
<META mono='false' dynamic='false'>
<COLUMN1>
<REFTABLE>table</REFTABLE>
<REFCOLUMN>key_column</REFCOLUMN>
...
Hi,
I've been reading a ton about xml and learning a lot but I am stuck on one error.
I have a schema defined in multiple files and I can't get it to work. Here is an example
==================================
libraryBooks.xsd
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns...
I have made an XML Schema - all the code basically - and was wondering if there is a way that the code can generate something like this:
http://www.novell.com/documentation/extend52/Docs/help/Director/books/PGImages/novell_portlet_xml_schema.gif
If so how can I do it?
...
I have a complexType defined in targetNameSpace as say "http://xyz.example.com" and used in many places. Now i want to use it in my newly created XSDs with different namespace say "http://abc.example.com".
Can i do this? Or do i have to use the same namespace?
...
I have an XML schema (XSD) that defines an element as mandatory (call it the parent); this parent has, lets say, five child elements, which can all be optional, BUT AT LEAST ONE child element must occur.
How can i specify this in the xsd?
To clarify: The children are different elements and optional.
For example.
<Parent>
<Child1>co...
I'm developping a xml data format. Besides other data there should be a xaml drawing. So I wanted to have a xml element, which can contain any valid xaml. How can this be expressed in the XML Schema? I tried to import the xaml schema, but I couldn't find a xsd file for it. The makeshift would be to use an encoded string.
...
I'm having trouble creating an XSD for some xml.
A bit of background might help. The xml is for messaging. In particular, the message
is designed to be simple, and designed to be cross referenced easily. At its heart
is a recursive key value set up.
Simple Key values are like this.
<key name="quantity">5</key>
<key name="pric...
I'm looking for a good open source web editor that will take xsd (or some other standard XML) and from that generate web forms that will enable the end user to generate standard xml (without knowing anything about xml obliviously). I took a look at kupu, but there doesn't seem to be much documentation and the site appears to no longer ex...
Hi, I am a bit confused whether to go for DTD or XSD when designing. Could any one please help?
...
Hi!
Im pretty new to both XML validation and C++ (more familiar with Java..) so I guess this is a trivial question.
If I have a XML file and a XSD schema, how is the best way to validate them? Id like to to this in c++ without using external libraries, or as little libraries as possible, is it possible? Other ideas of how this can be d...
I am just learning XML/XSD and am struggling with the implementation of an XML-schema which models a folder structure.
What I had in mind was defining a complexType for the folder which can have additional folder instances that represent subfolders. Using the xsd schema validator here always returns that the schema is invalid.
I tried ...
Im using xsd:unique in an xsd generated code. How do I get an item by the unique key?
I just need the Rows.Find method, but for unique keys in addition to the primary key.
...
I have an XML Schema Definition file .XSD who's elements are in Spanish. I have an XML data file that is also in Spanish that matches the schema definition. I created a dataset from the xsd using xsd.exe and I'm loading the XML into the dataset.
I want to translate the element names to English. I can think of two options off the top of...
Is it possible in xsd to create restriction based on elements of some type in target (processed) document?
For example I have XML like this:
<Pets>
<Pet name="Murka" />
<Pet name="Browko" />
<Pet name="Tuzik" />
</Pets>
<Children>
<Child name="Petruk" favoritePet="Browko" />
</Children>
so what I want to restrict the attribute "...
Is there an analog of xsd tool from .NET framework in ruby, to create classes for serialization data to xml with appropriate xsd.
I've found xsd2ruby from soap4r, but there is no documentation. And rxsd, that seems not works.
...