all groups > dotnet xml > december 2004 > threads for december 8 - 14, 2004
Filter by week: 1 2 3 4 5
WSDL generates with wrong "minOccurs" values
Posted by joewhitehair NO[at]SPAM yahoo.com at 12/14/2004 6:57:24 PM
Using the XSD.exe tool, I created a number of classes from my XSD file.
When I generate the WSDL for my web service, the schema does not have
the proper Occurance constraints for the attributes. In this example,
the MessageID element should always occur (minOccur=1, maxOccur=1), but
the WSDL gen... more >>
XML Validator Revisited ?
Posted by batham at 12/14/2004 4:54:23 PM
Hello Gurus,
This is part of my XML File.
<Group ID="100">
<Name>Dotnet XML</Name>
<Member ID="BA1908">Guru Bhai</Member>
</Group>
When I validate this xml against a schema using XmlValidatingReader and
when I get a error in the ID attribute of the Node Group, How can I get
the Node or... more >>
convert datatable to xml in aspx
Posted by jk at 12/14/2004 4:51:16 PM
I'm having trouble converting a datatable into xml, with resonse.write
to aspx. I'm basically converting vb code that saved a recordset into a
stream into c#, but the format is wrong. I've tried using streams,
datadoc, xmlreader, etc with no success. I need to convert it directly
to a string or ... more >>
invalid xml from dataset.writexml
Posted by jk at 12/14/2004 3:16:37 PM
I need help in writing a datatable as xml in an aspx page. I have an
excel client that opens the response as a stream into a recordset. In
converting this code to .net c# from asp vb (where is used an
adodb.stream, I can't seem to get the output right. I've tried the a
gazillion methods, using m... more >>
XmlAttributeCollection.SetNamedItem problem
Posted by Riko Eksteen at 12/14/2004 1:11:42 PM
When I try to call SteNamedItem(XmlNode) on an AttributeCollection where a
node with the same name already exists, I get a NullReferenceException
("object reference not set to an instance of an object"). This goes against
the described behaviour of the method, which is supposed to replace the ... more >>
XmlTextWriter and Text.Encoding.UTF8 issues
Posted by H Lee at 12/14/2004 9:52:05 AM
Hi,
I'm an XML newbie, and not sure if this is the appropriate newsgroup to post
my question, so feel free to suggest other newgroups where I should post
this message if this is the case.
I'm having issues using XmlTextWriter, saving it out to a file with UTF8
encoding, and seeing "dirty", ... more >>
XmlDocument gives error: "... is an undeclared namespace"
Posted by SenthilSS at 12/14/2004 5:11:09 AM
My application produces XML Data files which have XML namespace qualified XML
elements (nodes), but the namespace itself is not declared in the data file.
My task is to read these data files in a C# app for viewing purposes. I am
using "XmlDocument" and "DataSet" for displaying the XML data i... more >>
encoding problem
Posted by z. f. at 12/13/2004 5:26:58 PM
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C4E138.F34F5FA0
Content-Type: text/plain;
charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
i have xml with the line
<VAL ID=3D"artist" VAL=3D"abc & cde"/>
i need the & character to be there b... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
GetListItems SelectNodes not working for me
Posted by Steve at 12/13/2004 1:37:08 PM
I am getting no nodes from the following code:
'Put user code to initialize the page here
Dim listService As New com.domain.my.Lists
listService.Credentials =
System.Net.CredentialCache.DefaultCredentials
Dim xmlDoc = New System.Xml.XmlDocument
Dim ... more >>
validate dynamic XML against dynamic XSD using VB.NET
Posted by aevans1108 NO[at]SPAM yahoo.com at 12/12/2004 11:36:57 AM
Greetings All
If this is the wrong place to post this question, please give me a push
in the right direction. Thanks.
I know there has to be a simpler way to do this, but this is as simple
a way as I could come up with. Yes, it's obvious I don't know what I'm
doing.
I'm creating an XSD... more >>
looking for xsl transform sample
Posted by z. f. at 12/12/2004 9:00:47 AM
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C4E029.11F709A0
Content-Type: text/plain;
charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
Hi,=20
is there a sample code for a program that accept input xml file name, =
input xsl file name and o... more >>
Transform xsl file into xml file
Posted by m.ahrens at 12/12/2004 2:07:03 AM
Hi all
I have an xsl file and would like to transform it into an xml file. The same
way as if i would open the xsl file in excel and then save as... xml file
(Office 2003).
is there a way to do it in c#(or whatever else) in visual studio .net?
and how can i then transform it back from xm... more >>
Cannot use & as an attribute value
Posted by ~~~ .NET Ed ~~~ at 12/11/2004 2:45:04 AM
Hi,
I have a standalone XML file (with the appropriate xml document header)
that works fine when I load it using XmlDocument. I can have child elements
like this without problems:
<SomeChildElement type="c" href="There.aspx?id=5" />
But as soon as I change it to something like this... more >>
don't serialize boolean property if false?
Posted by Doug Holton at 12/10/2004 1:57:42 PM
I've got a boolean class property that is almost always false.
How can I specify that a class property should not be included in the
xml serializer output if it is false?
I'm using [XmlAttribute]. [XmlIgnore] will never print it if it is true
either.... more >>
SelectNodes and NodeInserted event
Posted by Riko Eksteen at 12/10/2004 1:39:44 PM
Hi
I am writing an application that listens to the NodeInserted event, and if
the event is fired it does a selectnodes xpath query on the XmlDocument.
Only problem is, when I call SelectNodes(string, XmlNameSpaceManager) the
NodeInserted event gets fired as well, without me doing any modif... more >>
retrieving DTD/xml schema
Posted by Sangeeta at 12/10/2004 11:45:03 AM
I am a newbie to XML.
I have a requirement where after loading the validate xml document I want to
access its schema in the program. Can I retrieve it like I do the elemets.... more >>
Cannot retrieve attribute value
Posted by AlBruAn at 12/10/2004 8:07:04 AM
An application I'm helping develop transmits XML to an ERP and receives an
XML statement showing the result of the transmittal to the ERP. I've pasted
a copy of one of the response XML statements. I have no trouble retrieving
the statement "Environment 'DEV' could not be initialized for user... more >>
XPath Query by namespace
Posted by Clay at 12/10/2004 7:43:04 AM
I'm trying to find the most efficient way to query specific nodes from an xml
document using vb.net. My app will receive various types of xml documents
and there are child nodes that will always exist that I need to retrieve data
from before processing the whole document.
There are several... more >>
XmlTextReader and XmlTextWriter
Posted by Lee Atkinson at 12/9/2004 11:50:11 AM
Hi - I am trying to read an XML file using XmlTextReader and write it
out using XmlTextWriter.
The XML is XHTML. At the moment, I am trying to create a straightforward
copy of a file. The XHTML file contains nodes and attributes (with there
own namespace) that will later be used to alter th... more >>
XmlSerializer and assembly in GAC problem
Posted by Vladimir Semenov at 12/8/2004 3:50:22 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0022_01C4DD3D.A0562440
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to serialize a type contained in assembly referering to =
another assembly in GAC.=20
XmlSeria... more >>
XML Encryption
Posted by David Lownds at 12/8/2004 12:05:03 AM
Dear All,
I need to do the following to an xml file in vb.net.
- Read in the file
- canonicalise (c14n) the XML document
- generate a 160-bit binary secure hash from the canonicalise XML
using the SHA-1 algorithm
- encode the binary data using base-64 to produce a 28 character string... more >>
|