all groups > dotnet xml > january 2007 > threads for january 1 - 7, 2007
Filter by week: 1 2 3 4 5
xslt with anyType node
Posted by Rotsey at 1/6/2007 11:45:22 PM
Hi,
I am ceating a xml file from SQL data using VS2003.
I want to then use xslt to transform xml to my web page.
But the xml file when after serialisation has some nodes like this
<anyType xsi:type="User">
I am using ArrayLists....this is why it is like that
Problem is how do I selec... more >>
XML CDATA etc
Posted by JohnAD at 1/5/2007 8:04:30 PM
Hello NG,
I am getting some information from DB, and that data has mix html and XML
tags in the content (e.g. detail on country).
Basically CDATA types are mixed with regular string. Also, html tags are in
escape form (e.g. > is >). When I display that string I see those tags.
Basica... more >>
Parsing HTML document to get at plain text between the <P> tags
Posted by Rob at 1/3/2007 11:45:35 PM
I'm writing an application without a user interface and I have a requirement
to find the plain ASCII text between <P> tags in an HTML document which
happens to have been obtained via POP3 and parsed out of a MIME message
body.
If I had a user interface, I could drop and IE web control onto ... more >>
Reformatting xml
Posted by Riccardo at 1/3/2007 3:09:35 AM
Hello,
I have an xml sample string like this:
<?xml version="1.0" encoding="ISO-8859-1"?><catalog><cd><title>Empire
Burlesque</title><artist>Bob
Dylan</artist><country>USA</country><company>Columbia</company><price>10.90</price><year>1985</year></cd></catalog>
and I need to obtaing a new re... more >>
Xml Serialization - Ignore/Skip Root Element
Posted by Andrew Norborg at 1/2/2007 7:31:39 PM
I would like to serialize a particular class into XML skipping the root
element that is automatically created for the class. For example if I have
the following class:
public class Person
{
[XmlElement("name")]
public string Name;
[XmlElement("age")]
public string Age;... more >>
Xsl with <br/> problem
Posted by Christofer Dutz at 1/2/2007 3:30:18 PM
Hi,
I am having a small problem, that is driving me nuts.
My application reads some Xml and runs 2 Xsl Transformations to generate
HTML. As soon as my second XSL introduces some <br/> tags, the application
crashes with the same error message I would get when writing <br> and no
closing tag... more >>
Changing Default Namespace within XSLT Transformation
Posted by DFB at 1/1/2007 4:34:00 PM
Within an XSLT transformation, I'm trying to switch the default namespace
within a section of the generated XML document to a shared namespace.
This way, the content of this section does not have to use a prefix for
the shared namespace, thus making the document smaller and easier to read. ... more >>
There is an error in XML document
Posted by Duane at 1/1/2007 7:28:40 AM
Okay - I get this error but I cannot tell which node in the XML is
causing the problem. The full error is:
There is an error in XML document (5, 266)
inner exception is:
Input string was not in correct format.
I used xsd.exe on my .xsd file. I have two XML files, one is the full
size of 50... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|