XSD schema for optional child elements
Wed, 02 Jul 2008 16:55:37 +0100
Hi,
I'm trying to figure out how to validate an element in XML with XML
Schema that can either have no content or a couple of child elements.
Example:
<foo id="123">
<bar str="abc"/>
</foo>
<foo id="321"/>
I can get XSD to validate one or the other but not accept both. Any
ideas? (I have the mi ...
|
Deserialize an ArrayList
Wed, 02 Jul 2008 11:19:33 -0400
I have a Web Service which returns an ArrayList. According to
http://forums.msdn.microsoft.com/en-US/asmxandxml/thread/9b6c1f9d-7021-437e-8bc0-b3e9bcfe834e/
Deserialize won't work on an ArrayList.
Any suggestions how to get around this? ...
|
xml dml conditional attribute inserting does not work
Tue, 1 Jul 2008 14:17:43 -0500
Hi,
I'm experimenting with XML DML. I need to add an attribute only if it meet
some condition. But I can not use an sql variable to implement the
condition. The following example gives me an error:
XQuery [modify()]: An expression was expected
Declare @sSerie Varchar(10)
,@sFolio Varchar(10)
Declare ...
|
Getting startet: Importing/Parsing XML document
Tue, 1 Jul 2008 11:40:02 +0200
Hi,
I looking at a assignment where I have a XML document, which I need to parse
and import data into a non SQL database from at VB syntax like program.
I need some hints on how to do things "best practices examples".
I'm using MSXML as parser and XPath.
I need to read each project into my db, with most of ...
|
xs:dateTime does not accepts ISO 8601 local time
Mon, 30 Jun 2008 16:31:33 -0500
Hi,
I'm validating a Xml against a schema but I get error validating ISO 8601
datetime value.
The fragment of the schema is
<xs:attribute name="fecha" use="required">
<xs:simpleType>
<xs:restriction base="xs:dateTime">
<xs:whiteSpace value="collapse"/>
</xs:restriction>
...
|
Hate Your Job?
Sun, 29 Jun 2008 09:57:20 GMT
Do You Hate Your Job?
If You Are Like Me And REALLY Hate Your Job, You Can Do What I have Done And
Tell All About Your Company At A Great And CHEAP New Site Called
Dont Work For These . Com
http://www.dontworkforthese.com
This Site Has Chat Rooms,
A Joke Section,
A Great Story Section Where You Can Tell All ...
|
XML Design
Sun, 29 Jun 2008 10:10:52 +0100
Hi All,
Bit of a newbie when it comes to designing XML layouts so I'm after some
advice.
I have a record Risk, which has elements of severity (low, medium, high),
description (string), effective date (date). Related to that I have another
record, Response, which has the elements of severity (none, low, ...
|
|
|
IXMLDOMDocument::Save() with line breaks and indenting?
Sat, 28 Jun 2008 20:30:20 -0700 (PDT)
How do you use MSXML2::IXMLDOMDocument::save() to include line breaks
and indents? ...
|
Re: Are we possessed by our possessions?
Sat, 28 Jun 2008 17:25:20 -0500
Alan arvostuksesta kertoo varsin suoraan se miten alan ammattityöväestö
suhtautuu tekemiseensä. Siitä voidaan ottaa esimerkkejä laajasti.
Ammattilaiset haluavat usein myös jälkikasvustaan työnsä jatkajia.
Yritysmaailma on pullollaan työstä ylpeitä isältä pojalle siirrettyä
sukuosaamista. Mutta yksi ala loistaa p ...
|
Attribute Value Illegal Characters
Thu, 26 Jun 2008 16:02:43 +0100
Hi there,
I'm trying to strip out illegal characters for XML attribute values from a
string. Any idea where I can get a list of said characters? I've checked
the specification but it does not have such a list as far as I can see.
Many thanks for your time.
Nick.
...
|