I've got an XML Schema and an XML instance that is valid to that schema.
This XML instance contains some data.
I'd like to extend the XML instance with further data(my own meta-data per XML element in the XML instance) while keeping it valid to the provided schema.
The real use-case is that I've my own control that gets its data via X...
We were given a sample document, and need to be able to reproduce the structure of the document exactly for a vendor. However, I'm a little lost with how C# handles namespaces. Here's a sample of the document:
<?xml version="1.0" encoding="UTF-8"?>
<Doc1 xmlns="http://www.sample.com/file" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in...
Hi, I have an XML form with an element 0, which is well-formed but not valid.
When I try to validate it XMLSpy I get a following error:
Nothing is allowed inside empty element 'hidden'.
Below is my schema:
<xs:element name="hidden">
<xs:complexType>
<xs:attribute name="datatype" type="xs:string" use="optional"/>
<xs:attr...
Yep, I asked it. There is no more thing to tell :)
Thanks in advance.
...
From what I've read an XML column in SQL server can be typed (having a schema) or untyped. What are the advantages of using typed XML?
Is it just that the XML is validated?
...
For my assignment I have been assigned the task of creating a DTD for representing a virtual-geocaching game.
I am having a problem representing the location which can be either gps or wifi or both but not more then one of each. How would i represent this? The closest I could think of is listed below.
<!ELEMENT location ((gps|wifi)+)>...
Doing some work on controlling printing via the System.Printing framework (main classes are PrintQueue, PrintTicket and PrinterCapabilities). Like with most stuff I've been working on lately, there's damn little information about it. I'm hoping to compile some good information in this question to help flesh out this subject.
PrintTick...
Good XML tools abound, but when it comes to creating (authoring) XSD files (XML schemas), things really don't look good.
Most XML editors do the basic: it let you create stuff, with menus for the proper elements. They don't HELP you in any way, though. A few tools have more advanced features, like creating an XSD based on a sample of XM...
I'm looking for an open source tool to generate diagrams from XML Schema documents, similar to the Logical Model View in oXygen or the diagrams in XML Spy's Schema Editor.
...
I have to make a schema for an XML format that's already being used. The existing XML is being generated already by a different program, and it sounds like it would be difficult to track down all the places that would need to be changed in order to use a more regular XML format.
Here's an example similar to our XML structure:
<data>
...
Do people have any recommendations on how i could write my own custom JAXB annotation handling class to support the generation of xs:annotation/xs:documentation elements in the xsd schema?. I'd like to create a new java annotation "@XmlAnnotation" which would include a "documentation" attribute. I'd then make these classes available to t...
We have a set of applications that work with multiple database engines including Sql Server and Access. The schemas for each are maintained separately and are not stored in text form making source control difficult. We are interested in moving to a system where the schema is stored in some text-based format (such as XML or YAML) with d...
Is there any schema language for XML that allows for specifying a constraint that there can be no cyclic references between elements.
As a toy example:
<animal name="A" eats="B">
<animal name="B" eats="C">
<animal name="C" eats="D">
would validate, but
<animal name="A" eats="B">
<animal name="B" eats="C">
<animal name="C" eats="D">...
What are the currently available XSLT processors supporting XPath 2.0 standard?
...
I'm trying to create a tool that can generate XSDs for the XAML produced by serializing a type in .NET, but this is not specifically .NET related.
Let's say I have a type. This type has properties and is a collection.
public class MyType : Collection<CollectedType>
{
public PType1 PropertyOne {get;set;}
public PType2 PropertyTwo...
Hi all,
I'm sort of a biztalk newbie and we run 2006 here with plans to migrate to 2006 R2 in the future. I have a schema that I need to work with called Siri, which is public at:
link text or link text for the root xsd document.
I have successfully imported this schema into my biztalk project, however, I am finding it difficult to ge...
Hi guys: I have to export my data, practically the entire domain model structure into a formal xml file. Does anyone know a visual tool that I can use to map an xml schema to my .NET object model?
...
Hi, everyone:
I am working on transforming a xml file from old version to new version. Here is the basic template which i am using:
<xsl:template match="*">
<xsl:element name="{name(.)}" namespace="{namespace-uri(.)}">
<xsl:copy-of select="@*"></xsl:copy-of>
<xsl:apply-templates></xsl:apply-templates>
</xsl:element>...
Is there a tool that directly maps XML structure to database schema?
The reason I ask this is because my data is best described in terms of XML structure. However, I want to store them in database for fast query result and other benefits.
...
Is there any way to restrict the use of an XML element's sub elements, depending on the attribute value of the parent element in XML Schema? How does the schema have to look like?
<option name="mike" value="excset">
<excludingsets>
<excludingset>
<option name="hd"/>
</excludingset>
</excludingsets>
</option>
<option na...