Hi,
I'm trying to put together some validation code. I am trying to validate against a schema like:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:choice="http://example.com/SimpleChoice" targetNamespace="http://example.com/Simpl...
Hi experts,
Here is my security-context.xml file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sec="http://www.springframework.org/schema/security"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:sch...
OK, a challenge to the deep thinkers out there:
My soap server sends me XML that looks sort of like this:
<?xml version='1.0' encoding='utf-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header xmlns:xxxxxx="...">
<...bunch of soap header stuff.../>
</SOAP-ENV:Header>
<SOAP-EN...
Hi there,
I want to add an image to my PDF output. The problem ist, that
<fo:external-graphic src="url('URL here')"/>
will accept nothing but an URL. The link to the image I want to add however is derived from another value inside the XML document being transformed.
Is there any way to generate image URL dynamiclly?
Thanks in adva...
I'm trying to output an XLS file in the XML format.
This is what the data should look like for Excel 2003 to render (can be saved as an xls file):
<? xml version='1.0' ?>
<? mso-application progid='Excel.Sheet' ?>
<Workbook xmlns='urn:schemas-microsoft-com:office:spreadsheet' xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:x='u...
I am using Builder to construct XML messages being sent to a WebService. Each of the different methods require different xml but they all have a set of common elements to start of the request (mostly account authentication stuff). Is there any way to do it in a DRY way? Here is my code for constructing a change pass phrase request:
#...
Hi All,
I have a problem with my tab style.
I would like my tab style will look like this.
http://www.technobuzz.net/wp-content/uploads/2010/02/seesmic-android-260-208.png
Something goes wrong in my xml ...
The style shows only the colors When selected from the comment.
When I use a white icon is the text (text setindicator) white....
I'm using the following xml schema entry to deserliaze some xml into an xsd generated block.
<xs:element name="Action">
<xs:complexType>
<xs:attribute name="src" type="xs:string" use="required" />
<xs:attribute name="dst" type="xs:string" use="required" />
<xs:attribute name="create" type="xs:string" use="optional" />
<x...
Dim myString As String 'This string is XML with special characters like 'Ö'
Dim memstream As New IO.MemoryStream(System.Text.UTF8Encoding.Default.GetBytes(myString))
Dim serializer As New XmlSerializer(GetType(ABCD))
Dim abc As ABCD = CType(serializer.Deserialize(memstream), ABCD)
This is throwing an exception 'bad xml' due to specia...
I have to parse some complex xml files inside my Android application. Is there any good library for doing that like there is TouchXMl for iPhone?
S
...
HI,
I've used XmlParser to can change the attributes of some nodes in my xml file.
Some code:
def temp = groovyUtils.getXmlHolder( "testAddress CUY#ResponseAsXML")
def aux = temp.getXml();
def lang = new XmlParser().parseText(aux)
lang.prov[0].description[0].setValue('newDesciption')
After doing that I have something like
" root[at...
Despite the fact that XML attributs can be defined using single or double quotes, my user is trying to integrate my software with another one that will not accept single quoted attribut values.
I user REXML to generate my XMLs.
Is there a way to REXML generate double quoted attribute values?
If not, is there a way for me to convert it ...
Hi,
I am really hoping somebody can help me with this.
Basically, I am trying to parse certain XML attributes in an XML tree based on other attributes in that branch.
As an example of the type of XML I am working with: -
<root>
<employees>
<team id="1643">
<member id ="153461" jobtype="permament" division="cleaning" rollnumber=...
So I have a class with some objects as parameters, for example:
public class Person {
private String firstname;
private String lastname;
private School school;
public Person(){
super();
}
}
public class School{
private String name;
private String location;
private Date founded;
public School(){
super();
}
public Schoo...
Is there anything I can use to have PHP execute in a self contained environment without having to install server software?
haven't learned other languages :-(
I wanted to write a simple php/XML webapp that can be used on a desktop machine with no admin rights. It's for daily data entry stuff myself and others have to do when certain ta...
I need to apply different filters on XML based on different links that are clicked. I'm having trouble filtering results that need to have more than one filter.
One is to check if an attribute exists then I also need another filter that will get the nodes that have that attribute as well as another that contains a specific category.
He...
I have spent the last few days trying to parse a soap response but I can't get it to work. I would like to be able to get all the "oproduct" objects.
EDIT: I am doing it this way instead of using the built in soap client because I need to do parallel requests using multi_curl.
Here is my code:
$xml = simplexml_load_string($response);
...
Hi,
I wanna write a simple RSS Feed reader in C++.
I understand that the basic requirement is to understand XML parsing ( at the low level), opening, reading/writing, closing sockets and stuff like that. I don't need help in coding for sure. But It would be great if someone can help in getting started with RSS Protocol. E.g.. How exactl...
Hi
I have a Flex XML object as follows:
private var _xmlCountries:XML =
<Countries>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
........
<Countries>;
This object is ok, and shows up...
What yaml2xml and xml2yaml is available?
I googled this, but it's not working correctly.
...