Hi
I have some XML data which includes URIs. I want to list the URIs on an ASP page, but also to make them clickable using <a> tags. However XSLT does not allow you to embed an XSL command within a tag, eg:
<xsl:for-each select="//uri">
<tr>
<td class="tdDetail">
More information
</td>
<td>
<a href="<xsl:value...
How should I handle this situation?
I set the Encoding to UTF8 but I still get errors...
I create that string (that I set to the WebBrowser.DocumentText) from a MemoryStream object and I'm ending it like this:
Byte[] buffer = new Byte[ms.Length];
buffer = ms.ToArray();
return System.Text.Encoding.UTF8.GetString(buffer);
What a...
I am writing the necessary business logic in C# methods by using class library in .net. In each class of class library I am writing single method which servers the specific purpose. My project folder containing the class library is stored on F: drive. I have added one folder named XML to class library & added the XML file in that. Now ho...
I'm writing a GWT-Hibernate internal web application for our development group.
Previously, I had written tools to parse up XML files which represented customer configuration gathered in the field for analysis. Now, I'm trying to add an UI front-end for the support group. The XML parsing code uses xpath and org.w3c.dom classes to consum...
I am trying to generate a C# class based on an .xsd schema. This schema has several imports which I included on the command line in my batch file. It also has includes that should be resolved by using the schemaLocation to find the file on the disk. I am getting errors for several types that are supposedly not declared. These definit...
I'm trying to parse this using PHP and simplexml_load_file but its not showing anything?
http://developer.multimap.com/API/geocode/1.2/OA10081917657704697?qs=Heaton&countryCode=GB
Where am I going wrong? Thanks
$results = simplexml_load_file($url);
foreach($results->Location() as $location) {
foreach($location->Address() as $add...
How can I add an icon before every ListView item text in an Android application?
Here is the current list_item xml that is called to populate the list:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
android:layout_width="fill_parent"
...
Hi Everybody,
I want to be able to view a XML file in treeview, and the user can drag the node around in treeview, or delete some node, then the change should be automatically reflected in the XML file. To give an example of my purpose, think of the Favorites hierachy in IE:
The XML file before modification:
<Folder FolderName="Favori...
I have a web form, that needs to save the data that the user enters, into a file and on the client pc, that will also be able to read from the saved file and repopulate the fields at a later time. No files will be saved to the server side, so I expect streaming needs to be involved at writing time.
I decided XML would be an easy way to...
I only want the first and the second last Area nodes - how would I do that here?
$url = "http://developer.multimap.com/API/geocode/1.2/OA10081917657704697?qs=Byker&countryCode=GB";
$results = simplexml_load_file($url);
foreach($results->Location as $location) {
echo "<hr />";
foreach($location->Address as ...
I have xml files with escaped HTML code in them, and I want to use this as real html tags in the html output after an XSLT transformation. Some example XML may look like this:
<root_node>
<html_node>
First line<br>
Second line
</html_node>
</root_node>
And an XSLT stylesheet could look like this:
<xsl:stylesheet>
...
In relation to a discussion started at this question, I've decided to put this up as a community wiki question.
The root of the question is, therefore, is it appropriate to store XML data in a relational database? Are there generally better ways to implement the same goal? What database engines provide good support for XML data types (s...
have a APP in JavaSwing with a JTextArea where is displayed a XML result for user.
What is the best library to make this XML code in HighLighted Syntax?
Thanks, Celso
...
This issue has been boggling me a few days, I would appreciate any input.
On this site, the rotating flash banner at the top works fine in IE and Chrome, but when opened in Firefox, it doesn't load the picture or advance automatically. If you click on one of the other buttons to advance to another item, it works fine, but on page load, ...
Passing the following SSML (Speech Synthesis Markup Language) document to the com.svox.pico TextToSpeech engine resulted in a reading of the XML body but no control from the phoneme element or the emphasis element. This result (no apparent SSML control) is the same on a Nexus One running Android 2.2 as well as on the emulator running an...
I'm trying to write a php script to send a http post request to a url. It doesnt seem to pass through for the server is not receiving it. Can anyone help?
<?php
function postXMLToURL ($server, $path, $xmlDocument) {
$xmlSource = $xmlDocument;
$contentLength = strlen($xmlSource);
//$fp = fsockopen($server, 80);
$fp = ...
I am working on making a custom section of my app.config and web.config to read a configuration in. I'm following the code at http://consultingblogs.emc.com/pauloreichert/archive/2005/05/31/1514.aspx for my sample. The problem is, my config file generates as follows:
<configSections>
<section name="BizDays" type="Holidays.BizDaysS...
I'm going through the w3cschools XSLT tutorial, and I am at this page: xsl-if.
On that page (in red) is the text <xsl:if test="price > 10">. This works. I modified the code to use "<" and that works fine too.
I tested <xsl:if test="price > 10"> (note the use of > instead of the >). This works too.
But this fails: <xsl:if test=...
I have a xml file that needs to be read from many many times. I am trying to use the Parallel.ForEach to speed this processes up since none of that data being read in is relevant as to what order it is being read in. The data is just being used to populate objects. My problem is even though I am opening the file each time in the thread...
I basically want to make part of my iphone app display schedule within the app, my thought is to make an xml template and then edit the file on the webserver as the schedule changes, then as a user views the file the schedule will load. My question would be what the best way would be to implement this? Just call the URL? I would like to ...