all groups > dotnet xml > may 2007
Filter by week: 1 2 3 4 5
Anyone is working on PCATS XML standard?
Posted by Bill Nguyen at 5/31/2007 4:55:04 PM
I am having problem opening the XAL file in the browser because the xmlns
URL and xsi URL are invalid.
If I would like to ignore those, what's the way to get the data into an
SQLserver table?
Thanks
Bill
<?xml version="1.0"?>
<pcats:NAXML-FuelsDoc
xmlns="http://www.naxml.org/Retai... more >>
question about create table by using xslt
Posted by Lee at 5/31/2007 4:17:37 PM
I have a xml file, here is sample part:
<?xml version="1.0" encoding="UTF-8"?>
<ProducsList>
<Product id="1">
<SpecList>
<Spec>
<SpecLabel>Height</SpecLabel>
<SpecValue>10</SpecValue>
<SpecCat>Dimension</SpecCat>
</Spec>
<Spec>
<SpecLabel>Width</SpecLabel... more >>
is this stylesheet valid?
Posted by Andy Fish at 5/31/2007 3:38:45 PM
hi,
i'm porting some xsl code from .net 1.1 to 2.0 and I have come across a
transform which works in .net 1.1 and works in mxsml but does not work in
..net 2.0. the stylesheet is this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999... more >>
ServerXMLHTTP.3.0 parsing problem
Posted by Jason at 5/31/2007 8:51:00 AM
I'm using an ASP 3.0 page to query the USPS site for shipping rate info using
the ServerXMLHTTP.3.0 object. The code is as follows:
set objSrvHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
objSrvHTTP.open "GET",
"http://production.shippingapis.com/ShippingAPI.dll?API=RateV2&XML=" &
... more >>
DOWNLOAD CRACKED 2007's SOFTWARE: ARCHICAD 11,UNIGRAPHICS NX5,SOLIDWORKS 2008,XSTEEL 13,AUTOCAD 2008
Posted by William Eistenach at 5/30/2007 3:23:05 PM
Our team provide different types of services such as:
- proffessional cracking of any kind of software
(CAD,CAM,CAE,EDA,GIS,PCB,FEA,FEM,CNC,CFD,PDS,3D,Optics etc.) designed
for any kind of operating systems(Windows 95/98/ME/2000/XP, Linux,
FreeBSD, OS/2, MAC OS etc.)
- producing key... more >>
Bizarre XSD File Format Changes with Web Developer?
Posted by Don Miller at 5/30/2007 1:46:28 PM
I have a bizarre problem when I try to validate XML documents and their
schemas once they have been opened and transfered to a Visual Web Developer
2005 Express project. I receive validation errors for XML/XSDs that worked
fine when first created in another environment (XMLSpy trial).
I hav... more >>
XML Validation Test
Posted by Competitive Dad at 5/30/2007 6:53:02 AM
I have a DataContract from a WCF service that exists in a proxy assembly.
I want to create a test client for calling this service, so I thought I
would create an instance of the contract through Reflection, serialize to an
XmlDocument and then walk through the Xml creating textboxes and label... more >>
XmlTextWriter Encodes HTML Entities?
Posted by clintonG at 5/28/2007 3:28:31 PM
Can anybody make sense of this crazy and inconsistent results?
// IE7 Feed Reading View disabled displays this raw XML
<?xml version="1.0" encoding="utf-8" ?>
<!-- AT&T HTML entities & XML <elements> are displayed -->
<rss version="2.0">
<channel>
<title>AT&T HTML entities & XML <elements> a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Serializing some properties of a UserControl-derived class
Posted by she_prog at 5/28/2007 12:49:20 PM
I have a class derived from UserControl.
I need to serialize an object of this class, but only some properties
of it, as not all properties are serializable (some of the properties
coming from UserControl are like that). When serializing, how
could I ignore all the properties coming from the Use... more >>
Unable to get UnhandledAttributes for XmlSchemaChoice Class
Posted by Luc Alquier at 5/28/2007 2:27:01 AM
Context : .Net Framwork 2.0, C#, XPSP2,VStudio 2005
hi,
Is this behavior is by design or is it a bug ?
I've found any documentation that mention that fact.
It works fine for the following schema objects, i've tested :
- XmlSchemaElement
- XmlSchemaAttribute
- XmlSchemaEnumerationFacet
... more >>
deserialize CDATA section in XML
Posted by Dariusz TomoƱ at 5/27/2007 11:06:00 PM
Hi,
I have got xml document with CDATA sections containing special characters
like links to images. All Iwant is to display the content withing my div
section. Can you provide me a snippet of a code.
Thank you in advance.
Darek T.
... more >>
CDATA in RSS title and description?
Posted by clintonG at 5/24/2007 8:42:40 PM
Does it seem to be a general consensus that CDATA within the title and the
description is widely supported at this point in time is a means to allow
users to submit data such as the word AT&T in an RSS title or description?
What are the known generally accepted pitfalls of using CDATA?
--
... more >>
performance of XslTransform vs XslCompiledTransform
Posted by Andy Fish at 5/24/2007 3:45:01 PM
Hi,
From reading the documentation, I get the impression that
XslCompiledTransform should be faster than XslTransform
on my test with a large complex document and a large complex XSLT, the
transform took 4 minutes with XslTransform but 7 minutes with
XslCompiledTransform.
However, wit... more >>
Is there XmlDecode/XmlEncode?
Posted by Fallen at 5/23/2007 11:46:19 PM
I have a string containing XML embedded withing another XML document
as an attribute value. This is what the string looks like:
<message>quick brown fox<message/>
I want to convert this to: <message>quick brown fox</message>
How?
(I don't think XmlConvert handles this.)
regard... more >>
how to locate where an xslt stylesheet failed
Posted by Andy Fish at 5/23/2007 5:36:00 PM
Dear experts,
After converting some .net code from using XslTransform to
XslCompiledTransform, one of my XSLs no longer runs. it fails with:
Attribute and namespace nodes cannot be added to the parent element after a
text, comment, pi, or sub-element node has already been added.
trouble... more >>
Newbie question: Loading an XML document into an object
Posted by sh at 5/22/2007 2:16:12 PM
I'm new to XML. I've searched for an answer to this question, but
haven't found the right one, so I'm posting here.
I've created a class named Order, which contains some data columns
(CustName, CustAddr, etc).
I also have an XML document which contains an Order's data.
Is there a VB com... more >>
XSD and xs:union?
Posted by Bradley Plett at 5/22/2007 1:43:30 PM
It seems that the XSD tool supplied with VS2005 does not handle
"xs:union". Am I doing something wrong? Is there a work-around?
Here is a simple sample file:
--------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001... more >>
Xmlhttprequest - response to transfer data
Posted by rwiegel NO[at]SPAM iastate.edu at 5/21/2007 9:31:05 AM
Hi,
I'm trying to find a way to use XMLHttpRequest to recieve an xml file
and then use XMLHttpRequest to send an xml file back based on the xml
file I received. Can anybody help?
Thanks in advance
... more >>
XML newbie: How to add/replace an attribute
Posted by Bob Altman at 5/18/2007 10:05:03 AM
Hi all,
Whenever I need to deal with XML I kind of stumble around in the XML
namespace until I find the class that seems to do what I'm trying to do.
This time around, I've been trying to find a reasonably straightforward way
to do something that should be very simple, and I've gotten to th... more >>
XPath Validation using xsd Schema
Posted by syed.akhlaq NO[at]SPAM gmail.com at 5/17/2007 6:57:30 PM
Hi,
Does anyone know how can I validate XPath expressions using xsd
schema?
Thanks
... more >>
933262
Posted by sfaldus at 5/17/2007 7:44:02 AM
Hello, where can I get the KB 933262 hotifx?... more >>
Reading XML file with JScript
Posted by Shalem at 5/17/2007 3:03:29 AM
Hi,
By using AjaxPro I am creating XML file with database data and saving
that created file in harddisk, but i have to show the content of that
XML in browser. How can I show the content by AjaxMethod which is
in .cs file or can we open and show the content of XML file by using
JScrip
Th... more >>
Disdplaying resulting XML Response as Raw XML on Web Page
Posted by doug at 5/15/2007 7:12:01 AM
This may be trivial. It was back when I did HTTP POST with XML Docs.
Now on ASL.Net I'm using XML proxy classes and everything I've tried tries
to act on the XML.
I have a test ASPX page that I use to test web service. When response is
returned I want to open a new window and disdplay re... more >>
programatically adding attribute xsi:nil=true to XML element
Posted by Nabeel Moeen at 5/15/2007 4:47:01 AM
Hi,
I want to add the xsi:nil="true' attribute to an element in XML. I am using
XmlNode.Attributes.Append() but the generated output results in the attribute
[nil="true"] ignoring the "xsi:" prefix.
How do I work around this problem?.
... more >>
Document.Save with indents
Posted by Norbert_Pürringer at 5/14/2007 3:59:44 PM
Hello there,
is it possible to write an XML document into a file, which has a readable
structure by using indents? By doubleclicking the xml file, you see a
readable XML structure in IE, but if you open the file in a text editor, you
get an unformatted structure of the XML.
Furthermore I... more >>
XPath generation question
Posted by David Thielen at 5/13/2007 5:20:00 PM
Hi;
We have a TreeView that represents an xml file (or it's schema is a more
accurate statement). We want to have a double click on a node in the tree
generate the XPath to get to that node.
For the full tree it's easy. We walk up the parents getting the name of each
node and put a / bet... more >>
XML schema class?
Posted by David Thielen at 5/12/2007 9:12:00 PM
Hi;
I know an XML schema is XML and so can be read using the XML classes.
However, I was wondering if there is a class that understands a schema and
can read it and returns the schema as nodes/properties in that class?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardrepo... more >>
How to move to a specifc Node
Posted by pradeep_TP at 5/11/2007 11:30:01 AM
Hi All,
I have a small XML file as below (books.xml)
<bookstore>
<book genre="autobiography" publicationdate="1981" ISBN="1-861003-11-0">
<title>The Autobiography of Benjamin Franklin</title>
<author>
<first-name>Benjamin</first-name>
<last-name>Franklin</last-name>
... more >>
Small doubt regarding XmlDocument::LoadXml(String xml)
Posted by GeezerButler at 5/10/2007 1:01:05 PM
According to msdn, this method throws XmlException when
"There is a load or parse error in the XML. In this case, the
document
remains empty."
I cannot understand the difference between load and parse error.
IMO, only thing that would cause exception is Malformed xml.
right?
... more >>
Validating a string is in Xml format without doing a try{ XmlDocument.Load(.......
Posted by Paul at 5/10/2007 8:32:24 AM
The title says it all.
Is there a speed efficient way of validating that a string contains
valid Xml without
the overhead of try catch around a load attempt?
Thanks in advance.
... more >>
XmlsDSig SignatureValue hash
Posted by Iguana at 5/10/2007 6:07:00 AM
Hi!
I create application in csharp, .net 2.0. I must get (decode) from
SignedXml.Signature.SignatureValue hash. This hash I need to send to
TSA with TSP RFC 3161. I have spend lot of time read msdn and some
news gropus but dont see any method for this. Can any one show me the
way how do this?
... more >>
inherited classes and xml.serialization
Posted by Iain at 5/10/2007 4:34:02 AM
suppose I have
public class A
{
public List<A> Contents;
}
public class B: A
{
public string nameB;
}
public class C:A
{
public string nameA;
}
and I want to deserialise something like
<?xml?>
<A>
<Name>fred</Name>
<Contents>
<B>
<NameB>bert</Na... more >>
XPath asp:Label "The server tag is not well formed" compiler error
Posted by alien_attack NO[at]SPAM hotmail.com at 5/9/2007 8:47:47 AM
I have the a repeater which is databound to an XmlDatasource. Inside
the repeater is a Label as follows:
<asp:Label ID="lbl" runat="server" Text='<%#
XPath("Asset_Metadata[App_Data[@Name = 'NVOD_Genre']/@Value")%>' />
This gives me a "The server tag is not well formed". It seems to be
bec... more >>
XmlDataDocument problem
Posted by david.juffermans NO[at]SPAM hva.nl at 5/9/2007 12:29:14 AM
Hi,
I have a problem reading xml into a dataset using the XmlDataDocument.
In a test project, I created the following xml file:
<?xml version="1.0" standalone="yes"?>
<Customer>
<OrderDetails>
<OrderID>5</OrderID>
<ProductID>6</ProductID>
</OrderDetails>
</Customer>
And I use t... more >>
XmlWriter with ConformanceLevel.Fragment
Posted by Shimon Sim at 5/8/2007 4:38:45 PM
Hi
I keep getting error :
WriteStartDocument cannot be called on writers created with
ConformanceLevel.Fragment.
The code that I have is very simple.
SimpleClass c = new SimpleClass();
c.Name = "TestName";
XmlSerializer serializer = new XmlSerializer(typeof(SimpleClass));
Memo... more >>
Writing valid XML document based on Schema
Posted by Thomas at 5/8/2007 11:50:08 AM
Does anyone have a best practices recommendation on writing a valid
XML document based on a 3rd party XML schema?
I have a working solution but I would like to know if anyone has a
better approach.
My solution:
1) Pull the data from the database into datatables (in my case, this
is DB2).
2)... more >>
How to: Remove xml header and all default namespaces
Posted by Shimon Sim at 5/8/2007 8:52:29 AM
Hi
I am writing some integration project. I need to create XML from object data
but I don't need xml header and all the default namespaces.
My current (testing) code is:
Request request = new RequestGroup();
XmlSerializer serializer = new XmlSerializer(typeof(RequestGroup));
MemoryStrea... more >>
XML and quote
Posted by mtugnoli at 5/8/2007 7:56:08 AM
This is my XML file
<?xml version="1.0" encoding="utf-8"?>
<index>
<folder Name="Test1">
<folder Name="Test2">
<files>
<file Name="After You've Gone.mp3"/>
<file Name="Prova.mp3"/>
</files>
</folder>
</folder>
</index>
nodeSel = doc.SelectSin... more >>
XML with inline schema open in Excel 2007
Posted by Rob at 5/8/2007 7:21:46 AM
Hi. I have XML data that I want to be more user-friendly when its
opened in excel. I have been just trying to get excel to recognise an
inline schema to do very basic formatting - as in for it to know
recognise its datatype etc..- is this possible in the Excel?
Any information regarding this wou... more >>
Safe Multi User xml updates [best Practices??]
Posted by werD at 5/7/2007 1:57:01 PM
Hello,
Im wondering, what's the best method to allow multpiple users to update an
xml file at once. In my case, generally no user should be editing the same
piece of data at any given time however there may be ten+ users updating the
same xml file at once. The file has grown to somewhere al... more >>
XMLDataDocument.DataSet.ReadXML and redefining elements in an XSD file with <xs:redefine>
Posted by ERingmae NO[at]SPAM gmail.com at 5/7/2007 9:58:06 AM
Hi,
The environment is .NET 2.0, the language is C# and the problem is
reading XSD file with xs:redefine section correctly to a
XMLDataDocument.DataSet.
What I am trying to do:
I am trying to create a DataSet object from an XSD file by using
XMLDataDocument class.
I'm using the method
... more >>
Getting error 'The underlying connection was closed: The server committed an HTTP protocol violation'
Posted by Archana at 5/6/2007 11:24:45 PM
Hi all,
I am having application where i am downloading xml content using
webrequest. my code is as below
HttpWebRequest lWebRequest = (HttpWebRequest) WebRequest.Create(URL);
HttpWebResponse lWebResponse = (HttpWebResponse)
lWebRequest.GetResponse();
StreamReader lResponseStream = new
... more >>
class generated from XSD.exe will not generate XML?
Posted by Les Caudle at 5/6/2007 10:12:14 PM
Using this command line to run XSD.exe
xsd /c /o:outputDir input.xsd /f
on the following XSD
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:dino="http://example.com/test" targetNamespace="http://example.com/test"
elementFormDefault="qualified">
<element n... more >>
Problem with SelectNodes / SelectSingleNode
Posted by Ben at 5/6/2007 7:55:03 PM
Hi
We have the XML Below
<Products>
<Item Code="1">
<PN>Name</PN>
<PC>ProductCode</PC>
<MC>Manufacturer</MC>
......
</Item>
</Products>
I am trying to get the select nodes to work, basically I only want to select
items where MC = 'Manufacturer'.
The code below does not... more >>
XmlSerialization and extensibility of derived types
Posted by Stephen Walch at 5/5/2007 11:50:57 AM
Lets say I have designed my solution as a "base" assembly and a bunch of
"implementation" assemblies. The goal is that I can add new implementation
assemblies dynamically by declaring them in a config file. For example...
Base Assembly:
public abstract class A {}
public class B { pu... more >>
XmlSerializer and defaults
Posted by dmonder at 5/4/2007 3:03:35 PM
I am using the XMLSerializer to map the XML below to an object as
follows:
Config config
XmlSerializer xmls = new XmlSerializer( typeof( Config ) );
try {
TextReader tr = new StreamReader( "config.xml" );
config = (Config)xmls.Deserialize( tr );
tr.Close();
} catch ... more >>
MSXML issues in 64 bit
Posted by mrjaxon NO[at]SPAM gmail.com at 5/4/2007 10:28:41 AM
I have a C# web application which leverages MSXML that I am trying to
migrate to a 64 bit environment. Currently the application is built
on the .NET 2.0 Framework and using MSXML 6 (though I had the same
issues using version 4). The OS I am running the app on is Windows
Server 2003 x64. I am... more >>
Performance Issue of XmlSerializer on Loop
Posted by jorge.fioranelli NO[at]SPAM gmail.com at 5/4/2007 8:11:17 AM
I'm testing application performance, and my first test was to call my
app multiple times to detect memory leaks.
But when I called my application method inside a loop, I saw that the
response time was being incremented with every call.
I have been monitoring the memory, cpu, and disk use, but I ... more >>
writing XML from string makes not well formed xml due to too many spaces
Posted by pantagruel at 5/3/2007 3:18:19 AM
Hi,
I've got an asp.net page here that someone else wrote and obviously
expected that it would work because it has been distributed with quite
a large application.
This page allows one to look up some various XML schemas by their
names, not sure where these schemas are actually found at bec... more >>
XPath Help
Posted by alien_attack NO[at]SPAM hotmail.com at 5/2/2007 11:15:29 AM
I have the followign XML document format.
<Asset>
<App Name="Title" Value"Pigs" />
<App Name="Rating" Value"G" />
</Asset>
I'm trying to figure out how to display the Title's value but being
sorted by the Rating's value.
So far I have.
Displays title: Asset_Metadata/App_Data[@Name = ... more >>
|