all groups > dotnet xml > april 2005 > threads for april 22 - 28, 2005
Filter by week: 1 2 3 4 5
XMLValidatingReader.Read() question
Posted by jason at 4/28/2005 12:48:09 PM
i am using an XMLValidatingReader in a manner similar to the following
code example:
string sReturn = "";
XmlValidatingReader oXML = new XmlValidatingReader(sXMLString,
XmlNodeType.Document, null);
oXML.Schemas.Add("", sSchemaURL);
oXML.ValidationType = ValidationType.Schema;
oXML.Validat... more >>
Can xsd.exe generate .cs files from schemas, if importing another schema with the same namespace is involved?
Posted by rehveli at 4/28/2005 12:00:00 AM
Isn't it possible to generate .cs files from schemas, where one
schema imports another, and both have the same namespace?
If a.xsd and b.xsd have namespace "MyNameSpace", and in b.xsd I
do <xsd:import namespace="MyNameSpace" schemaLocation="a.xsd"/>
and run "xsd.exe /c a.xsd b.xsd", xsd.exe er... more >>
[WSS2003] ADAM et WSS
Posted by sda at 4/28/2005 12:00:00 AM
Bonjour,
Est-ce que vous connaissez des liens qui feraient part d'un retour
d'expérience concernant l'utilisation d'ADAM comme annuaire d'un site WSS ?
Merci
Cdt,
SDA
... more >>
Dynamic XmlInclude declaration
Posted by yuriy_zubarev at 4/27/2005 12:16:57 PM
Greetings,
Simple scenario: I have objects that need to be persisted in XML. The
declaration is as follows:
public class Zoo
{
protected Animal[] animals;
[
XmlArray("animals"),
XmlArrayItem("animal", typeof (Animal))
]
public Animal[] Animals
{
get { return thi... more >>
passing XML querystring
Posted by smarcinek NO[at]SPAM interia.pl at 4/26/2005 10:24:21 PM
i want to pass XML data in querystring from one to another asp page.
it is about 10000 characters long, i cannot use FORM because it is
already nested in one.
What i do is i have IFRAME and im passing some xml data
in QUERYSTRING. It doesnt work somehow, im using javascript escape
method to s... more >>
custom XPathNavigator implementation
Posted by Bruce Dunwiddie at 4/26/2005 9:48:01 PM
I'm trying to build a couple classes that would allow for writing xsl
transforms against data that is not originally xml. I've got an xmlreader
implementation that seems to work well. Based on some issues with it and
transforms, I then wrapped it up in a custom xpathnavigator implementation.
... more >>
XML Schema not working
Posted by Chuck Bowling at 4/26/2005 4:14:12 PM
AIML Schema: http://209.168.21.76/CommunityStarterKit/Downloads/258.aspx
I have a Schema (in the link above) that I've been trying to make work in
VS2003 for a while now and just can't seem to get right. I didn't design the
schema and to tell the truth, most of it is beyond my rudimentary
... more >>
rss feeds on XML
Posted by Mike P at 4/26/2005 3:24:50 PM
Does anybody know of any good rss feeds on XML/XSLT/XAML? Any advice
would be really appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Filter XmlDocument based on XPath expressions
Posted by Dinesh at 4/26/2005 12:16:04 PM
Hello,
I have a very complex XmlDocument. I want to create a new XmlDocument that
contain only certain certain elements, based on a set of XPATH expressions I
have.
What is the easiest and least performance impacting solution for this using
the .NET implementation of DOM?
Thanks!... more >>
VC++ .NET 2003: XmlTextReader Class Generates A Runtime Exception
Posted by SHC at 4/26/2005 5:07:01 AM
Hi all,
I did the "Build" on the attached code in my VC++ .NET 2003 - Windows XP Pro
PC. On the c:\ screen, I got the following: Microsoft Development Environment
An unhandled exception of type 'System.Xml.XmlException' occured
in system.xml.dll
Addtion... more >>
XPathNodeList.Count throws exception in .Net v2.0
Posted by Sébastien Ros at 4/26/2005 2:12:02 AM
During the process of an XML document, I have to make a SelectNodes() call on
an XmlDocument. It returns an isntance of XPathNodeList. I can call it
several times but at one point, the result can't be iterated.
Here is the code:
XmlNodeList nodes = _Document.SelectNodes(myXpathQuery);
for... more >>
Problem in dotNET XSL convertion object. (XMLTRANSFORM)
Posted by vidar.martinsen NO[at]SPAM ft.dep.no at 4/26/2005 12:33:28 AM
I have a problem in dotNET XSL convertion object. (XMLTRANSFORM)
It won't convert UTF-8 to ISO-8859-1
I use this stylesheet for konvertion:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- For convertion from UTF-8 to ISO-8859-1 CaracterSet -->
<xsl:stylesheet version="1... more >>
XmlUrlResolver & document()
Posted by Maxim Kazitov at 4/25/2005 10:11:34 PM
Hi,
I try to use document() function in XSLT, but looks like .Net XSLT =
parser don't try to resolve external URL. Does any body know what can be =
wrong here :
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DC#=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=... more >>
Help have to move away from SQLXML
Posted by Keith Chadwick at 4/25/2005 7:54:02 AM
We current have a bunch of web services that make user of the SQLXML object.
A template is created in code which calls several stored procedures each of
which returns multiple xml recordsets from our SQL Server 2000 database.
When the template is run an XSL transformation is automatically ap... more >>
Access to the path...is denied?
Posted by Dave at 4/25/2005 5:39:05 AM
Sorry for cross-posting with the xsl group but this seems like a asp.net xml
specifici issue...
I'm getting the following error when I try to use a xslt transformation. My
function is below. It only happens on our dev server so I'm not sure what
line it's occurring on but the function nam... more >>
XMLTextReader - jump to beginning
Posted by Newton at 4/25/2005 5:01:01 AM
Hi,
I receive XML document from input and I would like to read it several
times...
My declaration is
XmlTextReader XMLInputReader =
new XmlTextReader(fileImport.PostedFile.InputStream);
I am reading it like this
while (XMLInputReader.Read())
{
//code
}
Af... more >>
Problem validating w3c XML Schema Module with XmlValidatingReader
Posted by Mike Bridge at 4/25/2005 12:00:00 AM
Hi-
I've created an XHTML extension module which validates correctly using the W3C online schema validator, but fails when
I use the .net 1.1 validator. It seems to be choking on an included W3C file:
http://www.w3.org/MarkUp/SCHEMA/xhtml-notations-1.xsd
The problem seems to be o... more >>
VB.NET Web Programmer in New York $40/hr
Posted by Reply NJ at 4/23/2005 12:44:17 PM
VB.NET Web Programmer in New York $40/hr
We are looking for someone to work as a VB.NET Web Developer. In this
role, you will design and develop application software for a successful
global corporation. You will also support and install software
applications. Additional duties are to participa... more >>
VC++ .NET 2003: XmlTextReader Errors C2144 & C1004
Posted by SHC at 4/23/2005 11:27:02 AM
Hi all,
I read the Microsoft KB Q815658 "How to read the XML data from a file using
Visual C++ .NET" and tried to follow the steps of executing its source code
in my VC++ .NET 2003 under Console Application (.NET). I lauched a project
'Q815658XMLRead' (see the attached .cpp file below) and d... more >>
xmlDocument element's value assigning with &= or += doesn't work?
Posted by TS at 4/22/2005 10:00:20 AM
ex in VB:
oChild = XMLDoc.CreateElement("P")
oChild3.InnerXml = "this is test data"
'''''This doesn't work:
oChild3.InnerXml &= " that i like to keep on hand"
'''Neither does this:
oChild3.InnerXml = oChild3.InnerXml & " that i like to keep on hand"
So is it that you can't access the XmlE... more >>
XMLTextReader - Issue with special characters &,<,>
Posted by RJN at 4/22/2005 8:33:29 AM
Hi
I'm using XMLTextReader to parse the contents of XML. I have issues when
the xml content itself has some special characters like & ,> etc.
<CompanyName>Johnson & Jhonson</CompanyName>
<EmployeeStrength>> 1000</EmployeeStrength>
When I do a Xmltextreader.read() and then check the conten... more >>
XML canonicalization using VB
Posted by Praveen at 4/22/2005 12:00:00 AM
How can I canonicalise an XML file in VB???? Kindly help me out at the earliest.
I can do the same in .NET using System.Security.Cryptography.Xml.XmlDsigC14NTransform namespace.
I am very much desperate for this...
All I need to do is.. take an XML as input and give an canonicalized XML as ... more >>
|