Hi, I have data in xml files (about 5000), need to search and filter this data. It would be wonderful if i can use Fuzzy Search. Suppose need use index? index of the attributes? what should I do use xml database, something like lucene? I prefer .net.
...
All,
I'm building a site which will gather news stories from about 35 different RSS feeds, storing in an array. I'm using a foreach() loop to search the title and description to see if it contains one of about 40 keywords, using substr() for each article. If the search is successful, that article is stored in a DB, and ultimately will ...
I have a working form that creates a new item in a SharePoint list using CAML XML document. I have read how to include attachments and I want to include the entire InfoPath form as an attachment on the List item.
Can I still do this with the CAML XML by including the file as an encoded string? I'm having trouble setting up the CAML XM...
I need to be able to take an XML file and corresponding XSD at runtime and derive an array of elements and associated attributes.
I've seen a few posts e.g.:
http://www.java2s.com/Code/Java/XML/ProvidesatraceoftheschematypeinformationforelementsandattributesinanXMLdocument.htm
that suggest using a sax parser to iterate through the do...
I've got a REST-ful WCF service that returns back an XML response. It is comprised of objects that are serializing and de-serializing correctly, with the one exception that my List property on a node is not deserializing correctly. The XML looks like:
<ShippingGroups>
<ShippingGroup>
<ShippingGroupId>
b0b4d8a4-ff1f-4f02-a47c-263ef8a...
How would you construct and pass XML as an argument to a stored procedure on an MS SQL 2005 server? And how would you INSERT the XML into a table?
The data is in the form of key/value pairs:
[
0: [key, value],
1: [key, value],
2: [key, value]
]
...
Hello all,
I'm using VB.NET to generate some XML files from a Dataset. Now when I have an empty field in the dataset, the resulting XML element for it is like:
<Example1 />
The problem is that I don't want the tag to look like this! if it's empty, I want it to look like:
<Example1></Example1>
Any ideas ???
...
I'm looking for java frameworks, patterns or technics which allow a client server architecture to communicate via xml.
Any suggestions?
...
I am trying to Deserialize the XML input which i get. I have Created Classes for Deserialization. In my XML input there is a DOCTYPE tag which specifies the DTD.
So the problem is, if i remove the DTD tag from the input (using substring) it gets Deserialized but if i dont remove it it gets stuck at
requestObject = (Request)serializer....
See this example from RFC2518:
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>http://www.foo.bar/container/</D:href>
<D:propstat>
<D:prop xmlns:R="http://www.foo.bar/boxschema/">
<R:bigbox>
<R:BoxType>Box type A</R:BoxType>
...
Hi how to convert the following empty element tag in the following xml
<LIST_R7P1_1>
<R7P1_1>
<ORIG_EXP_PRE_CONV />
<EXP_AFT_CONV />
<GUARANTEE_AMOUNT />
<CREDIT_DER />
</R7P1_1>
</LIST_R7P1_1>
to the following format using xslt
<LIST_R7P1_1>
<R7P1_1>
<ORIG_EXP_PRE_CONV >0<ORIG_EXP_PRE_CONV />
<EXP_AFT_CONV >...
A recieve a string like this:
<invoke name="CanClose" returntype="xml">
<arguments>
<string># 998.40</string>
<number>49920</number>
</arguments>
</invoke>
I'd like to use QDomDocument to get the values of arguments' child nodes by their index (I would like to extract the strings "# 998.40" and "49920" in the examp...
Hi,
Firstly, I am new to android development. My app has been working fine with a number of different activities up until today.
I have been trying to add a new <Button /> element to one of my layout xml files. However, if I give it a new id (e.g., android:id="@+id/button_unique") my app crashes on load, presumably as the resources are...
I have an XML document where one of the element nodes can be dynamic, or of any XML structure. I'm having a difficult time modeling the corresponding C# serialization class.
For example I have something like this in my C# class:
[XmlAnyElement]
public XmlNode Value { get; set; }
Where XmlNode is System.Xml.XmlNode.
A few notes:
I...
I have looked at the documentation on sorting XML with Groovy
def records = new XmlParser().parseText(XmlExamples.CAR_RECORDS)
assert ['Royale', 'P50', 'HSV Maloo'] == records.car.sort{ it.'@year'.toInteger() }.'@name'
but what I am trying to do is sort the XML and then return the xml string sorted. I know I can completely rebuild the...
I am trying to apply a selector to a ListView to make it easy for those without touch screens to navigate my app. The thing is, by applying the selector to the ListView, it only seems to apply the background colors to the entire list, not the items inside of it.
Any ideas? Here's some code:
<ListView
android:id="@android:id/list...
I know that in the Tools > Options (Text Editor > CSS > Format) menu I can choose between three types of document formatting for CSS files (compact, semi-expanded and expanded) as well as capitalization.
A decision has been made in my organization to implement a formatting structure in XML files, where the attributes for an element line...
I am having a problem getting the ListView to display properly. It currently looks like this with the following xml code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wr...
i am getting this error on this code:
<style>
#tt {
position:absolute;
display:block;
background:url(images/tt_left.gif) top left no-repeat;
}
#tttop {
display:block;
height:5px;
margin-left:5px;
background:url(images/tt_top.gif) top right no-repeat;
overflow:hidden;
}
#ttcont {
display:block;
padding:2px 12px 3px 7px;
ma...
can you please give me a structure like this:
<html><body><svg></svg><javascript>..............</html> ??
i am having A LOT of trouble adding css and javascript to an SVG file that looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativeco...