all groups > dotnet xml > january 2006 > threads for january 15 - 21, 2006
Filter by week: 1 2 3 4 5
Innertext and XPathNavigator.Value
Posted by Jack Fox at 1/21/2006 6:26:24 PM
I'm navigating through a XPathDocument consisting of mostly mixed complex
type elements (i.e. innertext plus more elements). When I use
XPathNavigator.Value to retrieve the text I get everything between <mytag>
and </mytag>, the text I'm looking for, but also all the text portion of
every su... more >>
A question on joining more than one xml document to xsl file??
Posted by Aaron at 1/21/2006 11:34:19 AM
How do it bind the articlelink nodes in the layout.xsl??
I have several xml pages(art1.xml, art2.xml, so on) that I know how link
them up via articles.xml,
<?xml version="1.0" encoding="utf-8"?>
<articles>
<articlelink href="art1.xml"/>
<articlelink href="art2.xml"/>
......
</articles>
... more >>
XmlSerializer: Inheritance and Read-Only Properties
Posted by Michael Primeaux at 1/20/2006 5:29:37 PM
All,
Please maximize for easier viewing. Assume I have a class structure as
follows:
[Serializable]
public class Foo
{
private string _hello = "Hello";
public string Hello
{
get
{
return _hello;
}
}
}
public class Bar : Foo
... more >>
problem consuming my service
Posted by s at 1/20/2006 12:19:03 PM
'project with web service
<webmethod()> _
public function myws(id as integer)
'do db stuff with id and build document
Dim xd As New XmlDataDocument
xd.Load("D:\Inetpub\webservice_xml\redbook.xml")
Return xd
end function
---------------------------------------------------------... more >>
Does .Net XML Library support both SAX and DOM Model?
Posted by Baron at 1/20/2006 4:34:17 AM
Problems inserting repeating node.
Posted by PaulF at 1/19/2006 4:18:03 PM
I am trying to do add a repeating XmlNode into and existing XML document and
have had some problems.
The base XML:
<Property>
<Premises>
<Endorsement>
<ShortWording/>
<Wording/>
</Endorsement>
<Address>
<Line1>41 Acacia Avenue</Line1>
<Line2>Town</Line2>
<Line3... more >>
Using XPath to build a Breadcrumb menu.
Posted by Mike at 1/19/2006 3:32:02 AM
Hi,
I'm a complete newbie to XML and am needing to rush through a job requiring
far more knowledge than I have the time to gather.
Basically... I need to build a breadcrumb menu for our website, using a
passed URL and an XML menu string, what has been retrieved from an SQL server
(we nee... more >>
Forcing Visual Studio to validate XML against a schema
Posted by Buddy Ackerman at 1/18/2006 8:19:13 PM
When I have an XML document in my project how can I force it to use a
particular schema (i.e. and enable intellisense) for the document. The
project is in source safe so I need a solution that works for every
developer that opens the document.
Thanks.
--Buddy
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
optional nillable values
Posted by Phil Lee at 1/18/2006 5:25:21 PM
Hi,
I have added an optional nillable element to a schema like this -
....
<xs:element minOccurs="0" maxOccurs="1" name="Id" type="xs:int"
nillable="true"/>
....
A class is generated from this using xsd.exe and which is used by a web
service where it makes it's way into the wsdl as:
... more >>
Combine portions of multiple xml files into 1 xml file using xsl i
Posted by PK9 at 1/18/2006 2:20:03 PM
I'm building a windows app using C#. The goal is to merge portions of
multiple xml files into one.
I currently have an .xsl stylesheet that pulls in the required sections of
multiple xml files and combines them into one xml file. This xsl works
correctly.
I'm now trying to utilize th... more >>
XML Web Service Asynch Result Error in Generated Code
Posted by Matthew Frederick at 1/18/2006 1:52:04 PM
Hope this is the best forum for this, any suggestions for another are
appreciated.
I have a simple Compact Framework (2) app that sends some data to a web
service and acts despending on the response. I added the web service as a web
reference (in VS2005 VB) and then have a bit of code that ... more >>
How to implement IXMLSerializable
Posted by theburnetts NO[at]SPAM yahoo.com at 1/18/2006 5:49:42 AM
I have a complex class heirarchy where all of my classes inherit from a
single base class (BaseObject) and this BaseObject class inherits from
XPBaseObject. XPBaseObject is a 3rd party base class from Express
Persistent Objects (XPO) from DevExpress. It looks kind of like
this...
BaseObject... more >>
Implementing XML Base?
Posted by Gustaf Liljegren at 1/18/2006 4:55:37 AM
I'm reading a document with the XmlTextReader, and I want to make it XML
Base aware, so I need to implement this somehow. What's the most
effective way of doing it?
I imagine having a variable that's keeping the current base URI, and
then look for an xml:base attribute at every new start el... more >>
BinaryFormatter slower than DataTable.Save!?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 1/17/2006 9:09:15 PM
Hi All,
I was saving a DataTable out to disk using DataTable.Save(). Later
loading it with DataTable.Load().
In order to get greater performance I replaced these two calls with
BinaryFormatter.Serialize() and BindaryFormatter.DeSerialize. Both of
these used a FileStream to work with files... more >>
Is IIS necessary for hosting XML Web Services ?
Posted by Peter at 1/17/2006 6:30:02 PM
I am new to ASP.NET development and have a question on hosting Web Services:
When I create a XML Web Services project (server-side) in Visual Studio
2005, my Web Services file (.asmx) will be hosted by an Internet Information
Server (IIS).
I'm just wonder if I can host a Web Services wit... more >>
Conditional XML serialization???
Posted by Vinayak Kamat at 1/16/2006 1:55:18 PM
Hi,
I've got two classes - Entity which will have an array of Child objects
in it and Child class.
class Entity
{
public Child[] Children;
}
class Child
{
public string Name;
public string Description;
}
I want to be able to serialize this class into two different XMLs.
... more >>
Problems Reading XML File
Posted by John Bowman at 1/16/2006 8:41:17 AM
Hi All,
I'm fairly new to XML, so I presume I'm doing something obviously dense
here, but here it goes. Below is an XML file that was extracted from a test
Windows Installer .MSP (patch) file using the MsiExtractPatchXMLData()
method and directly written to disk as a test. On the surface, i... more >>
xml validation error for a schema which using XML Enveloped signat
Posted by Kenny Ho at 1/15/2006 8:55:02 PM
Hi,
I have written the following schema that contains the XML signature:
-----------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="http://mycompany/integrity/v1.0"
elementFormDefault="qualified"
xmlns="htt... more >>
XPath from String
Posted by Joe Pannone at 1/15/2006 3:58:02 PM
Does anyone have an example on using an XPath statement (in VB.NET) where the
source XML document is NOT a file, but a 'text' value from SQL Server?... more >>
|