all groups > dotnet xml > march 2007 > threads for march 1 - 7, 2007
Filter by week: 1 2 3 4 5
Still one question!
Posted by Jo M at 3/7/2007 8:56:40 PM
Hello again!
I wrote a small Windows App that converts
characters to XML.
Code below:
StringBuilder sb = new StringBuilder();
new System.Xml.XmlTextWriter(new
StringWriter(sb)).WriteString(this.txtBoxFrom.Text);
this.txtBoxTo.Text = sb.ToString();
If I give & to txtBoxFrom field ... more >>
Regular Expressions to XML
Posted by Jo M at 3/7/2007 6:43:20 PM
Hello,
Does anyone of you know any tool that would convert regular expressions
to XML compatible form?
I mean tool that would convert e.g. & to & etc.
I have written an ASP.NET C# application that uses regular expressions
stored in XML file but a tool that would convert Regexp to XML ... more >>
Closing a file with XmlDocument?
Posted by SirPoonga at 3/6/2007 11:17:30 AM
I am storing some small amounts of data in an xml file using
XmlDocument. I basically do a .Load(filename), processing,
then .Save(filename). However, once and awhile on the .Load it will
say the file is in use by another process. This is the only program
to use that file. I am using C#. An... more >>
Read XML using XSD
Posted by Ben van Erp at 3/6/2007 9:10:05 AM
Somebody gave me an XSD file to read a XML file. Can somebody give me an idea
how to use this XSD file in C# to start reading XML files?
Thanks, Ben... more >>
Is this a problem with / or . within the data values?
Posted by JB at 3/5/2007 4:40:34 PM
Does anyone know why this code works in example A but not in example B ? Is
this a problem with special characters within the data values?
A) Set xmlNodeList =
xmlParentNode.selectNodes("//PredecessorLink[CrossProjectName='A5']")
B) Set xmlNodeList =
xmlParentNode.selectNodes("//Prede... more >>
using XmlTextWriter
Posted by gusse.net at 3/5/2007 3:16:24 PM
if there are no data when writing an element is creates the tag like this
<customer/>
but i would like it to write
<customer>
</customer>
any property i can set or something else i could do ??
... more >>
XML , text, from xmlwriter.
Posted by MAF at 3/5/2007 12:10:01 PM
Is there a simple way to get the text, xml, from an xmlwriter.
I have a XML writer that writes to a file, and I want another function to
return the text that the xml writer is produced.
Any suggestions?
... more >>
Reading XML Webpage Without XSLT
Posted by dakrin at 3/5/2007 10:07:16 AM
i'm trying to programatically read the xml that is used to create a
webpage through xslt transformations.
I can view the XML when i go to "View Source" in internet explorer,
but whenever i try to download the webpage programmatically i can't
ever get the source XML, i always get the transforme... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Load the restrictions from a schema
Posted by Robert Mago at 3/5/2007 12:00:00 AM
I have an xml document instance in C# which loads an xml schema.
I would like to load the restrictions for a complex type in the schema so
that the user will choose one, from a drop down list for example.
Any ideas?
A stripped down schema segment is shown below:
<xs:complexType name="c... more >>
Storing EndElements as XmlNodes
Posted by ahmed.maryam NO[at]SPAM gmail.com at 3/4/2007 5:39:35 PM
Hi Everyone,
How can I check for end elements in a XmlNodeList that consists of all
the children nodes in my XML document?
Can I avoid using XmlReader or XPath Navigator? Thanks for any help!
I'm using Visual Studio 2005 and my application is in C#.
... more >>
Xpath with Namespace retruns NULL, please help
Posted by jeff_gombala at 3/2/2007 3:25:59 PM
I am using the following code to query for a single node, yet my results are
always NULL. Please help, I've tried everything adn I am unable to get a
result.
XmlDocument xml = new XmlDocument();
xml.LoadXml(strNLETSMessage);
XmlNamespaceManager nsmgr = new ... more >>
Splitting and Renaming Xml Nodes
Posted by Guhanath at 3/1/2007 6:35:11 AM
Hi,
Please suggest a solution for the following problem.
We get a input xml that need to be processed for grouping and sorting.
The example of one such xml
<Requests>
<Request>
......
<Results>
<Result1>
<Type>1</Type>
</Result>... more >>
XslCompiledTransform adds xmlns:msxsl attribute to root node
Posted by Joost van den Boom at 3/1/2007 12:00:00 AM
Hi all,
I use XslCompiledTranform to transform one XML file into another. In my
stylesheet I use the msxsl:node-set() function, so I have a namespace import
in my stylesheet.
After transforming, the root node of my resulting XML file has an attribute
xmlns:msxsl="urn:schemas-microsoft-com... more >>
(more!) elementFormDefault confusion
Posted by Bardo at 3/1/2007 12:00:00 AM
Hi all,
From what I can read, it doesn't look like I'm the only one getting confused
with the elementFormDefault and attributeFormDefault properties of XML
schemas.
I am wanting to get a full understanding of these properties, as I want to
be able to generate XML that conforms to these s... more >>
|