I am trying to use an exslt extension in one of my transformations. I got an example off this site about how to concatenate xml files into one.
I have implemented the namespace and the element prefix correctly, but every time I try and run it from my command line I recieve the following error...
Cannot find a matching 1-argument functi...
I am very confused on this topic. I have a webservice on another machine. All I need to do is post the xml to the url and return the results to the view. I have not found any working examples of this. Also there seems to be different ways of doing it.
What is the best way to post xml data to a url and display the results in a view?
Tha...
Is there an easy way to create a folder structure output from an XML input. Below is a sample of the XML input I am trying to parse:
<file name="tmpFile1" path="{{Base}}\folder1\V1\Samples\DotNet\C#\VS2005\tmpFolder1" />
<file name="tmpFile2" path="{{Base}}\folder1\V2\Samples\DotNet\C#\VS2005\tmpFolder2" />
Hoping I can get an out...
It's coming from this line of code:
var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == nNode.parent().@question_questionID)[0];
nNode is an XML node sent as an argument to the function this is called in. The code runs, and does everything expected but the compiler sends out that warning. D...
I have built my app, it basically parses some XML data from a web site. When I run it for the first time it gets the data, then the XML gets changed and I run the app again but it does not override the current data. How can I override them?
Thanks
...
Hi,
I'm trying to get Flex and OpenX to work together.
OpenX is returning XML. I've got two Flex classes that clean-up the XML and place the ads on my site (thank you Daryl Bowden). Unfortunately, I get Error #1090: XML parser failure, when I test it. And I can't figure out why.
The first class is:
package com.darylbowden.ads
{
imp...
Been programming front-end languages for a long time and I rarely encounter XSLT on a project. Well, here it is... We currently have some functions in our XSLT file that are comparing nodes and emitting XML that contains something like previousValue="Old value". This feature helps our users understand what changed when viewing the for...
How can I import xml file to existing excel template. I have a map (xsd).
It has to be done on server. I used excelPackage , but couldnt find any documentation for the classes.
More specific question: how do I write in C# the following code from VB.NET
Dim xmlSchema As String = "c:\Schema1.xsd"
Map = XL.ActiveWorkbook.XmlMaps.Add(xm...
I am trying to debug what appears to be an XML parsing issue in my code. I have isolated it down to the following code snippet:
HRESULT
CXmlDocument::Load(IStream* Stream)
{
CComVariant xmlSource(static_cast<IUnknown*>(Stream));
VARIANT_BOOL isSuccessful;
* HRESULT hr = m_pXmlDoc->load(xmlSource, &isSuccessful);
return (h...
IntelliJ not find xml file under sources folder.
example) src/net/saltfactory/domain/PersonSqlMap.xml
but, If I copy it and past out folder, IntelliJ find xml file
example) out/net/saltfactory/domain/PersonSqlMap.xml
I hope that don't copy and past XML files to out folder
help me
...
Guys...I really need your help..
I have this vb code where i will send a value typed in a textbox to MSMQ...
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim mq As MessageQueue
'Dim format As XmlMessageFormatter
Dim msg As Message
'Dim dec As XmlDeclaration
...
Hi Guys,
I have an excel string (which I built) in memory; the code looks something like this:
public static void exportToExcel()
{
const string startExcelXML = "<xml version>\r\n<Workbook " +
"xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\"\r\n"
+
" xmlns:o=\"urn:schemas-m...
I'm saving 2-dimensional coordinates on an XML file with a structure similar to:
<?xml version="1.0" encoding="utf-8" ?>
<grid>
<coordinate time="78">
<initial>540:672</initial>
<final>540:672</final>
</coordinate>
</grid>
I can open the XML file and read it via the XmlTextReader, but how do I loop through the coordinates specifica...
Can some please explain to me what do
@XmlElementRefs
and
@XmlElementRef
annotations mean in Java and what is their use..
EDIT:
@skaffman
okay, suppose I have one such collection
@XmlElementRefs({
@XmlElementRef(name="ElementA", type=ClassA),
@XmlElementRef(name="ElementB", type=ClassB) }
)
List<Object> items;
N...
Hello, I need to add the following code to the beginning of an XML file, while creating it:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="colors.xslt"?>
I'm sure there is a method for this, but I haven't found it yet. I'm using C#.
Thank you
...
I whant to loop through a XML file thats look like this:
<node>
<cd name="td1">
<data value="cd1-0" />
<cd name="td2">
<data value="cd1-1" />
</cd>
<cd name="td3">
<data value="cd1-2" />
</cd>
</cd>
<cd name="td4">
<data value="cd2-0" />
</cd>
</node>
This is the result that i what is this.
...
Once I add the crimson.jar file to the WEB-INF/lib folder my GWT compilation doesn't work anymore.
See the output of my ANT GWT compilation target.
gwtc:
[echo] You can use -style OBF | PRETTY | DETAILED to generate default | debuggable | verbose GWT javascript
[java] [ERROR] Failure while parsing XML
[java] org.xml.sax.SAXNotRecogn...
Hello,
I am trying to pass the XML code below, in the first instance using the php function simplexml_load_file. Currently the php code is incredibly simple as follows:
if (file_exists('test.xml')) {
$xml = simplexml_load_file('test.xml');
print_r($xml);
} else {
exit('Failed to open test.xml.');
}
However on running th...
I have the following XML code:
<root>
<options>
<companies>
<company url="http://www.brown.com">Brown LLC</company>
<company url="http://www.yellow.com">Yellow LLC</company>
<company url="http://www.black.com">Black LLC</company>
<company url="http://www.bourdeaux.com"...
My XML output looks like this...
How do I display it in PHP?
<row>
<field name="seat_no">18</field>
<field name="my_ticket_no">924403</field>
<field name="pass_nm">abcd</field>
<field name="pass_age">46</field>
<field name="pass_sex">F</field>
</row>
<row>
<field name="seat_no">19<...