Hi all.
We have an XML which needs to be validated against an XSD. The XML is being generated by XSTREAM. and We are using jaxp api's to validate the XML against the respective XSD. Unfortunately, currently our test case fail as the generated XML has elements/Tags in different order/sequence than the XSD.
Is it possible to ignore the ...
When using XSLT how do you test to see if a locally scoped variable exists, or is this even possible?
...
Hey,
I have following scenario: I have a XML-Document, e.g. like this
<someRootElement>
<tag1>
<tag2
someKey=someValue
someKey2=someValue2
/>
<tag3/>
<tag4
newKey=newValue
newKey2=newValue2
/>
</tag1>
</someRootElement>
Now I want the parent tag1 to be called reallyCoolTag without ...
Consider this simple xml element example:
<parent foo="1" bar="2" foobar="3">
<child/>
</parent>
In the xsl file, I am in the context of "parent" (i.e. within the <template match="parent">). I want to select a node set (in the example, only one attribute) based upon a string variable. For example i want to select a node-set which ...
I have to create an application whose interface will be changed by end user for his lang.
and the end user may be the community which will change the all the UI details....
what will be the best way to do this?
if I go with .net resources then user needs to use the settelite assemblies and that they cant make them selves.
if I go for ...
How can I add stylesheet reference with XSLT?
I'm trying to strip down some large input XML with the first transform, and need the second transform to be applied on the client. Thus the first transform has to output the correct reference, e.g.:
<?xml-stylesheet type="text/xsl" href="client.xsl"?>
To recap it's XML->transform1(server...
I'm working on a WPF interface that reads an XML file and displays the data. The XML file would be something like this:
<People>
<Person Gender="Male">
<Name>Joe</Name>
</Person>
<Person Gender="Female">
<Name>Susan</Name>
</Person>
</People>
I need a data template dependent on the Gender attribute of ...
I am trying to generate gsoap classes for the JIRA issue tracking system WSDL. I run these commands to generate the required classes:
$ wsdl2h -o JIRASoap.h <url to wsdl>
$ soapcpp2 -C JIRASoap.h
The soapcpp2 command gives the following output, but does not indicate how to fix it.
There were errors:
3 syntax errors
1 semantic error
2...
I overrode the following target in my TFS build file to run various tasks that set up databases, import data, etc., etc. in Visual Studio 2008 - the aim was to stop only the website associated with an application pool on the server instead of stopping the entire W3SVC service on the entire machine (see alternate task for example):
<Targ...
I'm looking for an easy way to generate a sample XML file from an XSD that do not contain a single root node.
...
I just starting to query XML within a SQL Server database. I am having trouble with the most basic query. Here is a simplified example. How do I return description? The SELECT statement below is what I am using, but it returns nothing.
SELECT Incidents.IncidentXML.query
('data(/dsIncident/IncidentInformation/Description)') AS Descrip...
I have WCF service that I can upload files.
XElement upload = service.UploadFiles(id, File.ReadAllBytes(filePath));
This works, but I am just wondering if it is the best way to upload each of them one by one when you have many (about a thousand) small files (15~20K). How can we compare "Chunky" versus "Chatty" approaches?
1) Is it be...
I received a very weird IOException when writing to an XML file:
System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rig...
I have a dataset which I am populating via an Oracle SQL query:
SELECT col_id, col_desc
FROM table_data;
Then I generate the dataset, via the function
Dim ds as New DataSet
OracleDataAdapter.Fill(ds)
Now, when I get the XML of the generated dataset via:
Dim strXML as String
strXML = ds.GetXML()
When I read/display the string, i...
What is the best way to serialize a large collection of objects? I am attempting to serialize and validate against a schema a large collection of items about 70,000 items in c#.
XML file is not created. I have tried with a 1,000 items, it works fine with less items.
public void SerializeObject( Ojbect MyObj)
{
XmlSerializer serialize...
hi all, I came across a script to display the last X amount of blog posts from my blogger account, however I'm getting this warning:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call...
Hi All,
My program will be receiving an XML of size upto 8GB to 10GB with the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" "">
<gsafeed>
<header>
<datasource>Name</datasource>
<feedtype>incremental</feedtype>
</header>
<group>
<record url="" action="add" mimetype="t...
Hi all.
In Javascript I can send XML string to JSP server (XmlAction.jsp):
Javascript Code:
var xmlDocument = "<?xml version="1.0" encoding='ISO-8859-1'?>
<Customer>
.......
</Customer>
"
var httpRequest;
httpRequest = new XMLHttpReque...
Hi
G'day.
I just want to write a simple application about XML and ListView Control with C#.
Any good tutorial? thank you!
...
I am developing a website using mybloglog. I want to get the information about communities when i searched for a particular community. Is there any rest url is there for this or any method is there to get communities and its members. Please help me regarding this
...