all groups > dotnet xml > may 2007 > threads for may 22 - 28, 2007
Filter by week: 1 2 3 4 5
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 >>
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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|