all groups > dotnet xml > may 2004 > threads for may 22 - 28, 2004
Filter by week: 1 2 3 4 5
Where can I find a BerkeleyDB XML for .Net || Has anybody found anything about .Net and BerkeleyDB
Posted by RikardN at 5/28/2004 11:16:10 PM
Hi,
I am looking for any information regarding BerkeleyDB XML for .NET or if
anybody have
information regarding an alternativ (free) to BerkeleyDB XML for storing XML
and using XQuery.
(Yes I have looked at http://www.sleepycat.com)
I have found the samples in the download
(http://www.m... more >>
MC++ & C# generate different XML
Posted by Lidström at 5/28/2004 2:26:50 PM
Hi,
I've been trying a long time now to generate some XML using MC++ and
XmlSerializer. I have a piece of C# code that produces exactly what I want,
but I simply can't get the MC++ code to write the same thing. Below I have
included two minimal compilable samples that illustrate my problem.
... more >>
Validating and XML file with a schema
Posted by Robert Reineri at 5/28/2004 12:55:00 PM
Hello,
New to the XML world and .NET. I have what I believe to be a simple problem,
but I have read the .NET docs till I'm blue in the face and still can't
locate a simple example of how to accomplish this.
I have two strings (C# string type).
One of them contains an XML document.
The othe... more >>
string XML transform
Posted by Owen at 5/28/2004 11:46:55 AM
Hello:
I have some xml and xsl in string, "not in file". I want to transform the
xml with xsl and the result I want in string (but in xml format). I read
this sample :
public class Sample
{
private const String filename = "mydata.xml";
private const String stylesheet = "myStyleShe... more >>
Output escaping with XSL
Posted by Paul Hatcher at 5/27/2004 1:55:47 PM
Hi
I'm transforming some XML to HTML but the via XslTransform and a
StreamWriter, but I can't get it to obey <xsl:text> escaping rules.
I have a statement
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
but I get &nbsp; in the output rather than
If I do this... more >>
Serializing DateTime
Posted by Lidström at 5/27/2004 10:55:44 AM
How do I serialize a DateTime attribute to HH:MM:SS? I've tried this:
[XmlAttributeAttribute(AttributeName="time", DataType="time")]
But it is serialized as time="10:45:34.7031250+02:00". I would like it to
be plainly "10:45:34". I will not be doing any calculations on the time,
just record ... more >>
Create Login in asp.net using XML
Posted by m_skreiberg NO[at]SPAM hotmail.com at 5/27/2004 5:12:32 AM
Hi.
I'm trying to create a login page in asp.net using information from an
XML document. (visual basic)
I've tried Rowfilter to find a cell with the 'username' and then match
this with the 'Password' cell on the same row.... -> allow page to
redirect if these match:
If 'username' match '... more >>
encoding="ISO-8859-1" and XML (.Net CF)
Posted by ongg NO[at]SPAM w-linknospam.net at 5/27/2004 1:38:27 AM
Hi,
I'm using .Net CF, and I'm trying to load an XML document that has a first
line:
<?xml version="1.0" encoding="ISO-8859-1"?>
I'm loading this via XmlDocument.Load(). However, I get and XmlException
with no real good useful info:
An unhandled exception of type 'System.Xml.XmlException' o... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XML Stylesheets
Posted by Richard L Rosenheim at 5/26/2004 11:41:45 PM
I need to create some XML stylesheets to transform some XML data into HTML
pages. So, I'm looking to improve my understanding of XML stylesheets.
I do have a book, "Professional Visual Basic 6 XML" which has a chapter on
stylesheets, but I'm finding it a little hard to understand. I also foun... more >>
Convert a WML document to HTML using Word2HTML.xsl
Posted by Henrik Skak Pedersen at 5/26/2004 6:44:42 PM
Hi,
I am trying to convert a very basic WML document to HTML using the
word2HTML.xsl stylesheet. But I get an exception when I am trying to convert
it:
The code looks like this:
XPathDocument xpathdocument = new XPathDocument(docFileName);
XslTransform xslt = new XslTransform();
xslt.Lo... more >>
xmlTransform transform <xsl:number> - possible Bug
Posted by b0yce at 5/26/2004 5:40:22 PM
Hi Group,
I think I have found a problem with the <xsl:element> when being
transformed by the .NET xmlTransform class. When using XmlSpy for
development and debugging, the <xsl:number> subsitutes the position of the
node correctly as I expected. This is fine with MSXML 3.0 & MSXML 4.0 plus... more >>
xpath wildcard: ANY offspring match
Posted by darrel at 5/26/2004 10:40:24 AM
I'm still struggling with xpath syntax.
I'm creating a menu via XSLT that checks to see if any given node has a
descendant somewhere down the chain that is the 'current active page' and,
if so, then it should display itself.
I've been using this for my syntax:
<xsl:if test="page/linkID | ... more >>
Encoding problem
Posted by Greg at 5/25/2004 5:35:12 PM
Hi all,
I'm using the XmlDocument class to create an XML document. I found out that
in .NET there are special classes that they do that job a lot faster,
namelly XmlTextWritter. My problem is that using the XmlTextWritter the
encoding gets messed up.
How do I set the XmlTextWritter's ecncod... more >>
cannot load schema for the namespace
Posted by Ian Emery at 5/25/2004 4:31:35 PM
Hi,
I am trying to validate an XML file using the XmlValidatingReader and
XmlUrlResolver.
The code for which goes like this:
// Read the XML file.
XmlTextReader xmlReader = new XmlTextReader( _PathToXMLDoc);
XmlValidatingReader valReader = new XmlValidatingReader(xmlReader);
valReade... more >>
Lost in XPath
Posted by Tom Clement at 5/25/2004 4:17:57 PM
I really believe it's possible to do what I want with a SelectNodes() XPath
query, but I'm lost. Any help would be appreciated. Suppose you have an
XML document (like a WordProcessingML file) that has a bunch of elements
embedded in it that conform to a schema, but each schema-defined
parent/c... more >>
Custom Configuration management for app.Config
Posted by tronicsolution NO[at]SPAM yahoo.com at 5/25/2004 2:24:19 PM
Hi,
I created a custom Section handler using System.configuration for Web
application to read from Web.Config File.
If I want to use the same handler to read from app.config file:
app.config is not interpreted as XML file, & the code breaks.
Here is the sample of the logic.
For Each nod... more >>
Question about attributes
Posted by Developer at 5/25/2004 12:47:23 PM
Hello,
I'm experimenting with and XmlTextReader sample, and don't understand how
the attributes are being processed.
Here's the input:
<xsd:element name="AA" type="BB" substitutionGroup="CC"/>
The code:
while (reader->Read())
{
switch (reader->NodeType)
{
/... more >>
Export data in XML through Web Services
Posted by Massimo Rizzotto at 5/24/2004 7:06:57 PM
I have a WebMethod that retrive data from a DB and I want to return this
data in a XML format.
I try to do with the TextWriter class but I wasn't able to do, because I
didn't found any example thet explain how to use the Stream attribute.
Can I use the TextWriter or I have to use the XmlDocument... more >>
Problems with SelectSingleNode
Posted by Colin Young at 5/24/2004 10:13:03 AM
I have the following XML ('Offer' only appears once in the XML):
<OfferSheetXML xmlns="http://localhost/GBWPipeline/OfferSheetSchema.xsd">
<Offer>
<OfferSheetId>31</OfferSheetId>
[...]
</Offer>
</OfferSheetXML>
If I want to use the SelectSingleNode method of the XmlDocument object... more >>
XmlSerializer - XmlTextReader vs. XmlNodeReader
Posted by Andy Neilson at 5/24/2004 9:29:11 AM
I've run across a strange behaviour with XmlSerializer that I'm unable =
to explain. I came across this while trying to use XmlSerializer to =
deserialize from a the details of a SoapException. This should have =
worked fine since the class in question was already being serialized and =
deserial... more >>
How to add new node with value?
Posted by Lupina at 5/23/2004 10:24:24 PM
I want to create new node, and then save it to file.
I can add empty node with attributes, but I don't know how set new value for
the node:
String *strMake = this->txtMake->Text;
String *strModel = this->txtModel->Text;
XmlDocument* XmlDoc = new XmlDocument();
try {
... more >>
How to read certain node from xml
Posted by Lupina at 5/23/2004 6:32:09 PM
I want to read certain node from xml file by the ID.
It means taht I know the ID of person, and I want read all data that person
(eg: name,mail...).
persons.xml
<?xml version="1.0"?>
<persons>
<person>
<id>1</id>
<name>Tom</name>
<mail>tom@tech.com</mail>
</person>
<person>
... more >>
Saving xml with accentuated characters
Posted by Cesar Ronchese at 5/23/2004 5:06:06 PM
Hello, All!
I'm working with accentuated characters in my XML files, and I have found
problems to load and save it.
First, for this case, I always have my XML in memory, and I load it via
LoadXML (please, ignore incorrect concatenations for this sample):
Dim cXml As New Xml.XmlDocument
... more >>
XML Dataset editor
Posted by Eric at 5/23/2004 4:35:39 PM
Hi,
I am making a flash card type program for the PocketPC. I am using a dataset
to contain the cards, all of that works great.
I thought I would just import the XML into word or excel, copy/paste the
data from other sources or add new records, and then save it as xml. As i
have Office XP,... more >>
Converting an XML documentation file to a help file
Posted by Chris Morrison at 5/23/2004 2:50:12 PM
Hi all,
This may seem like an obvious question.
How do I convert the XML documentation file that the C# compiler emits from
my XML comments into a help file for the Microsoft Document Explorer?
Is there a tool program or something that I am missing? I cannot find
anything in any of the ... more >>
|