I would like to add a variable data to a string literal WITHIN the HTML tag
Dim locationOfImage as string = "http://blahblah......"
Dim xmlString = _
<div style="background:url(" <%= locationOfImage %> ")">
<h3>Some text</h3>
</div>
The above does not work, I can't quickly determine how to d...
I have XML files containing multidimensional arrays of numeric data and I need to read them into SAS.
To make files smaller, the format has been specified so that the data are stored in an one-dimensional CDATA array.
To get an idea of the structure of the files, consider something like this:
<!-- Metadata -->
<table name=foo>
<axis i...
I am working in a project where we create XSD schemas, and would like to generate sample xml instances for testing purposes.
In eclipse, there is an XSD editor that has the option Generate > XML which does it by a click of a button.
But I would like to convert this mouse click to a Builder, Maven or Ant task.
Any ideas of how to do it?
...
Suppose I have the following XML Document.
<reply success="true">More nodes go here</reply>
How to get the value of the attribute success, which in this case would be the string "true".
...
Hi there,
I've got an .asp page scripted as an xml page, but i'm having some issues with html entities. I have a feed with products and obviously a product description.
The following person of code correctly formats '&' as '&' but I also need to catch instances of the registered mark and make that into the html entity.
Dim varOrgText,...
I have the following service definition (incomplete, but demonstrates the error.
Visual Studio tells me (translated from german) "In this Schema Namespace http://schemas.xmlsoap.org/wsdl/ is not available" at the line where I define OffertXML.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="TestOffertverwaltung"
targetNa...
Hi,
I'm using javax.xml.transform.Transformer class to transform the DOM source into XML string. I have some empty elements in DOM tree, and these become one tag which I don't want.
How do I prevent <sampletag></sampletag> from becoming <sampletag/>?
...
Is there anywhere that I can find documentation on the scope of the XML files? I have an app I am currently working on and have been struggling with getting a feature to work and it seems that the problem I am having is that I am trying to access an element in an XML file that must be out of scope. To simplify the layout, my project has ...
I am using some library: org.dom4j. I am beginer in JAVA. I want to know how get all childs in Node Books (i have sections, author in other info (not the some in all books node))
java.util.List BookList = xmlDocument.selectNodes("/BooksList/Books");
Iterator Biterator = BookList .iterator();
while(Biterator.hasNext()){
Element book...
Hi guys,
I need to understand how does WCF works when sending a message. Does WCF serialize everything before sending it?
My other question is which will be the benefit of using Streaming? Is it better for bigger messages, lets say between 1Mb to 2Mb? Can I send a complex object serialized, and then be able to deserialize it in the oth...
Hey guys,
I have to load some XML data (generated from a database, using PHP) into a flash slideshow.
The database data will change only when someone edit the website at it's backend.
In terms of loading speed and performance, which is best:
1) Generate the XML data dynamically from the database, each time the page is loaded;
2) Ge...
I think the best way to ask this question is: How do I specify a default namespace for the root element in the output? Doing this:
<xsl:template match="/">
<r xmlns:s"http://www.mycompany.com/s/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mycompany.com/default/schema" >
....
....
Gives me an ...
I have a wsdl file with me and want to generate a sample XML file for request/response of an API. Using soapUI I managed to generate the file but it has question marks inside, like this: <cin:returnURL>?</cin:returnURL>. What I want is like this; <cin:returnURL>---returnURL---</cin:returnURL>.
Is there any way to to do this using soapU...
I have a System.Web.UI.WebControls.Xml control (Xml1) in a webforms app that I have upgraded from .NET 2.0 to .NET 4.0
I am getting two warnings from the code-behind page that I'd like to do something about.
...
Dim ds As DataSet = app.GetObjects
Dim xmlDoc As New System.Xml.XmlDataDocument(ds)
Xml1.Document = xmlDoc
Xml1.TransformSou...
hi!
anybody know how can i parse a csv or xml document with multiple addresses, to get their latitude and longitude?
im talkin'about 300+ addresses..
thanks a lot in advance :)
...
Using pythonm there a good tutorial on downloading from websites both XML and CSV formats.
Trying to get info from financial websites with authorizations. I have id/Pw.
Any thoughts, TIA
I found below, it doesnot work, any help in fixing? Im looking to get stock/option prices.
_version__ = "0.3"
__date__ = "2008-05-09"
__author...
Hi All,
I am naive jQuery programmer, so somebody please help me out with this problem. The first example shows what i am doing and its working. But my dilemma is that the list is created by parsing a XML. If so how would i parse the xml, find the 'title' attribute and then load the corresponding url into a Div. Thanks in advance...
jQu...
Folks,
I'm about 90% of where I want to be with my WCF RESTful service but I'm having a little trouble with figuring out a good way to do POST data. I want it to work the way it does in the MVC engine where the body of the HTTP message in the POST is run through the model binder and it tries to convert that data into the data type of t...
I'm trying to make requests to the shopify.com API over GAE python
the url i have to request is not formed in the usual format.
it is composed like http://apikey:password@hostname/admin/resource.xml
with urllib I can request it but i cant set the headers for an xml request so it doesn't work.
urllib2, httplib... are having problems wi...
I have an XML file and I save some of my application settings in that.
I read this xml file and cache it in memory, If i change the setting i want to read the latest change from xml file but how can I know that, xml file is changed ?
Im running this app in the web context (asp.net)
...