xml

Are there any tools to transform SVG data to Canvas friendly input?

Are there any tools to transform SVG (XML) data to Canvas friendly input? ...

Improving FOR XML Explicit Perfomance

Although using SQL FOR XML EXPLICIT is cumbersome, I find myself using it often. Since it allows full control over the generated XML document. My problem is with perfomance, sometimes it would take more than 5 minutes to generate an XML document describing some financial data (invoices, bills .. etc.) for just one month! So I was looki...

Xsd and inheritance

I have and xsd like this < xsd:complexType name="A"> < xsd:complexContent> < xsd:sequence> < xsd:element name="options"> < xsd:complexType> < xsd:sequence> < xsd:element name="Day"> ... ...

Preserve white space in string with XmlTextWriter.WriteString

I am writing an XML document in C#. I have something like this... string output = "REAPP DUE NO OF M CASE NBR APPL NBR DATE GRPS M CASE NBR APPL NBR DATE GRPS _ _ _"; and I do this... objXmlTextWriter.WriteStartElement("Case"); ...

XML authoring/cms tool

I am trying to find a good open source XML authoring tool so the work flow between the client and the developers will be a bit more streamlined. We are basically developing a lot of XML driven micro websites for various clients and products. And often the clients want to have a little content change here and there. Sometimes just to cha...

XML From a Web Service Call

Visual Studio makes calling a web service easy, trying to figure out what is going on under the covers is difficult. How can I see the actual XML generated from my .Net app when making a call to a web service? ...

Java XML Binding

What are you using for binding XML to Java? JAXB, Castor, and XMLBeans are some of the available choices. The comparisons that I've seen are all three or four years old. I'm open to other suggestions. Marshalling / unmarshalling performance and ease of use are of particular interest. Clarification: I'd like to see not just what framewor...

Replacement for XML to represent Data structures in C++

At work we have a testing tool that is used to send queries to a data source. The tool takes in input as XML files. The XML files were simple and easy to parse as long as the data structures we tried to represent were one layer deep. But now these data structures are more complex and representing them in XML is getting to be highly confu...

How do I access the XML data in my column using LINQ to XML?

I have this XML in a column in my table: <keywords> <keyword name="First Name" value="|FIRSTNAME|" display="Jack" /> <keyword name="Last Name" value="|LASTNAME|" display="Jones" /> <keyword name="City" value="|CITY|" display="Anytown" /> <keyword name="State" value="|STATE|" display="MD" /> </keywords> I'm getting a record out...

XML in JavaScript

I have an XML Schema which I am parsing in JavaScript and then packing that as an object to pass to one of my backend servers. The schema is like <complexType name='Test'> <sequence> <element name='testField' type='string'/> <element name='typeSpecificSetting' type='tns:TypeSpecific'/> </sequence> </complexT...

XSL Passing a path to a template

Is it possible to pass a path such as subject/name to a template then to use that path which is passed in the template as a path and not as a textual string. I am finding that the path is treated as text rather than a path. ...

Special Characters in XML

I am creating a left navigation system utilizing xml and xsl. Everything was been going great until I tried to use a special character in my xml document. I am using and I get th error. reason: Reference to undefined entity 'raquo'. error code: -1072898046 How do I make this work? Thanks ...

"Token Text in state EndRootElement would result in an invalid XML document"

I'm seeing this exception message coming from XslCompiledTransform.Transform(), but after handling the exception the XSL transform still appears to have been successful. The full exception message is: Token Text in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set t...

XML structure for a personal organizer

I'm doing a personal organizer for learning purposes, and i've never worked with XML so i'm not sure if my solution is the best. Here's the basic structure for the XML file i came with: <calendar> <year value="2008"> <month value="october"> <day value="16"> <activity name="mike's birthday" time="2...

Weird xml c# problem, does Vista cache program files?

My c# program reads an xml file when it loads, my installer installs the program in %program files%\myapp. When I run my program it loads an old xml file and not the one found in its current folder, here is the weird bit, if I rename the myapp folder to myapp2 and rerun the exe the correct xml file loads. I have made no changes to any of...

Converting between document formats in C#

What is the best way to convert between HTML, XML, and XSL-FO in C#? I already have the HTML (piped in from FCKEditor) and I'd like to print a PDF (I have an XSL->PDF converter). I just can't seem to find a library that will convert from HTML into anything XSL friendly. ...

Flash AS2.0 - Read <li> tags from XML

I have an XML document, and contained within one of the nodes, I have <li> tags. I don't need <ul></ul> tags for Flash because it only accepts <li> tags anyway. For example, here's part of the XML doc: <node> <li>item1</li> <li>item2</li> </node> I want to put all the data within the <node> tags, with bullets, into a TextArea compon...

Best method to check the empty child nodes in XML?

Hi, I have a xml which is max 3 levels deep. Now by using C# or Xpath what the best method to check the whether all the child nodes under a parent node are empty. Thanks in Advance. ...

PHP generating XML, time-outs randomly

I have no idea. This causes seemingly random time-outs. These in turn break the flash that i am loading it into. Has anyone seen anything like this before? <?php require_once("../includes/class.database.php"); require_once("../includes/dbConnectInfo.inc"); require_once("../includes/functions.php"); include("../includes/conn.php"); $c...

How do you create a PDF from XML in Java?

At the moment, I'm creating an XML file in Java and displaying it in a JSP page by transforming it with XSL/XSLT. Now I need to take that XML file and display the same information in a PDF. Is there a way I can do this by using some kind of XSL file? I've seen the iText Java-PDF library, but I can't find any way to use it with XML and a...