I have a table "Blah" with a PK column BlahID and an XML column BlahItems in a database on SQL Server 2005.
This table has records as follows...
BlahID BlahItems
------ ------------------------------------------------------
1 <root><item name="Fred" /><item name="Wilma" /></root>
2 <root><item name="Lisa" /><item name="Bart"...
I would like to read/write encrypted XML files using LINQ to XML. Does anyone know how to use encryption algorithms built into the .NET Framework to encrypt the Stream used by the XDocument object?
I did try it, but you can't set the CryptoStream to Read/Write access. It only support Read or Write, which causes LINQ to XML to throw an e...
I generate a XMLDocument based on a dataset by binding the dataset to the XMLDocument object and then display it to user in vb.net. I have a requirement in which certain tags to contain cdata sections rather than text value. After generating the XMLDocument how to change only certain tag to cdata section and keeping all else as it is? Or...
Looking at questions like http://stackoverflow.com/questions/77726/xml-or-sqlite-when-to-drop-xml-for-a-database and http://stackoverflow.com/questions/44207/what-are-good-alternative-data-formats-to-xml it is clear that XML is something you best use for exchanging data between systems, organizations, and software programs. For internal...
I have implemented a SAX parser in Java by extending the default handler. The XML has a ñ in its content. When it hits this character it breaks. I print out the char array in the character method and it simply ends with the character before the ñ. The parser seems to stop after this as no other methods are called even though there is sti...
We have an Java application running on Weblogic server that picks up XML messages from a JMS or MQ queue and writes it into another JMS queue. The application doesn't modify the XML content in any way. We use BEA's XMLObject to read and write the messages into queues.
The XML messages contain the encoding type declarations as UTF-8.
We...
EDIT: I also have access to ESXLT functions.
I have two node sets of string tokens. One set contains values like these:
/Geography/North America/California/San Francisco
/Geography/Asia/Japan/Tokyo/Shinjuku
The other set contains values like these:
/Geography/North America/
/Geography/Asia/Japan/
My goal is to find a "match" betwe...
I'm looking to update our project's jaxb version from 1 to 2. Has anyone tried doing this on their projects and are there any tips that anyone wanting to do this? I understand that each project is unique, I'm just looking for general tips.
...
Using VB.NET, how do I add the values from an XML file into an SQL Server database with a similar schema?
...
I was wondering which of the built in python libraries, support DTD validation.
I've been looking around and haven't been able to get a straight answer. I know ElementTree does NOT Support DTD validation.
Which ones do?
...
I have the following xml I'd like to deserialize into a class
<?xml version="1.0" encoding="utf-8" ?>
<root>
<element1>String1</element1>
<element2>String2</element2>
</root>
I am trying to serialize it into the following class:
[XmlRoot("root")]
public class root
{
[XmlElement("element1")]
internal st...
First, the obvious answers:
XML is a part of one of my data-oriented classes for my Computer Science degree. As of right now we're just messing around with the Internet and learning meaningless stuff we all knew years before we came to university, but the work will definitely pick up sometime soon and I'd like to be well-prepared.
I us...
Are there any tricks for preventing SQL Server from entitizing chars like &, <, and >? I'm trying to output a URL in my XML file but SQL wants to replace any '&' with '&'
Take the following query:
SELECT 'http://foosite.com/' + RTRIM(li.imageStore)
+ '/ImageStore.dll?id=' + RTRIM(li.imageID)
+ '&raw=1&rev=' + RTRIM...
I am trying something very simple, but for some reason it does not work. Basically, I need to rename some nodes in an XML document. Thus, I created an XSLT file to do the transformation.
Here is an example of the XML:
EDIT: Addresses and Address elements occur at many levels. This is what caused me to have to try and apply an XSLT. The...
Can anyone reccomend a .net control (winforms) that can be used to as a designer to edit xml files / DSL files ??
...
Pretty self explanatory. I just need to export lists easily to xml format. Are there any tools that accomplish this?
...
I got a row structure looks like ID bigint, ScanRept XML
I want to wind up with a file named 4.xml containing just the xml from the ScanRept column where the ID number is 4.
I don't want to do it interactively (by going into Manager Studio, finding the row, right-clicking the field and doing Save AS) - that's what I'll do if I can't fi...
I've got a iSeries to .Net compact framework project. It includes rgple programs exposed as web services and a Windows mobile app that uses the webservices. Each iSeries program has a specific webservice wrapper and the .net app reference each. I would like to come up with a more generic messaging service using XML.
I am fairly fami...
I'm building the HTML code within an XML DOM object to be used as the contents of the innerHTML of a div element using an XSL template. Traditionally we create a new XML DOM document and add the input parameters as XML Elements for the transform via javascript. This is all very time-consuming as we are basically hand picking the data fro...
I'm trying to convert some Xaml to HTML using the .NET XslCompiledTransform and am running into difficulties getting the xslt to match Xaml tags. For instance with this Xaml input:
<FlowDocument PagePadding="5,0,5,0" AllowDrop="True" NumberSubstitution.CultureSource="User" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentatio...