3,634 Topics
| |
Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do … | |
I am using XSL to transform the XML.I am generating a Excel sheet using XML/XSLT. I want to password protect the sheet. If a user try to modify any cell then it ask for password? <?xml version ="1.0" encoding ="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" … | |
I have been sent an xsd file to use as a model for generating an XML file. I have used the XSD.exe utility to create a typed class. I have populated this class with the data required but now I am looking for a way to turn this data into … | |
Hey guys, I'm sure this has been done before, but I haven't found the snippet yet. I think I have to use preg_match_all. Here's my very simple stopping point: [CODE]$content = $obj->introtext; $xml .= "<ImageUrl><![CDATA[$content]]></ImageUrl>";[/CODE] Here are two examples of the introtext table data: [QUOTE]<p><span style="font-size: 10pt;"><img src="images/stories/D-West.jpg" alt="D-West" style="margin: … | |
hello guys! i'm quite new here and i'm probably posting this on the wrong place, but hey, here goes nothing! :P so, i have this lovely XML (not!) that was obtained through a yahoo pipe, and had a JSON decode, in order to transform it in a XML that could … | |
Dear All, I'm a newbie to both XML and XLST. I have an XML document that has the following code [CODE] <?xml version="1.0" encoding="WINDOWS-1256"?> <?xml-stylesheet type="text/xsl" href="NameEntity.xsl"?> <DOC> We are going to <ENAMEX Type="LOC">washington</ENAMEX> , after that we will go to <ENAMEX Type="MISC">Newyork</ENAMEX> city, then we will go to <ENAMEX … | |
I am developing a website in ASP.net 3.5 where there is a very big database. I have to show data on one single page dynamically changing from the database and that database will contain data of about 4000 pages having text and images. With formatting tags and lot of tags, … | |
Hi everyone! I need some help please, i've been trawling the net for hours now and can't find what i'm after. Does anyone know how to either return an xml structure or create an xml doc from a cfdirectory query so i can use it in a Flex tree? Any … | |
Hey all, I have manage to create a program which sniff and response to the snmp command returning the default value to it various parameter. However when the user will to set a new value to the parameter, instead of displaying the new value the program response with the default … | |
Hello guys! I am very new to XSLT and am getting stuck in a very annoying problem. I have got a XSL file within with there is a part of code to book a place. Here is the code; [CODE]<xsl:when test="seats > 0"> <td> <input onclick="sendBookRequest();" type="button" value="book"> <xsl:attribute name="onclick">sendBookRequest(<xsl:value-of … | |
I have an xml document that looks like this: [code] <OUTPUT version="2.0"> <RESPONSE> <LOAN_DATA loan_id="xxxx" loan_number="1111" loan_type="HE" status_code="OK"> <![CDATA[<MORTGAGE_LOAN xmlns="http://www.something.com/CLF" version="1.0"> <APPLICANTS> <APPLICANT is_declined="N" first_name="MARISOL" last_name="TESTCASE" m_initial="L" middle_name="L" ssn="000000001" > </APPLICANT> </APPLICANTS> </MORTGAGE_LOAN>]]> </LOAN_DATA> </RESPONSE> </OUTPUT> [/code] I can successfully read down to the CData section and can even access … | |
Hi, I have added web reference using Visual Studio tool i-e Website > add web reference but it add only .disco and .wsdl file. My question is, are these the only 2 files to add? i mean i was expecting .asmx file so that i can see its methods properly. … | |
I am working on a project that opens xml files into a TreeView window. I am able to import xml files into my window by using the following code... Private Sub Form_Load() Dim sFile As String sFile = App.Path If Right(sFile, 1) <> "\" Then sFile = sFile & "\" … | |
I was wondering if it were possible to extract the hashes from the XML:: Simple output without knowing the elements' name beforehand? I've searched the web and only found tutorials how to get elements from a certain file with certain tags. [CODE]use XML::Simple; use XML::Parser; use Data::Dumper; my $file1 = … | |
Hi all, Working on the w3schools example for the autocomplete but the 'suggestions' that display are links to other pages. All i want is for the user to be able to select one and that value to generate in the box for submitting a database query. So just need to … | |
Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the … | |
I've got an XML file loading into a treeview, however, i want to be able to load content from the XML file into 3 RTB's when i click on that node. XML File example: <node> <RTB1>text</RTB1> <RTB2>text</RTB2> <RTB3>text</RTB3> </node> i've had no luck finding an example | |
Dear Friends, im receiving a XML file which contain a HTML code in the value of a node.. i have fetched the html code, but now i have to show that on my ASP .NET page. please tell me how can i do that... is it possible to assign that … | |
<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <cd country="USA"> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <price>10.90</price> </cd> <cd country="UK"> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <price>9.90</price> </cd> <cd country="USA"> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <price>12.90</price> </cd> </catalog> Hi, I'm sure it's very simple, but I'm new at ASP and XML. I just want to know how I … | |
Hi All, I have sent a GET request to a third party and it has responded with XML. I would like to know how to extract the information from that response and convert it into a standard php variable. [code] <GetGuidResult> <ErrorNumber>0</ErrorNumber> <ErrorMessage/> <Guid>40d505ba438049a68eafc9a95e7fefcf</Guid> </GetGuidResult> [/code] | |
Hi, I see the following error when i open my file with IE. <PARAM-CONF-CONTAINER-DEF UUID="ECUC:8e498821-8d5c-4512-88fc-8d4d90dca1ab"> <SHORT-NAME>DioChannelGroup The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- A semi colon character was … | |
Can anyone tell me about online tools for junk error finder for xml/html? | |
Hello, I need some help here, please. I want to implement a custom XSLT function to filter a list of people. It is supposed to make a simple comparison and output the ones matching the filter but it is not working properly. Thanks in advance! Here are my files: ---------- … | |
Alright, I've built this incredible carousel for a portfolio page in a flash website, using an external .XML file for the images;however, after countless hours scouring the web, I can't seem to find the code I need to put in the .XML file, so that clicking on the various pictures … | |
I've been working on something with alot of iteration (foreach) and now that everything is working I'd like to optimize it by changing it to link. Currently I am trying to translate this foreach code to LINQ [CODE] int count = 0; foreach( string file in Directory.GetFiles( path )) { … | |
hi friendz, i want to create a webform that should attach with my website and the form details should be received in my gmail account how can i do these pls anyone help me,i'm not using any webserver i'm hosting my website in the free webhosting service provider. | |
Hi all, I'm currently developing a java program that executes XPath 2.0 statements using the library Saxon. I have i problem doing some operations with dates. I'm using this XML for testing purposes. As you can see the dates are in format 'YYYYMMDD', i need to retrieve the latest one … | |
Hello, relatively new to flash and xml. Dealing with a ready template and I need to reposition menu bar from present position -bottom- to top horizontal. 'as3' files are included, as don't have any knowledge would need your help on how to solve this issue. Thank you in advance for … | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="process-definition"> <xsl:element name="decomposition"> <xsl:attribute name="id"> <xsl:value-of select="@name"/> </xsl:attribute> <xsl:for-each select="task-node"> <xsl:element name="task"> <xsl:attribute name="id"> <xsl:value-of select="@name"/> </xsl:attribute> <name><xsl:value-of select="@name"/></name> <xsl:choose> <xsl:when test="not(transition/@to=//process-definition/task-node/@name)"> <flowsInto> <xsl:element name="nextElementRef"> <xsl:attribute name="id"> <xsl:for-each select="/process-definition/decision" > <xsl:value-of select="descendant::transition/@to"/> </xsl:for-each> </xsl:attribute> </xsl:element> </flowsInto> <flowsInto> <xsl:element name="nextElementRef"> <xsl:attribute name="id"> <xsl:value-of select="//process-definition/decision/transition/@to"/> </xsl:attribute> </xsl:element> </flowsInto> … | |
I have a XSLT page, where i am checking a condition and if this is true, then i need to redirect to a different XSLT page in the same window. Please provide code to perform this ASAP!!Its urjent!! <xsl:if test="$savedorder=1"> <!-- Need to put redirection code here--> </xsl:if> |
The End.