Search found 5 matches

by senseiwa
Tue Jul 12, 2011 5:43 pm
Forum: General XML Questions
Topic: Element basics
Replies: 1
Views: 1311

Element basics

Hi! I am trying to figure out if an element can have both a type and attributes. So that something like this can be validated via a schema:

Code: Select all


<element name="Hello">World</element>
<element name="This">Text</element>

Thanks!
by senseiwa
Mon Jul 11, 2011 4:30 pm
Forum: XML Schemas
Topic: Restricting to a list
Replies: 8
Views: 7647

Re: Restricting to a list

Thanks! I think I've been also able to reproduce your example xsd with the graphic interface.

Thank you!
by senseiwa
Mon Jul 11, 2011 2:59 pm
Forum: XML Schemas
Topic: Restricting to a list
Replies: 8
Views: 7647

Restricting to a list

Hi all! I am wondering if it is possible to make this work with a standard schema. I'd like to create, in the XML, a list of strings, and restrict some elements to these. For example: <!-- these are the allowed names --> <allowed> <name>Bob</name> <name>John</name> <name>Alice</name> </allowed> <!--...
by senseiwa
Thu May 05, 2011 12:31 pm
Forum: XML Schemas
Topic: Lists with uniques
Replies: 2
Views: 2420

Re: Lists with uniques

adrian wrote:Hello,

This is possible and quite simple with the GUI.

Thanks! That was really perfect! :)
by senseiwa
Wed May 04, 2011 4:15 pm
Forum: XML Schemas
Topic: Lists with uniques
Replies: 2
Views: 2420

Lists with uniques

Dear all, I am a newbie here, and I don't know much about schemas... I am still using the GUI for that! What am I trying to do? I'd like to create a complex type that is a list of unique elements... obviously without succeeding! For example, I want a complex type with the following possibilities: - ...