I have a XML file, like this:
<?xml version="1.0" encoding="utf-8" ?>
<ROOT>
<NAME>
ItemName
</NAME>
<LIST>
<ITEM>
ListItem1
</ITEM>
<ITEM>
ListItem2
</ITEM>
<ITEM>
ListItem3
</ITEM>
</LIST>
</ROOT>
How can I use LINQ to get all the ITEM...
I am using DataSet.ReadXML and DataSet.WriteXML to read and update an XML file. In some places I have a text column that may contain carriage return, linefeed ( )
When I put in the input file, ReadXML works fine and I get \r\l in the column's value. However when I update with DataSet.WriteXML, the output file appea...
Hello
I am making xml file for rssfeed. but rssfeed reader is not reading some special character.I have following data:
Machinery Vibration Analysis Training Course (with optional Mobius Institute certification exam - ISO 18436.2 Category II Vibration Analyst)
In XML file it looks like
Machinery Vibration Analysis Training Course (w...
I'm trying to refactor some slow running code which writes XML using nested loops of several datatables. I read that using linq to write the xml would be faster. I'm not well versed in linq, so I was hoping to get some help here.
Some things I need to mention is that the current architecture uses a webservice which returns data to us in...
I need to extract all HTML tags from a webpage into an array without the data inside the tags. It would look something like...
I'm using PHP
Array
{
html =>
Array
{
head =>
Array
{
title,
...
I have a web service I am trying to call using a mainframe integration product (DataDirect Shadow z/Services), but my question is more of a general one. I want to know how an element defined as minOccurs="0" is typically handled. The operation on the 3rd party service I am calling has a complexType element where all of the elements wit...
Hi,
I would like to know if there is a way in jQuery to send data to server from a browser in XML format?
Thanks,
Sana.
...
<LinearLayout android:layout_width="fill_parent"
android:orientation="horizontal"
android:layout_height="wrap_content">
<LinearLayout android:id="@+id/LinearLayout01"
android:layout_width="wrap_content"
android:orientation="horizontal"
android:gravity="center_horizontal"
...
Hi
I have structure
<category>
<catid>1</catid>
<cattext> sport </cattext>
</category>
I want change text of element <cattext> into another like "art" instead of sport by using xquery
...
I have to read clipboard from a .net application using c#.
I use "Xml Spreadsheet" format to read it to have informations like type of columns.
My problem is that sometimes the GetData() return null.
Stream stream = Clipboard.GetData("XML Spreadsheet") as Stream;
I read clipboard from the main thread.
I suppose this is a memory proble...
I have a tool producing NewsML type XML files and I want to validate them after producing the files.
I'm receiving an error:
Attempt to load network entity http://www.w3.org/TR/ruby/xhtml-ruby-1.mod
The python call is:
parser = etree.XMLParser(load_dtd=True, dtd_validation=True)
treeObject = etree.parse(f, parser)
First I'm not sure...
I have the following XSD file:
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://www.wvf.com/schemas'
xmlns='http://www.wvf.com/schemas'
xmlns:acmewvf='http://www.wvf.com/schemas'>
<xs:element name='loft'>
</xs:element>
</xs:schema>
and the following XML file:
<?xml ...
i am working on asp.net storefront(not mvc) but the one from aspdotnetstorefront.com
I try to add menu items
on topmenu but i am seeing (!menu.About!)" as result.
How to do this?
...
I have to simulate an array as if it was returned from Net::DBI fetchall_arrayref function.
Lets say that the SQL query is something like "SELECT data1,data2,data3 from table1 "
I have an XML file as
<type1>
<data1>a</data1>
<data2>b</data2>
<data3>c</data3>
</type1>
<type1>
<data1>da</data1>
<data2>db</data2>
<data3>dc<...
I have an XML database which contains elements which have an id. These are all unique. They also have a secondary identifier which links them to a similar object in another database. These are not all unique.
Is there an XQuery which would let me identify all the non-unique IDs? I can count how many there are using distinct-values(), bu...
Alright, so the ultimate goal here is to parse the data inside of an xml response. The response comes in the format of a ruby string. The problem is that I'm getting an error when creating the xml file from that string (I know for a fact that response.body.to_s is a valid string of xml:
<?xml version="1.0" encoding="UTF-8"?>
<Response...
Hi,
I am trying to modify the TopPaid project from Apple:
http://developer.apple.com/library/ios/#samplecode/TopPaid/Introduction/Intro.html
I want to put buttons in the Ipad DetailViewController to change the XML, parse again, and reload the table with the new info.
What is the correct way of doing this?
...
The xml file has this snippet:
<?xml version="1.0"?>
<PC-AssayContainer
xmlns="http://www.ncbi.nlm.nih.gov"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://www.ncbi.nlm.nih.gov ftp://ftp.ncbi.nlm.nih.gov/pubchem/specifications/pubchem.xsd"
>
....
<PC-AnnotatedXRef>
<PC-AnnotatedXRef_x...
I have an XML document and made an XSLT to output is as HTML and viewed the output in the IDE. Now I want to create an XSLT to output as text file, but the 'Show XSLT Output' only shows me the HTML. How do I switch it to the text output XSLT?
I even put in the line:
<?xml-stylesheet type="text/xsl" href="NotaryExport.xslt" ?>
...
This Twilio API Sample code isn't working in Rails 3:
#voice_controller.rb
def reminder
@postto = BASE_URL + '/directions'
respond_to do |format|
format.xml { @postto }
end
end
#reminder.xml.builder
xml.instruct!
xml.Response do
xml.Gather(:action => @postto, :numDigits => 1) do
xml.Say "Hello this is a cal...