1,599 Topics

Member Avatar for
Member Avatar for neerom

Hi, I am newbie in xslt. I have some problem in my current project. I have to call web service from xslt. The web service takes an xml document as input parameter. I dont know how to do it. I have tried to write xslt which calls web service by …

Member Avatar for shyam1230
0
88
Member Avatar for sfeinst

I am trying to learn xslt and I'm having difficulties trying to figure out how to process a file that is not built out as a hierarchy (except based on an attribute) and change it into a hierarchy. Using the following XML [CODE]<?xml version="1.0" encoding="UTF-8"?> <data> <h level="1">test</h> <p>some data …

Member Avatar for fpmurphy
0
101
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
247
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 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
117
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 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 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
532
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 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
753
Member Avatar for espark

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

0
53
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
141
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
60
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
Member Avatar for itslucky

Dear Friends!!! I am developing a Hotel reservation Website (ASP .NET C#), and i need to send XML file to the server and then receive a XML Response File. Now i would like to Save the XML Response file to the clients Machine, not on the server, now plz tell …

Member Avatar for kvprajapati
0
95
Member Avatar for Patrickero

I've got an XML: [CODE]<?xml version="1.0" standalone="yes"?> <root> <profile> <name>xyz</name> <salary1>4</salary1> <salary2>2</salary2> </profile> <profile> <name>mno</name> <salary1>8</salary1> <salary2>6</salary2> </profile> </root>[/CODE] and a XSLT: [CODE]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" extension-element-prefixes="exsl" version="1.0"> <xsl:template match = "/" > <html> <head><title></title></head> <body> <br /> <table border="0"> <tr> <td class="headerClass">name</td> <td class="headerClass">salary1</td> <td class="headerClass">salary2</td> </tr> …

Member Avatar for fpmurphy
0
101
Member Avatar for Buckoo

I am trying to parse a xml document and extract certain information. I have looked around quite a bit and haven't been able to find anything that would suit my needs. the sample xml file would look like this: <contact> <name> Daffy Duck </name> <street> 15 Rodeo Drive </street> <city> …

Member Avatar for Salem
0
106
Member Avatar for ceyesuma

Is there a difference when filling JTextField.setText(); [code] nameTemp=t.getNodeName(); JTextField.setText(nameTemp); [/code] and [code] nameTemp="The text"; JTextField.setText(nameTemp); [/code] The node name will not fill the text field.

0
37
Member Avatar for ceyesuma

if getTextValue() recieves a Element and finds a node value (text) why would it not be found in str? [code]\ pubic String getTextValue(Element n){ NodeList nl=n.getChildNodes(); for (int i=-; i<nl.getLength();i++){ if(nl.item(i).CDATA_SECTION_NODE>0){ String value=nl.item(i).getNodeValue();//sys.out= good text } } return value; } [/code] [code] t=(Element) r.getNextSibling(); str=getTextValue(t); System.out.println(" "+str);//null [/code]

0
43
Member Avatar for vensip

Hi, I am trying to write a error log text file using xml as a data file and xsl as a validation file. attached are my input files. I stuckup in converting them.. please advice. thanks in advance, siva below are my files information. [CODE] <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" …

0
47
Member Avatar for UberJoker

So I am very confused about XML in general. according to the things i read about it, its not a programming language. its not used to display anything. basically they even say it does nothing. then the question arises....WHY is it used?WHERE is it used?and HOW is it used?....i tried …

Member Avatar for Cragdo
0
97
Member Avatar for L0u3

vb.net: I have a task to take the given xsd file and use that to validate my generated xml file. But now this xsd file has complex type attributes and I cant get to append this complex type to my declared xmlnode. [U]My Code:[/U] [CODE]Dim namespaceURI As String = "http://www.blabla.za" …

Member Avatar for L0u3
0
170
Member Avatar for guocnc

I create an object of Microsoft.xmlDOM. load a xml file(validation no error). and objXMLDoc.setProperty "SelectionLanguage", "XPath" Then use Set NodeList = objXMLDoc.getElementsByTagName("appointment") to successfully retrieve a list of nodes with tagName "appointment" However, when I change the following code Set NodeList = objXMLDoc.selectNodes("//appointment") to hope to retrieve the same information, …

0
44

The End.