xml

Is there an XML standard for Ecommerce Products?

Is there a standard way of transferring product data between e-commerce web sites? I presume there are several cases where a company wishes to include another companies products inside its store. How then would this be accomplished? I presume an XML feed would the way to go, but is there a standard for something along the lines of pro...

Create XML file dynamically in Iphone

Hi I want to create a xml file dynamically for my Iphone application. I tried it by using NSXMLDocument but NSXMLDocument is not declared in iphone application. Please help me in doing so. Thanks Gaurav ...

Grails render as XML generates an unwanted class element

I am rendering a command class as XML via render foo as XML where foo is an instance of the command class. This successfully returns an XML for the objects value. However, the generated XML also contains a class element, e.g., my.package.ClassNameOfCommandObject This also happens when I do the same for a standard domain class, a...

Dot '.' in XML-Tags / Transforming w. XSLT

Hi, I've got an xml which shoule be transformed using XSLT but there are "." in the Tag and in cause of that it doesn't work. But the . is allowed in XML-Tags. Can anybody give me a hint on transforming such a file: XML: <root.element> <test.element>Hello World</test.element> </root.element> XSLT: <xsl:template match="/"> <tes...

Can I create a asp.net webform -or user control- output from an XML file by using XSLT?

Hi, Basically the thing I would like to achieve is to produce a form with some check boxes which will have their texts, default values from an xml file. As an example the block below should result 3 checkboxes (Use Sword, Use Shield, Use Spell) with the default values assigned. And when that form is posted back I can read them on the co...

closing connection with sql server using a DBHelper file to make connection and XmlReader to point to it

Hello all, Well, as i mentioned, i am using an app_code file to handle my connections to the DB, using two public static functions. one for the SqlDataReader when using SQL and the other is XmlReader when using XML. The thing is, in ExecuteReader i can write: return cmd.ExecuteReader (CommandBehavior.CloseConnection); and that will cl...

Convert form.RenderControl() value to xml Well Formed

hello all i need convert form1.RenderControl() on aspx to xml well-formed please Help me. ...

How to use xslt to add namespaces to xml

I have a SOAP web service that is defined contract-first--the request and response xml are defined by xsds that use a number of different namespaces, and there are 100s of elements defined in xsds. However the web service calls a legacy layer which does not use namespaces in the xml. Therefore I have a transformation layer between the we...

itextsharp table text overlapping

Hi, A website im working on creates a pdf document using itextsharp xml but for some reason when content in a table row is split between two pages the content is falling into the next column and overlapping on the next page. Has anyone come across this issue before and if so any fizes? Any help would be much appreciated. John ...

Passing XML back and forth with RPG and .NET

I am at a loss here of a best-practice to pass XML back and forth with RPG and C#.NET. Originally, I was going to use a temp physical file in QTEMP, but it seems to be that there should be a better way. The temp file has one line of the document in one record of the file. To me this seems to add a lot of extra work that really shouldn't ...

ASP.net Compile time XML/dataset checks

I would like an automated way to run compile time checks on datasets (or any xml) to make sure that expected values are found for certain properties. I have a fairly complex dataset in my asp.net Web Site. After modifying a query Visual Studio regenerates the tableadapter object and returns many properties to their default values. Thi...

Displaying an XML code in the browser

This may be simple, although i'm having some trouble finding a solution. When you look a .xml file in your folder, you could double click it so your main browser will display the code content of it. I have the complete path of the xml, and I'd like to create a link in aspx (with either c# or vb.net) that redirects to the XML in the bro...

Program capable of opening a large XML file in windows

Hiya All, I need to parse and process an XML feed, unfortunately the feed is about 110mb in size (and i cannot do anything about it) but to be able to parse it i need to see the structure (or if anyone has any other ideas i'd love to hear it). But for some reason using editplus i've been unable to open the file. I'm on a 64bit Vista Ma...

What settings storage format to choose?

I'm writing a Qt application and will need to store the settings for the program. I want them to be easily editable by non-advanced users yet be flexible enough for advanced users (thus allow easy automated editing via other programs, scripts, whatever). QSettings does provide two formats, the native format, which for Windows is registry...

Xquery: nested ifs

Basically I have several sequences that may be empty, if they are empty then I don't want to output it's parent node. If all of the sequences are empty then I don't want the containing node. Basically I have code similiar to this, which doesn't work: let $a := //a let $b := //b return <root> {if (exists($a) or exists($b)) then ...

Convert a dictionary<string,string> to xml

I want to convert a dictionary<string,string> to this xml: <root> <key>value</key> <key2>value2</key2> </root> Can this be done using some fancy linq? ...

How to merge XML in T-SQL?

It doesn't seem that any amount of reading the docs will help me. Consider the simplified example: declare @table1 table ( id int, parent xml ) insert @table1 values( 1, '<Root></Root>' ) declare @table2 table ( id int, guts xml ) insert @table2 values( 1, '<Guts>hi mom!</Guts>' ) select t1.parent.query('') from @table1 t1 inner join ...

converting xdoc or xelement into string?

can you easily convert an xdocument and xelement into string to store in the db? ...

drag and drop on all nodes of a tree structure simultaneously in a advanceddatagrid

I have an advanceddatagrid tree with a hierarchial XML as its dataprovider. If i drag and drop a branch from one node in a tree, the similar action is to be performed on all nodes of the tree simultaneously. Can anybody suggest how do we perform this. ...

Creating an XML document with a namespaced root element with Nokogiri builder

I'm implementing an exporter for an XML data format that requires namespaces. I'm using the Nokogiri XML Builder (version 1.4.0) to do this. However, I can't get Nokogiri to create a root node with a namespace. This works: Nokogiri::XML::Builder.new { |xml| xml.root('xmlns:foobar' => 'my-ns-url') }.to_xml <?xml version="1.0"?> <root ...