3,634 Topics

Member Avatar for
Member Avatar for baseballfury

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 …

Member Avatar for thonz
0
2K
Member Avatar for anshuman444

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" …

Member Avatar for WenCounty
-1
248
Member Avatar for BeejCyr

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 …

0
71
Member Avatar for mk1200

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: …

Member Avatar for mk1200
0
1K
Member Avatar for le_huck

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 …

0
100
Member Avatar for WaelTheNoble

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 …

Member Avatar for WaelTheNoble
0
119
Member Avatar for ishan5inku

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, …

Member Avatar for kvprajapati
0
101
Member Avatar for Loki421

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 …

Member Avatar for samaru
0
65
Member Avatar for lawyf

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 …

0
47
Member Avatar for 6pandn21

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 &gt; 0"> <td> <input onclick="sendBookRequest();" type="button" value="book"> <xsl:attribute name="onclick">sendBookRequest(<xsl:value-of …

0
84
Member Avatar for elkinsdu

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 …

Member Avatar for elkinsdu
0
228
Member Avatar for amby

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. …

0
110
Member Avatar for rcmlopez

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 & "\" …

Member Avatar for vb5prgrmr
0
104
Member Avatar for ninja_girl

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 = …

Member Avatar for vitana
0
88
Member Avatar for baseballfury

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 …

0
43
Member Avatar for baseballfury

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 …

Member Avatar for baseballfury
0
533
Member Avatar for agriloan

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

0
22
Member Avatar for itslucky

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 …

Member Avatar for itslucky
0
201
Member Avatar for f_atencia

<?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 …

0
65
Member Avatar for whiteyoh

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]

Member Avatar for whiteyoh
0
85
Member Avatar for DIPY

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 …

Member Avatar for strmstn
0
764
Member Avatar for espark

Can anyone tell me about online tools for junk error finder for xml/html?

0
54
Member Avatar for Nasko26

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: ---------- …

0
51
Member Avatar for shironui

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 …

Member Avatar for shironui
0
189
Member Avatar for PierlucSS

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 )) { …

Member Avatar for PierlucSS
0
142
Member Avatar for sarathiharish

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.

0
63
Member Avatar for bugnotme

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 …

0
68
Member Avatar for Canea

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 …

0
61
Member Avatar for Solomon Gizaw

<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> …

Member Avatar for xml_looser
0
120
Member Avatar for navneetktyagi

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>

Member Avatar for fpmurphy
0
34

The End.