I am developing asp.net mobile application. I am using XML as a database. I am using the following query for required output. In the XML file I have the collection of MIMIC nodes & inside MIMICS node I have collection of SECTION nodes. One or more more SECTION node contains one or more SECTION nodes ( nested SECTION node) In the SECTION ...
The database have Table EMP with 3 columns empID , badgID , XMLDATA.
The XMLDATA have datatype "clob" and data is in the form -
<Record id="11">
<Demo rID="5"/>
</Record>
How can I read the attribute "rID" in node "Demo"value in the above XMLDATA in single query?
Server - SQL Server 2005
...
I am trying to parse an XML response from a website in C#. The response comes in a format similar to the following:
<Company>
<Owner>Bob</Owner>
<Contact>
<address> -1 Infinite Loop </address>
<phone>
<LandLine>(000) 555-5555</LandLine>
<Fax> (000) 555-5556 </Fax>
</phone>
...
I have a document that transforms xml to word.
it starts like this:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="no" version="1.0" encoding="utf-8" standalone="yes" />
<xsl:template match="/">
<xsl:processing-i...
I have some xml like
<entry>
<a>a</a>
...
<subelement>
<b>b</b>
....
</subelement>
</entry>
if I do $(entry).find('whatIAmLookingFor')
it works for some elements, but not for other elements, when those elements are nested in the subelement.
I can get it to work by doing
$(entry).find('subelement')....
I have code written that converts my Document to a string prior to printing
TransformerFactory tf = TransformerFactory.newInstance();
Transformer trans = tf.newTransformer();
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
trans.setOutputProperty(OutputKeys.INDENT, "yes");
//cre...
I am having trouble calling a 3rd party web-service. I have not received a SOAP fault, but am not getting a valid resultset. A colleague of mine has written a client in RPG on the OS400 and it returns a valid resultset. When comparing the RAW request in Fiddler2 for both requests, the only glaring difference I noticed was that my c# c...
Hey all,
Can anyone see whats wrong with either the code to grab the XML or the XML file itself? It looks well formed to me and I don't see the cause of the error:
A TypeError has occured:
TypeError: Error #1088: The markup in the document following the root element must be well-formed.
var file:String = 'config.xml';
var...
I have having a problem with a jquery script showing up in every other browser except IE.
Below is a very very very simplified version of the script and this wont even show up.
Please help Ive been working on this problem for about 2 weeks now
<script type="application/javascript">
$.getTime = function(zone, success)
...
My XML looks like:
<key>A</key>
How do I extract the string "A" from the XML with java in Eclipse?
My Java code looks like:
XmlResourceParser xmlSymptoms = getResources().getXml(R.xml.symptoms);
while (eventType != XmlResourceParser.END_DOCUMENT) {
if (eventType == XmlResourceParser.START_TAG) {
// Get the...
I have the following XML output when I grep for "Server":
<Server id="1" src="/other/Server/PRX01/PRX01.xml"/>
<Server id="2" src="/other/Server/PRX01/PRX02.xml"/>
<Server id="3" src="/other/Server/PRX01/PRX03.xml"/>
<Server id="4" src="/other/Server/PRX01/PRX04.xml"/>
I need to be able to take this output and sed/awk or some other to...
Please remove question
...
I'm having issue while loading thumbnail, I set an interval of time for each thumb to load on stage. Some of them can't load sequential in order, they are missing, are lagging...
Actually, I set a preloader to the file size but since I load dynamically from XML, file size is smaller.
Does anyone know a solution to solve that issue?
It'...
Dimitre - great stuff! You nailed the xml schema and my expected result.
I am using a xslt fragment to pull this information into the page. I am passing my pageIds into the xslt via the xslt fragment call. How can extend this code be able to process those passed in parameters in order to display the correct data from the xml?
This is ...
In mysql, you can use mysqldump --xml to dump to XML.
How do you dump a SQL Server database? Preferably to XML.
...
I am trying to parse out some information from Google's geocoding API but I am having a little trouble with efficiently getting the data out of the xml. See link for example
All I really care about is getting the short_name from address_component where the type is administrative_area_level_1 and the long_name from administrative_area_le...
I'm writing a web application that constantly retrieves XML "components" from a database and then transforms them into XHTML using XSLT. Some of these transformations happen frequently (e.g. a "sidebar navigation" component goes out for the same XML and performs the same XSL transformation on every page that features that sidebar), so I ...
I am working on an app that has multiple edittext fields and spinners and i want the focus to be switched to the next edittext box down when a selection is made from the spinner above.
Help
...
I have the following XML and I am trying to get a reference to the media:thumbnail and media:content URL attributes using the value-of statement in the XSL. I am able to get the title, link, description, etc, but not the media nodes and their attributes (url, width, height for thumbnail and url, medium, type, width, and height for group)...
How can I fill RSA structure with xml-formatted public key
for using with RSA functions on Mac OS X.
In other words:
There are following windows c# statements:
RSACryptoServiceProvider rSA = new RSACryptoServiceProvider();
rSA.FromXmlString(xmlKey);
return rSA.VerifyData(Encoding.UTF8.GetBytes(message), "MD5", signature);
how can...