1,599 Topics
| |
Hi, I'm having an issue with viewing an extracted document from FTP. When I try to view the document in IE I receive the following message: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, … | |
Hi Guys, Currently I have a form that load an XML file and populates Text Boxes with certian Values from that XML. I also have an 'Admin' form which accept new values. What I am wanting to do is the following: When the Admin screen is loaded from a button … | |
Hi Guys, I've been working on a little something where details get put into an XML File and then squirted into another form which has been working fine. I've now added another section to the XML file to hold the Company Name and it gets written to the XML without … | |
Hi guys, I'm struggling with a basic stuff - A call to a javascript function within a XSLT transformation. Could you please help to find out what I'm doing wrong. Here is the XML input text <?xml version="1.0" encoding="UTF-8"?> <message channel-id="987b3452-5e34-4401-8106-ef81939f93e2"> <task-started task-type="task"> <agent-parameter multi-valued="false"><name>EPNIPRangeEndINT</name><value>168428543</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNIPRangeStartINT</name><value>168428288</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNRecordIPName</name><value>epn-2</value></agent-parameter><agent-parameter multi-valued="false"><name>IPPoolName</name><value>AzdinePool-1</value></agent-parameter><agent-parameter multi-valued="false"><name>NetworkType</name><value>AzdinePool-1</value></agent-parameter></task-started> </message> … | |
Ok let say i have the following xml file <Users> <User> <Name>David</Name> <Attempts> <Place>Paris</Paris <Date>3/29/2012</Date> <Duration>50 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>7/28/2012</Date> <Duration>30 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>Paris</Paris <Date>8/19/2012</Date> <Duration>70 seconds</Duration> <Distance>60</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>9/29/2012</Date> <Duration>60 seconds</Duration> <Distance>200</Distance> </Attempts> </User> <User> <Name>Lenny</Name> <Attempts> <Place>Paris</Paris <Date>9/29/2012</Date> <Duration>51 seconds</Duration> … | |
MY requirement is here to print all values of <item name="BrowseVideoFile"> from below xml but if foreach loop runs and according to the position of for-each loop, then for that position video should not print and all others video should print. when for-each run then every video should print except … | |
I wasn't quite sure where to post this so I thought considering SSRS in VS 2005 produces XML scripts i thought this would be the best forum. I have a table grouping which produces a number of tables using the same section of xml code. Due to this the problem … | |
I have a component in which xsl is reading values from replicant of a xml. I am stuck as xsl don't provide for loop. Here I am checking the condition based on current position of replicant values. But the value of position is not changing as it doesnt iterate based … | |
Hi, I am trying to validate an XML file against a schema, which i can achieve without issue normally, however, in this particular schema, there is an imported namespace, that appears to be preventing the validation from happening, as the error being returned is pointing to node of the elements … | |
Hello, I'm trying to create exchange rates list with the data source of my National Bank, and my national Bank make it very complicated, data are stored with SOAP, and first of all I made rate.php that pull and show all data from web service od National Bank but like … | |
I want to merge 2 XMLs based on a particular condition. e.g: Sample1.xml: <rootNode> <header> <title agg="sum">1</title> <records agg="sum">10</records> <number agg="min">5</number> <header> </rootNode> Sample2.xml <rootNode> <header> <title agg="sum">2</title> <records agg="sum">20</records> <number agg="min">15</number> <header> </rootNode> I want that these two xml files should be merged based on the attribute specified within … | |
Hi there. I'm trying to integrate with a payment gateway API, and as I'm fairly new to PHP, I'm having some trouble to proceed. Basically, I have a form that goes to a specific URL (submitting URL). From the documentation: "Request information is submitted to payment platform with HttpsClient , … | |
The following suggestions will help the process of answering threads in the most efficient manner. 1. Do not hijack other member's threads, you will not get replies, instead start your own question. 2. What have you tried? We are not here to mock mistakes and showing effort made will make … | |
Hi, I have a problem on getting data from XML file. I am honestly have 0 knowledge on this. Here is the XML data content, i opened the XML file using notepad then pasted here. <?xml version="1.0" encoding="utf-8"?> <?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Test-Form:-myXSD-2012-09-02T13-13-23" solutionVersion="1.0.0.55" productVersion="14.0.0.0" PIVersion="1.0.0.0" href="http://share.test.com/it/Test%20Form/Forms/template.xsn"?> <?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.3"?> <my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls" … | |
Hi sorry to bother you. I have another problem with XSL file. I have to sort out the codes in numerical order the codes have four characters and four numerals for example, COMP2100 COMP2400 COMP3410 LAWS2202 LAWS2250 when I just do <xsl:sort select="code" order="ascending" /> it displays above result. However, … | |
I need help creating xml file with C# ok lets say I have the following users.xml file that contains the following <Users> </Users> After executing the C# code below public void addUser() { string filePaths = "users.xml"; XmlDocument xmlDoc = new XmlDocument(); string user = textBox2.Text; // USER INPUT if … | |
Hi, I would like to question about setting up the element types I am currently developing a catalogue of course desriptions so I have an element that is, <xs:element name="code" type="this is the problem" /> inside this is the problem, I am supposed to include type that allows me to … | |
Hi I have a question, I want to transfer all nodes to a datarow Here is my XML <Employee> <person> <firstName>Jon</firstName> <lastName>Johnson</lastName> <skills>Singing</skills> <skills>Dancing</skills> </person> </Employee> THE HEADER TABLE SHOULD LOOK LIKE THIS WITH RELATION Profile_ID | Firstname | Lastname| 10 | Jon | Johnson | AND THE DETAIL TABLE … | |
Hi , I have an xml which is in the following format. <root> <x> <y> <uri>ssomeuri</uri> <date>2012-07-11T10:29:08+00:00</uri> </y> </x> <x> <y> <uri>ssomeuri2</uri> <date>2012-07-11T11:01:08+00:00</uri> </y> </x> </root> I wanted to get uris in the order of date. I am very new to xpath, can any body help me on this. the … | |
Hello Guys, Just wanted to ask on how to get the author names in the given xml sample below and put an attribut of eq="yes". EQ means Equal Contributors. This is the XML. <ArticleFootnote Type="Misc"> <Para>John Doe and Jane Doe are equal contributors.</Para> </ArticleFootnote> This should be the output in … | |
Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] … | |
Hi Buddy, I have a requirement which is explained as below: 1. My input xml file is as shown: <input> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>14.74</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>10.28</observedRate> <observationWeight>2</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>27.96</observedRate> <observationWeight>3</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>4.94</observedRate> <observationWeight>4</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110225</observationDate> <observedRate>14.18</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> … | |
this is my code:: <!--school.xml--> <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="school.xsl"?> <UCSC> <student> <name>Isuru ilangakoon</name> <age>21</age> <contct_no>0714234672</contct_no> <degree>computer science</degree> <school>DVharmapala college</school> </student> <student> <name>randika malinga</name> <age>22</age> <contact_no>0713567134</contact_no> <degree>computer science</degree> <school>Nalanda college</school> </student> <student> <name>vinod kawinda</name> <age>22</age> <contct_no>0783451024</contct_no> <degree>computer science</degree> <school>maliyadewa college</school> </student> <student> <name>Inshaf mahatt</name> <age>21</age> <contct_no>0777234151</contct_no> <degree>ICT</degree> <school>D.S.Senanayaka college</school> … | |
I've just made a xml with xsd and it returns errors (after doing xmllint) but I don't know what I've done wrong please help <?xml version="1.0"?> <theatre xmlns="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre/theatre.xsd"> <movie> <title> Dark Knight </title> <genre> Thriller </genre> <director> Christopher Nolan </director> <rating> PG </rating> <time> 2 hours </time> </movie> … | |
I am trying to extract specific values of element from xml document and produce an output of XML data or a CSV document and arrange them is this order. Locator designator Locator name Locator Thoroughfare Addressarea. current order: <Locator>1</Locator> <LocatorDesignator>Dwelling (Part Of), Null</LocatorDesignator> <thoroughfare>Abesinia Passage</thoroughfare> <AddressArea>Abesinia Passage</AddressArea> <LocatorName>Dwelling (Part Of)</LocatorName> … | |
Dear all, I have a website in which I am using the following htaccess code to hide the file extension RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I then manually removed the .php extension from the entire website. Now when I am generating a site map … | |
Hi All, I am newbie to XML. I want to create only one XML file each day automatically using php function with the following format. I want to use the same function for appending the follwing portion into the existing XML file ## This portion need to append whenever the … | |
I want to write XMl using xml text writer ..but i dont want to final output to be the special symbols with amp; format ..how can i do it | |
I have created a userConfig file to add MSGOTHIC font to FOP. <fop version="1.0"> <renderers> <renderer mime="application/pdf"> <fonts> <!-- register a particular font --> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="normal"/> </font> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="bold"/> </font> </fonts> </renderer> </renderers> </fop> Now I have set … | |
I have a java application that reads csv file and displays the data on a text area. the idea is to transform this data(source data) into a target data, this involves rearranging it and transforming some elements in each field. now i intend to transform this displayed csv data into … |
The End.