6,049 Topics
![]() | |
Hello I have an XML file that uses <Document Element> I was wondering if it is possible to sort my XML file by sortOrder? Here is an example of my code: [code] <?xml version="1.0" standalone="yes"?> <DocumentElement> <Item DataField="A03" Header="RDAW TEST" UseDefaults="Yes" SortOrder="1"/> <Item DataField="A01" Header="Eg: Assignment 1" UseDefaults="Yes" SortOrder="2" /> … | |
hi, i have a xml file and i would like to read and write data in XML file. thanks regards umesh chand daiya | |
I am trying to use <xsl:if test= "node/text() = '.' to copy a node from a destination xml document to the source xml document, but only if there is a match between the text() nodes being checked from each document. My if test= "node/text() statement is always returning a match … | |
Hi guys, I've recently developed a gridview with edit,delete and update panel..... All is working fine except the Update button.....the error shown is...... [CODE] [B]Object reference not set to an instance of an object.[/B] Source Error: Line 48: GridView1.EditIndex = -1; Line 49: conn.Open(); Line 50: SqlCommand cmd = new … | |
I have some code which exports the contents of a gridview to XML. The XML is coming out with incorrect field tags: <tr> <td>Builder Damage Inspection</td> <td>request for final BDI inspection. No damage report on pre damage inspection.</td> <td>2008-07-09 3:13:59 PM</td> <td>2008-08-13 9:13:48 AM</td> <td>512135</td> <td>5450865</td> <td>CLOSED</td> </tr> Here is … | |
Hi everyone, May I ask how to solve Index out of bound exceptions in xslt ? thank you :) | |
Hi All, As shown below, I have already managed to disable all menu items from the QAT. However I would also like the menu option to be completely removed! [code] <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <commands> <command idMso="ApplicationOptionsDialog" enabled="false"/> <command idMso="FileExit" enabled="false"/> <command idMso="Help" enabled = "false"/> </commands> <ribbon startFromScratch="true"> <officeMenu> <button idMso="FileCompactAndRepairDatabase" … | |
Since it's been about three years since I had to write any XSLT, I'd like some assistance with the code below. [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="text"/> <xsl:template match="/"> <xsl:for-each select="/WatchConfig/ProcessList/Process/Node"> <xsl:if test="Plugin = 'PWScript'"> <xsl:text> </xsl:text> <xsl:value-of select="Config" disable-output-escaping="yes" /> <xsl:text> ************************************************************************ </xsl:text> </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet>[/CODE] … | |
Hi All, I am new to XML,XSLT. I have been assigned to task of Generating HTML pages based on the XML file & the condition is No Hardcoding of Nodes and other details. My XML file is of the below struct: Node inside Nodes , and those nodes would contain … | |
Hi. In short I have an excel sheet with data in format similar to below: Column1 Column2 Column3 Column4 Column5 Column6 Column7 Column8 ABC ASDF $255 5500 220 1499 $222 1200 what is needed for the final output file is something with hierarchy such as this: <top> <secondLevel> <Column1>ABC <Column2>ASDF … | |
How do you have spaces in xml, it seems to stick spaces at the start and end but if you type and have spaces for words and or sentences it picks it up. [CODE] <record> <title xml:space="default"> My Terrible Friend </title> <author>The Pains of Being Pure At Heart</author> <mp3>sounds/ThePainsOfBeingPureAtHeart-MyTerribleFriend.mp3</mp3> </record> … | |
I was wondering if anyone knew of a more efficient way to run this? I feel that there has to be a more efficient way. Thanks [CODE] Dim doc As New XmlDocument Dim nodes As XmlNodeList Dim nodes1 As XmlNodeList Dim nodes2 As XmlNodeList Dim nodes3 As XmlNodeList Dim nodes4 … | |
hi, i looking for a xml class that can handle for cdata and special caracters like ã á ç any one know something like that? thanks a lot for your help :) | |
I am using smack api to connect to gtalk, I need to retrieve raw xml stanzas that are displayed in debug window of smack. Is there any way to do so? | |
I'm trying to find out the best methods for Deserializing XML. The main problem I've come across is if I have the following example. [CODE] DateTime _SomeTime; [XmlElement("some-time")] public DateTime CancelledAt { get { return _SomeTime; } set { _SomeTime = value; } }[/CODE] Usually this is fine and serializes … | |
Hey guys, I have a problem extracting some data out of this XML file: [CODE]<?xml version="1.0" encoding="UTF-8"?> <ph:Graphs xmlns:ph="http://www.merge.something.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ph:Graph name="mass_spring_mo"> <ph:Element id="0" type="Fixed"> <ph:Port id="1" type="port"> <ph:Attribute> <ph:AttributeField name="type" value="string"/> <ph:AttributeField name="name" value="type"/> <ph:AttributeField name="value" value="flange"/> </ph:Attribute> </ph:Port> </ph:Element> <ph:Element id="2" type="Spring"> <ph:Attribute> <ph:AttributeField name="type" value="int"/> <ph:AttributeField name="name" … | |
I've looked on the net to no avail. I was wondering if there is a program or method out there that allows a person to update or upgrade directly to a dongle plugged into a computer from a specific website? | |
When I try creating a Web App based client for my web service already deployed in JBoss, I get the following error- "taskdef class com.sun.tools.ws.ant.WsImport cannot be found" I've not clue what's going on here... Any help will be appreciated. | |
I'm trying to figure out how to update the <to>,<from>,<heading>,and <body> through textboxes. Any ideas? [CODE] <?xml version="1.0" ?> - <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>[/CODE] | |
I am struggling with how to parse the following XML document. I need to "walk" through the nodes via the Rank attribute (asc) with 2 rules: 1. Keep a running copy of what the Channel is so I can compare it to the next node in the list 2. In … | |
Hello I was just looking at [url]www.teamlab.com[/url] and they seem to offer the ability to use Open Office in a browser. So I am wondering how is this done? I tried looking through the Open office website but saw no reference to installing Open Office on a LAP server so … | |
Hi, How can i convert this xml file into target xml using xslt. I tried everything, but i am not able to put the subquestions inside the corresponding questions. Please help even the logic. INPUT XML: [CODE]<?xml version="1.0" encoding="UTF-8"?> <tables> <table> <tr> <tc> <data> This is the title of the … | |
Something similar to it is cross-posted here : [url]http://stackoverflow.com/questions/6275685/problem-getting-shared-status-of-gtalk-using-xml[/url] I am not getting replies there so posting it here again. I'm using smack 3.2 I have two queries: 1) How can we get the nick name or the name actual name of the user not the JID that is logging … | |
IM NEW AT THIS AND I'M WORKING ON MY FIRST WEBSITE. I USED iWED AND I DON'T UNDERSTAND WHY IT WON'T WORK. WHENEVER I TRY TO OPEN IT IT SAYS: Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_html/beto/index.html on line 1 [code=html]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
Hi, Absolute newbie to cryptography. I'm looking for C++ open source code (to be compiled on Windows, Mac, linux), for doing the following: 1. Generate private+public keys (need not run on all platforms). 2. (server side) Adding a digital signature to an XML document using a private key. 3. (client … | |
hello... i have multiple records in databse. i want to create .xml file automatically. if there is any data in xml file, automatically rewrite that file. how to do this. sugguest me please thanks. | |
I have a textbox in a form and when I save the textbox content goes to an xml file called settings.xml.I was able to achieve that.When I open the form again ,the textbox should be loaded with the content from the xml file again.How do I achieve that | |
Hi ALL, I HAVE AN XSD FILE WITH NEEDS TO BE CONVERTED TO HTML FORM. WHAT ARE THE STEPS TO BE FOLLOWED ? PLEASE EXPLAIN... MAY BE XSD TO XML ? IF SO ? HOW ? | |
I'm having a XSLT problem. I am reading from one xml sheet and creating another using XSLT. The final transformed XML has an element <Recreations> that contains <Recreation> elements. I am using <xsl:for-each> to create the <Recreation> elements. So my xslt looks something like this: <Recreations> <xsl:for-each select="MyItems"> <xsl:if select="cust:isThisARecreation(@Description)> … | |
I have spent quite a long time attempting to determine how to display various "elements" and "attributes" in HTML, but I have been having some issues. From what I have gathered I need to create an XSLT file that I can then reference in HTML, correct? When I try to … | |
Hi, I am using the twitter api to retrieve some data. I'd like store my followers latest status tweet containing that hashtag #RT and the mention of my name. The staus ID can be retrieved via $xml->status->id. In the code below I'd like to php to search for certain words … | |
Im new to php and have been struggling with this for some time, but I expect its something simple. Basically I have some code below which I want to use to display an events board. -Info for each event comes from a separate xml file for each event. -XML files … | |
Hello Experts, you have been of great help to me when it comes to XSLT. Here is another problem I have while I try to extract the data from RDF/XML files. I don't know how to do that as there are terms like dcterms defined in the XML file. They … | |
I have the following xml source file : [code=xml]<root> <child1></child1> <child2></child2> </root>[/code] I would like to convert it to [code=xml]<MYOWNTAG1> <CURRENTDATE>CurrentDate</CURRENTDATE> <CURRENTTIME>CurrentTime</CURRENTTIME> </MYOWNTAG1> <MYOWNTAG2> <XML> <root> <child1></child1> <child2></child2> </root> <XML> </MYOWNTAG2>[/code] Any help would is appreciated. | |
I want to create a banner that contains a live updating rss/xml feed. Output should result in a single image that updates. Ill be using this to draw customers to my site since the image will be hosted on other sponsor sites. Image format must be either jpg gif or … | |
Any look up function can we use, to make this simple, so that we can write in 5 or 6 lines. We have similar lines repeating for around 300 lines. All we need is to map 'currcode' with the corresponding alphabets. <xsl:if test="$currCode='784'"> <xsl:value-of select="'AED'" /> </xsl:if> <xsl:if test="$currCode='971'"> <xsl:value-of … | |
Ello, Does anyone know of some 3rd party libraries that can simplify working with XML through Java, because as we all know the normal SDK's libraries are terrible.. Thanks in advance! | |
Hey all I have an issue with building a list of images. Below is the structure i would like to build. basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will … | |
I have created a facebook application which loads my website URL on canvas as below [url]http://apps.facebook.com/aslam_facebook/[/url] This link loads my website URL even I have not logged in to my facebook account. Means it has public access. Next I added this facebook application to my facebook fan page as a … | |
Hi All, I have an xml [CODE] <?xml version="1.0" encoding="UTF-8"?> <columns> <column> <name></name> <displayname></displayname> <attributes> <attribute> <name>width</name> <value>100</value> </attribute> <attribute> <name>text-align</name> <value>left</value> </attribute> </attributes> </column> <column> <name>VersionCode</name> <displayname>Version Code</displayname> <attributes> <attribute> <name>width</name> <value>200</value> </attribute> <attribute> <name>text-align</name> <value>right</value> </attribute> </attributes> </column> <column> <name>MaterialType</name> <displayname>Material Type</displayname> <attributes> <attribute> <name>width</name> <value>100</value> </attribute> <attribute> … | |
Hi All, I have one scenario, In xslt i have used a input tag of type="button" with id="button1", Now in xslt if a condtion is met, suppose <xsl:if test="price > 10"> i need to disable the button1 Can any one please suggest me how to achieve this using xslt. Thanks … | |
I'm trying to convert an XML file into SQL queries. There's a lot of foreign characters, quotes,etc. that are stored as special characters, like & Here's an example of what I'm doing. [CODE]<xsl:for-each select="main/test/picture"> <p> INSERT INTO example( id, name, <xsl:if test="@height">height,</xsl:if> <xsl:if test="@width">width,</xsl:if> <xsl:if test="description">description,</xsl:if> uri ) VALUES( '<xsl:value-of … | |
hi all, i have been working for two months on a project and i have come up with an algorithm that is a mix of R. Mitkov's algorithm on anaphora resolution (robust, knowledge-poor algorithm) and several filters that are applied first to the xml file (a POS tagged text) to … | |
Hi, I am new to Java, JSP and would like to start web development in JSP and want to know about a tutorial or some steps on what do I need to start web application development in JSP/Servelts/Java. Would really appreciate some help. thanks, J | |
Hello experts, I am new to XSL and would like to transform a NewML G2 format XML into another XML. For example I have: [CODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- SUMMARY: - Structure: NML2 SNI Text - Based On: NAR v1.2_1, NML2 v2.1_1 AUTHOR: --><!-- ========================================================= --> <newsMessage xmlns="http://iptc.org/std/nar/2006-10-01/" xmlns:rtr="http://www.reuters.com/ns/2003/08/content" xmlns:x="http://www.w3.org/1999/xhtml" … | |
Hi ALL, As i am new to XSLT i am not able to implement the logic, Please share your views if any know's how do this. i have an xml [CODE]<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="Temp.xsl"?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" … | |
I have the following XML... <TechnicalMeterDetails> <RemovedMeterRegisters MeterCategoryCode="RM067"> </RemovedMeterRegisters> <RemovedMeterRegisters MeterCategoryCode="RM066"> </RemovedMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM068"> </NewMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM067"> </NewMeterRegisters> </TechnicalMeterDetails> I want to check that the MeterCategoryCode value in the RemovedMeterRegisters segments is the same value in the NewMeterRegisters segments. In the above example the answer would be false. If RM068 … | |
I have the following code witch is used to display HTML from an XML file. The XML file itself comes from a form POST where a "\" is added in after various HTML tags. Is there anyway I can modify the script below to hide/remove the "\" when the XML … | |
I have a big problem and i'm not even sure if solution exists for my problem... So the problem is: I have a xsd file, and I need to create xslt which will create html table with 2 columns: the first column is <xs:documentation> for all elements names (4 example … |
The End.