all groups > dotnet xml > march 2005 > threads for march 1 - 7, 2005
Filter by week: 1 2 3 4 5
problem selecting child nodes
Posted by Nancy Shelley at 3/7/2005 3:38:47 PM
Hi all:
I am building a navigation menu using telerik's rad treeview
I am able to build the outer menu but not the children. How do I select the
child nodes (item) from within the loop?
Any help would be greatly appreciated!!
Dim node As XmlNode
For Each node In xmlDoc.SelectNodes("/co... more >>
Getting schema data types from XPathDocument/XPathNavigator
Posted by Phil at 3/7/2005 12:15:10 PM
Is there an easy way to get the schema's data type for a XPathNavigator value?
I need to be able to determine the data type for the xml value based off of
an unknown schema and unknown xml file that is handed off to my code. I've
been able to figure out how to get the data type by reading thr... more >>
Ignorable Whitespace
Posted by Carlitos at 3/7/2005 10:51:03 AM
Hi there,
A class in Xerces J-API (Java) called TextImpl contains a property that
returns whether the text is ignorable whitespace
(http://xml.apache.org/xerces-j/apiDocs/org/apache/xerces/dom/TextImpl.html#isIgnorableWhitespace()). ;
I guess when they refer to "ignorable whitespace" in J... more >>
Reading / Writing XML To / From object model (without XMLDocument?
Posted by Damon Allison at 3/7/2005 10:45:04 AM
Hello,
My program is being sent a large XML file, anywhere between 500k - 1MB. Of
the entire file, I need to allow a user to view/edit approximately 5% of it.
To make matters a bit more complicated, there are occasions where the program
needs to load up around 5 instances of these documen... more >>
xsl Transform - document('') won't resolve!
Posted by Bill Cohagan at 3/5/2005 5:29:26 PM
I've got a c# app that does some transforms using XSL files that are stored
as Embedded Resources in the app. That turns out to be significant; i.e.,
the problem I've encountered goes away if I reference the XSL files from the
file system.
The problem is that within the XSL file I have a re... more >>
XPath Question
Posted by Michael H at 3/5/2005 2:00:13 AM
If I have xml as this:
<sElements>
<ses ct="0">
<se ... />
<se ... />
<se ... />
<se ... />
</ses>
<ses ct="1">
<se ... />
<se ... />
<se ... />
<se ... />
</ses>
<ses ct="2">
<se ... />
<se ... />
<se ... />
<se ... />
</ses>
</sElements>
and... more >>
Question about System.Xml.XmlDocument.SelectNodes
Posted by Michael H at 3/5/2005 1:11:08 AM
Hello group,
I have a some xml that looks like this below:
<tuneRequests ct="3" xmlns:sql="urn:schemas-microsoft-com:xml-sql"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tr xsi:type="trGenericType" number="2">
<s name="KATU" call_sign="KATU" affiliation="ABC Affiliat... more >>
uniqueness schema problem
Posted by Mr. Almenares at 3/4/2005 1:47:10 PM
Hello:
I’m trying to do a schema with recurrent structure for a Book like a Node
can have many Nodes inside or One leave. So, the leaves have an attribute
that is Identifier. My goal is define Uniqueness that guarantees to the
attribute Identifier his uniqueness. That I don’t know the d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Convert an xml document to a string or stringbuilder?
Posted by Steve at 3/4/2005 12:57:01 PM
Hello. I am relatively new to using XML, but I'm trying to convert an xml
document directly to a string or stringbuilder. I'm trying to use the
XmlDocument class and Stringwriter classes, but I am unsucessful. What am I
missing? Thank you for your help in advance!
--
Steve... more >>
Problems retrieving data from XML file
Posted by Nancy Shelley at 3/4/2005 12:22:55 PM
Hi all,
I have been having problems trying to retrieve data from my xml file. What
I am trying to do is select a certain group node based on its groupid value.
When I have that node I want to select all the menu nodes related to that
group that have a value=1 along with its items that have... more >>
REALLY CONFUSED: XmlValidatingReader and StringReader
Posted by Brian Pieslak at 3/4/2005 11:34:00 AM
hi. I am trying to validate an XML against an XSD.
Both my XML and XSD are String variables inside of my method.
Here is my code:
....
xvr = New XmlValidatingReader( New XmlTextReader( New
StringReader(strXML) ) )
xvr.ValidationType = ValidationType.Schema
xvr.Schemas.Add( strTargetNamespa... more >>
What to replace obsolete interfaces with?
Posted by BrianProgrammer at 3/4/2005 10:21:15 AM
I have this code below, that works like a champ, but two lines are
continually marked as obsolete. See embeded notes.
Private Shared Function TransformHTMLString(ByVal XSLT As String, _
ByVal XHTML As String) _
... more >>
Getting Attribute value by using name
Posted by Sam at 3/4/2005 8:05:03 AM
I am getting the element node list, and if any attributes are there, I am
getting the attributes values by using the index
eg
0- first element
1- second element
aNode.Attributes.Item(1).InnerText
But for some reason the order of the attributes is swapped , so my question
is , how to g... more >>
Split large XML-file into smaller files
Posted by Niklas E at 3/3/2005 9:24:19 PM
I need to split a xml-file into smaller files because the receiving system
cannot handle the large file. Any ideas on how to split it into smaller
files? I don't want to split it into too many files as well, but perhaps
1000 nodes under the root node per file or similar.
For example split t... more >>
Carriage Returns
Posted by John Bowman at 3/3/2005 4:23:57 PM
Hi All,
I'm rather new to XML/HTML work & have run into a problem that has me
stymied. Basically, my C# code receives a large text string that may contain
"\r\n" in 1 or more places. I need to write this string out to be the value
of a particular element tag in an XML file that will later b... more >>
programatically parse an xsd file ?
Posted by Mad Scientist Jr at 3/3/2005 1:03:29 PM
I have an XSD dataset file (say "mydataset.xsd") that I want to parse
with code and loop through the table names, and the relationships,
constraints, etc.
Can someone point me to any sample code that does something similar?
Even code that simply reads an XSD file, since I have never done this.... more >>
Xml Serialization
Posted by Doug Holland at 3/3/2005 10:39:02 AM
Hey There
I have a couple of collections that I've written that are based upon the
HybridDictionary.
Initially I recieved an exception when attempting to serialize instances of
these collections informing me that I needed to implement an
Add(System.Object) method because the collections ... more >>
XSD Data type for HTML?
Posted by Jon at 3/3/2005 5:19:03 AM
Hello all,
I have the below XML file whice has a node called statement. Within this
node is html elements <p>, <strong> etc. I'm trying to load this into a
XmlDataDocument in order to process it, however, i can't seem to get the
string from within the <statement> node. Can anyone help?
t... more >>
HELP - Reading XML
Posted by nadia-teles NO[at]SPAM ig.com-dot-br.no-spam.invalid at 3/2/2005 7:52:09 AM
It is possible to go directly for one definitive Node using XPath
without having that to make one while in the XmlTextReader class?
With a XmlNode class I know that possible, but my boubt is with a
XmlTextReader class.
If possible, please give me an example.
Posted Via Usenet.com Prem... more >>
.NET's counterpart class of Java's DOMParser?
Posted by Carlitos at 3/2/2005 7:21:08 AM
Hi there,
I'm a beginner on XML. At this moment I am working on a conversion to C# of
a (pretty large) program originally coded in Java. It's not much what the
JLCA does when converting XML classes from Java to C# for several reasons,
and basically leaves the programmer with the decision ... more >>
newbie xslt question
Posted by Chris Kennedy at 3/1/2005 9:30:06 PM
I have some xml getting pulled out of an SQL server
- <root>
<tblcategories category="Category1" />
<tblcategories category="Category2" />
</root>
I am trying to transform it with the following xsl file
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns... more >>
Creating archive files
Posted by JezB at 3/1/2005 5:05:03 PM
From a windows application, I want to provide an "archive" facility which
will scan a specific directory and put specific files into some single
"Archive file", a bit like a zip-file I guess, but more windows standard.
Then I want to provide a function "Import from Archive" which will accept
... more >>
xmlTextWriter: process can't access file 'cos it's being used by another process
Posted by chris yoker via DotNetMonster.com at 3/1/2005 3:51:49 PM
hiya,
I have been reading thru previous posts but I still can't work this out.
I keep the IDE closed during execution, so I can rule out that possibility.
I have a generic static (shared) function for my XSLT transforms.
This function:
1) accepts an XMLDoc and XSLTDoc as args
2) returns a s... more >>
ANN: xsdbXML release with C#/.NET port
Posted by aaronwmail-usenet NO[at]SPAM yahoo.com at 3/1/2005 8:01:12 AM
ANN: xsdbXML release with C#/.NET port
Part I: Announcement
====================
There is a new release of xsdbXML which provides
bugfixes to the Python implementation and also
provides a completely separate implementation in C#/.NET.
The xsdb framework provides a flexible and well defined... more >>
XSL choose problem
Posted by Phillippa Ritchie at 3/1/2005 5:56:55 AM
Hi all
I've not used XSL before and have been asked to change an existing file.
An extract from the original is: (white space added for ease of reading)
....<xsl:template match="Trip">
<table width="560" border="0" cellspacing="1" cellpadding="0"
align="center">
<tr valign="top" height="7"... more >>
|