Hi,
I'm trying to add schematron validation to my xsd.
This is my new xsd :
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
xmlns:sch="http://www.ascc.net/xml/schematron"
elementFormDefault="qualified" >
<xs:element name="books">
<xs:complextype>
<xs:sequence> ;P
<xs:element name="book" type="bo...
Hi every one,
I have a app.config file that in the form of :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<client>
<endpoint address="http://something.com"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFileTransfer"
contract="ABC" name="XXX" />
...
Hi, how do I get the user's JID in a RosterTree? I can get the clicked user's node with NodeMouseDoubleClick but i don't know how to get his JID.
Private Sub RosterTree_NodeMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles RosterTree.NodeMouseDoubleClick
If e.Node.GetType()...
Can any one tell how to add a xml signatore in a xforms by creating a mozilla plug in.
...
Hi,
I have two xml files which have the same data but different names for the tags. One has named reference tags while the other has a short version.
As the data is exactly the same i want to be able to deserialise these files into objects, but I don't want to have to deal with two seperate objects.
To deserialise the files i have cr...
The xml file is having the following structure
<Root>
<Child value="A"/>
<Child value="B"/>
<Child value="C"/>
<Child value="D"/>
<Child value="E"/>
</Root>
and the dictonary
Dictionary<int, string> dict = new Dictionary<int, string>();
i need to read the attribute value of "value" from the file and add t...
I am trying to dynamically write some xml for a webservice. I have recently been shown how to use the FOR XML AUTO clause for my sql query, but I am not sure If one I am writing the query properly and on top of this I am not sure how to return the document values
using (SqlConnection oCn = new SqlConnection())
{
oCn.ConnectionStri...
I have the following xml:
<DOCUMENT>
<ARTICLE>
<META name="bbb" value="7086" score="0.58" key="6007"/>
<META name="ccc" value="7089" score="0.58" key="6008"/>
<META name="ddd" value="7087" score="0.58" key="6009"/>
</ARTICLE>
</DOCUMENT>
I need to use linq to xml and an xdocument to allow users in an asp.net page to edit ...
If I am testing several different defined parameters can I call multiple xsl:when statements within on xsl:choose statement? So if I have:
<parameters>
<param id="1">
<key>Load</key>
<value>XML</value>
</param>
<param id="2">
...
I am stumped. Given an xml doc like:
<Frag>
<DirRef Id="BeemzDir">
<Com Id="BEED24F05AB78FB588F61D4092654B6D" Guid="{A11AB356-2F45-4157-92EF-ED49F5BE0F70}">
<FileName Id="fil1" KeyPath="yes" Source="My.Exe" />
</Com>
<Com Id="FFF24F05AB78FB588F61D4092654CCC" Guid="{A11AB356...
Hi all,
I've encountered a strange issue with Groovy's (1.7.3) XmlUtil.serialize( GPathResult ) method. It throws a 'Content is not allowed in prolog' error when I call it with a GPathResult, but groovy.util.Node is serializing just fine. Here is the very simple Groovy Script I am trying:
import groovy.xml.XmlUtil
import groovy.xml....
With the exception of needing an XML file, is there a benefit to using XML over JSON? JSON seems like an easier way to handle a return but I have very little experience using one or the other
...
I have a document like this:
<?xml-stylesheet type="text/css" href="http://ltw1001.web.cs.unibo.it/svg.css" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg= "http://www.w3.org/2000/svg">
<body>
<sv...
Hi everybody,
I have this content from one input value:
var xml_url = $("input").val();
alert(xml_url);
Output:
<trans>
<result>
<item1>1</item1>
<item2>content</item2>
<item3>NA</item3>
<item4>0</item1>
</result>
</trans>
The structure is as a XML file. I want to get this data.
I have th...
So for creating structured XML where the structure is defined via a class structure of some sort. Is there a nice design pattern for wrapping the language so that only defined operations can happen?
Each item contains their own XElement)
MSBuildDoc (the doc generator)
MSBuildTarget(a target)
MSBuildMessageTask
MsBuildCallTask
MsBuildB...
I'm trying to integrate with the Articulate Online SOAP API (https://www.articulate-online.com/Services/Api/1.0/Documentation/TOC.aspx) on a PHP4 server using the NuSOAP (http://sourceforge.net/projects/nusoap/) client.
I've done NuSOAP integrations in the past without much effort, but this one seems to be more troublesome due to the co...
I have a web app that I am developing at work. I need to be able to take input data and append a text file after (x) number of lines.
My web app is using asp.net with c#
Can anyone help me please?
...
I want to set text of some node found by xpath()
<?php
$args = new SimpleXmlElement(
<<<XML
<a>
<b>
<c>text</c>
<c>stuff</c>
</b>
<d>
<c>code</c>
</d>
</a>
XML
);
// I want to set text of some node found by xpath
// Let's take (//c) for example
// convoluted and I can't be sure I'm setting right node
$firstC = r...
Let me preface by saying I have no Flash/AS knowledge really at all. My boss built a site in Flash and is asking if I can figure out how to load images into a gallery using XML and animating the images. I have no idea where to start, but since I'm our web developer, I'm trying to come up with something. Let me know if you have any gui...
My system produces a XML that contain a node that, depending on the type of event, came with different name.
The name can be <floatRate> or <fixedRate>. The path is always the same, only the node name that is different.
I need a transformation that can populate one field based on that name. The field will be called <type> and the conten...