This is my code on html page which references to webservice which is in local application folder. Can anyone help to resolve this issue
var keyword2 = "{\"keyword1\":\"" + keyword1 + "\",\"streetname\":\"" + address1 + "\",\"lat\":\"" + lat + "\",\"lng\":\"" + lng + "\",\"radius\":\"" + radius + "\"}";
$.ajax({
...
I have used the following link as an example:
http://gdata.youtube.com/feeds/api/videos?vq=?-4Z95ZZ7AZA
I noticed that there was no correlation between the views displayed on Youtube and the views in this xml response file. This didn't bother me when the xml file showed less views, as I assumed it was possibly just a day behind. But now...
hello
I am playing with XSLT with MSXML2 for the first time. And of course it doesn't work :-)
I have a bug which I cannot figure to solve.
So as to fix the bug, I try to understand everything around: and something shocks me.
void xsltProcessing(IXMLDOMDocument* pXmlDoc, IXMLDOMDocument * pXslDoc)
{
CComPtr<IXSLTemplate> pTemplate...
I've got a "flat" XML menu that I need to structure.
Current XML tree:
<root>
<nodes>
<node>
<id>5</id>
<parent>1</parent>
</node>
<node>
<id>8</id>
<parent>5</parent>
</node>
<node>
<id>14</id>
<parent>8</parent>
...
I defined xml schema the contains an element called 'field' and an extension to it called 'composite-field'.
it is defined as following:
<xs:complexType name="field">
<xs:sequence>
<xs:element name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="composite-Field">
...
I have a big xhtml document with lots of tags. I have observed that a few unclosed opening paragraph tags are repeating unnecessarily and I want to remove them or replace them with blank space.
i just want to code to identify unclosed paragraph tags and delete them.
Here's a small sample to show what I mean:
<p><strong>Company Registra...
What php library should I use if I want to get the allowable attributes in a tag, or the allowable tags in a specific part of a DITA XML document, according to it's DTD or XSD?
I've tried it with the XML_DTD-0.5.2 pear lib, but it seems it parses the offical 1.1 and 1.2 DITA dtds with many errors...
...
I have a webmethod which is trying to construct xml data document and return to clientside
but i am not able to guess whether the error is on clientside call or webservice return method.please can anyone help to sortout this logic
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
public XmlDataDocument GetList(stri...
I'm using Livecycle for a web service tier.
If there is a null in the database, the nodes have a string 'null' in them.
how can I make sure that I strip out the 'null' values form the nodes and also tell if the value of the node is really 'null'?
...
Well, it's been several hours I'm lost...
IXSLTemplate::putref_stylesheet doesn't document any error except E_FAIL.
However in my case putref_stylesheet returns E_INVALIDARG. GetErrorInfo() is only redundant telling me that the "Argument is invalid". So I am not left with much information.
However my code is pretty close to all exampl...
Ok So I looked at this: http://stackoverflow.com/questions/2308889/using-jquery-to-extract-cdata-in-xml-for-use-as-html-content
But it didn't help with what I'm doing. I'm getting an rss/xml feed from a url. I'm having an issue with the CDATA in the title and description tag. Here's the feed item:
<item>
<title><![CDATA[Impact Sou...
How one can access attributes with namespaces? My XML data are in a form
val d = <z:Attachment rdf:about="#item_1"></z:Attachment>
but the following does not match the attribute
(d \\ "Attachment" \ "@about").toString
If I remove the namespace component from the attribute's name then it works.
val d = <z:Attachment about="#item_1"...
Hi 1st Question, be gentle.
I'm trying to use javax.xml.transform.Transformer to format some xml string to be indented / spaceless between the tags. If there are no spaces between the tags, it works ok. If there are it acts weird. I'll post an example. I tried to follow up on the following topic : http://forums.sun.com/thread.jspa?mess...
I have a stored proc that does inserts of “people”. I have an xml document with a bunch of people I want to insert. I want to call my stored proc like below and expect the stored proc to be called for each person in the xml. It is telling me that the stored proc “expects a parameter of @Id” and is failing. @Id is the first param and ...
How do I make XamlReader.Load to just ignore unknown attributes and elements instead of throwing exceptions? It would be much more useful if it only ignored those.
...
Possible Duplicate:
Removing unclosed opening <p>tags from xhtml document
I have a big xhtml Document consisting of lots of tags. I have observed that a few unclosed opening paragraph tags are repeating unnecessarily and I want to remove or replace them with blank space.
I just want the code to identify unclosed paragraph ta...
Hi,
I need to create a checksum for an XML file in Java. The basic requirements are:
The order of elements matters;
The name-value pair of attributes is important, but the order of attributes is NOT;
Ignore all white spaces and comments
Anyone can provide any hint or sample code?
Thanks,
Mark
...
Hello,
I was wondering which one of the following two was the better way of filtering on a column in my xml variable.
INSERT INTO [Tracking].[Team]([Name], [Description], [Begin_Dt], [End_Dt], [Update_Dt])
SELECT
x.[Team].value('Name', 'varchar(100)') AS [Name],
x.[Team].value('Description', 'varchar(250)') AS [Descript...
I need to record a user's name that is using an ASP.NET web service. To do this, I created a SoapExtension that captures an incoming Soap envelope and converts it to an XDocument. The problem is I know nothing about LINQ to XML and the examples I've reviewed don't quite seem to work with the SOAP envelope.
The SOAP message looks like ...
I'm trying to print some text using my flying saucer (https://xhtmlrenderer.dev.java.net). The document is generated using DOM-API but when the print starts there is a 'content not allowed in prolog' exception. What is the reason for this exception?
My code is this:
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory...