Hi all,
I have a WSDL script which has the following format
<definitions name="ProcessData" targetNamespace="urn:ProcessData">
<message name="CreateAccount">
<part name="firstName" type="xsd:string"/>
<part name="lastName" type="xsd:string"/>
<part name="password" type="xsd:string"/>
<part name="emailAddress" type="xsd:string"/>
<part...
I have a basic XML file that I load in my PHP using
$xml = simplexml_load_file("file.xml");
I want to be able to access my data using syntax something similar to:
$xml[0]['from'];
$xml['note']['from'];
$xml['from']['email'];
I know I can access the data using this:
foreach($xml->children() as $child) {
echo $child->getName(...
I have already written an XSLT code to extract the numerical characters from the string ..
This is the test xml:
(looks Bit weird but I am expecting much from XSLT)
<xml>
<tag>10a08bOE9W234 W30D:S</tag>
<tag>10.233.23</tag>
</xml>
This is the XSLT code I am trying with:
<xsl:template match="tag">
<tag>
<xsl:value-of select="...
For bean->xml convertion in webservices we use Aegis from CXF (it is jaxb-compatible, as I understand).
This is my type:
class C{
private int a;
private int b;
private T t;
...
}
class T{
private int t1;
private int t2;
}
I need t.t1 field to be on the same level in XML as a and b in C (bean restored from xml should be like this:
...
Hey im running into some trouble with as3, Im still learning the ropes but I need to get this done with so lets see what can be made about that.
What Im trying to accomplish is to parse a xml file and with the info from it put an image on teh stage that can be clicked to reveal a text under it.
Im using flash builder and this is what ...
I need to serve XHTML pages that include Javascript. My problem is that Firefox (3.5.7) seems to ignore the Javascript. For example:
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My Title</title>
</head>
<body>
<script type="text/javascript">
document.write("Hello world!");
</...
I have xsl file while processing xml file some time i do need several xml file to be include, for that i use document() method, my problem is that all time all xml file which i include are not available online hence my transformation is stop due to file not found!!! does any body help me the best practice for this scenario.
Thanks in ad...
Hello.
This might be a newbie question :) but it's irritating me since I'm new to XML. I have the following xml file:
<assetsMain>
<assetParent type='character' shortName='char'>
<asset>
pub
</asset>
<asset>
car
</asset>
</assetParent>
<assetParent type='par' shortName='pr'>
<asset>
camera
...
This is hopefully just a simple question involving performance optimizations when it comes to queries in Sql 2008.
I've worked for companies that use Stored Procs a lot for their ETL processes as well as some of their websites. I've seen the scenario where they need to retrieve specific records based on a finite set of key values. I'v...
How can I serialize XML(meaning convert < to < and > to > etc...) using AS3. is there any build-in functionality or I have to use some regular expression to make global changes?
Any Suggestions?
...
How does one select the first sibling of a xml node with all its child nodes and apply some transformations on it? So far I only succeeded in selected either the first sibling and only the first sibling (no child nodes that is) or everything following the xml node.
Say we have xhtml like this:
<div class="chapter">Chapter <span class="...
I have an XML like this
<?xml version="1.0" encoding="utf-8"?>
<foo>
<bar>
<value>A</value>
</bar>
<bar>
<value>B</value>
</bar>
<baz>
<value>C</value>
</baz><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-2001...
Hi!
I'm trying to set a combobox's dataprovider.
I have 2 comboboxes: cb_div and cb_stores.
For cb_div, I get to set the data provider correctly with an XML file.
Cb_stores' dataprovider is to be set depending on the selected item of cb_div.
First, here are my XML files.
Data provider for cb_div:
<?xml version="1.0" encoding="UTF-8"?>...
Imagine a project with a C# component and a C++ component. The C++ component is the old-school non .Net stuff (VC++ 6.0). What is an easy way to transfer objects between the two components? I'm tempted to use System.Xml.XmlSerializer, but I'm not sure how to start getting at the .Net libraries with this old VC++ app.
Maybe there's an...
I'm trying to create an XML file using C# and Linq to XML, but am having problems with the nant namespace.
var myXElement = new XElement("project", new XAttribute("name", "MySystemName"), new XAttribute("default", "myNAntTargetName"), new XAttribute("xmlns", "http://nant.sf.net/schemas/nant.xsd"));
myXElement.Save("c:\foo.xml");
Beca...
I need to be able to dump my user table inside Drupal to an XML document that I can hit from a path in a browser.
e.g. mysite.com/users.php
Looking for an easy way to do this, an existing module would be ideal. Not sure if QueryPath does this.
Thanks.
...
I index.html page that post data to page1.asp
page1.asp transform the data and Post it to Page2.asp with this function "PostTo"
Page2.asp is suppose to:
-write the data to data.txt with "WriteToFile"
Problem: WriteToFile function does not write any thing in the file when call from page2
But work when call from page1
Any suggestion?
Fu...
SQL Server XML Schema Collection is an interesting concept and I find it very useful when designing dynamic data content. However as I work my way through implementing Schema Collections, I find it very difficult to maintain them.
Schema Collection DDL allows only CREATE and ALTER/ADD nodes to existing schemes.
CREATE XML SCHEMA COLLE...
I need to create a .Net web service (WCF is out of the question) that should receive xml and return xml. I initially setup the function like so:
[WebMethod]
public string myFunc(string xmlRequest)
{
How can I change the HTTP POST content-type to text/xml? Also, I'm returning the xml response as a string, but in the web service help pa...
I'm following this tutorial for creating automated sitemaps in CakePHP. Everything is easy, but I'm not able to output XML. The controller looks like
function sitemap ()
{
Configure::write ('debug', 0);
$cats = $this->Category->find('all', array('fields' => array('nicename', 'modified')), null, -1);
$posts = $this->Post->fin...