31 Topics

Member Avatar for
Member Avatar for VRamone

Hello, how can I insert a single image on the top of a XSL document? I tried this code below: <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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" > <xsl:template match="/"> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <!-- Styles added.... --> <Styles> <Style ss:ID="Default" ss:Name="Normal"> <Alignment ss:Horizontal="Left" ss:Vertical="Bottom"/> <Borders/> …

Member Avatar for rproffitt
0
304
Member Avatar for servent123

Hi there ! I have xml and xsl files i need to convert them to xslfo files . I need this to convert to pdf files. Thanks.

Member Avatar for servent123
0
372
Member Avatar for suburbios0

Hello, I have the following code in XML: <?xml version="1.0" encoding="UTF-8"?> <agency> <destinations> <destination id="bel">Belize</destination> <destination id="mad">Madeira</destination> <destination id="per">Peru</destination> </destinations> <traveler id="coelho"> <passport>P-123456-08</passport> <name>Pedro Coelho</name> <born>1964-10-05</born> <trip> <start>2013-07-01</start> <end>2013-07-15</end> <itinerary destination="bel"> Viagem em classe executiva para Belize via Frankfurt. </itinerary> <plane date="2013-07-01"> Pedir refeição vegan. <airport>Barajas</airport> Alertar assistente antes da …

Member Avatar for xml_looser
0
333
Member Avatar for carljung

I have used XSLTProcessor to receive XML data: $atb = new XSLTProcessor(); Often it takes a few seconds the data to load. I understood that there is a faster way to load the information. The current speed is like this: http://time-time.net/time/new-york-new-york-usa.php which is in most of the cases too slow. …

Member Avatar for LastMitch
0
174
Member Avatar for chopstix21

I want to obtain a better xml file using some xslt and xml below. <?xml version="1.0" encoding="UTF-8"?> <Pallets><Pallet> <PalletNumber>2</PalletNumber> <Product>1</Product> <Quantity>2</Quantity> </Pallet> <Pallet> <PalletNumber>2</PalletNumber> <Product>1</Product> <Quantity>4</Quantity> </Pallet> <Pallet> <PalletNumber>2</PalletNumber> <Product>2</Product> <Quantity>1</Quantity> </Pallet> <Pallet> <PalletNumber>3</PalletNumber> <Product>1</Product> <Quantity>2</Quantity> </Pallet> <Pallet> <PalletNumber>4</PalletNumber> <Product>2</Product> <Quantity>2</Quantity> </Pallet></Pallets> I need to sum up quantity per pallet …

0
105
Member Avatar for melaneva

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

0
83
Member Avatar for Haranadh

Hi Friends, I am new to this XML & XSL. I want to write a template which takes two arguements and it should take the node name and node value. in template i want to format the input value. Please share if any one can guide me on this. The …

0
131
Member Avatar for jeraldmuthu

Sorry **How to add image in pdf header.** i get the image url in String. String Image = request.getContextPath() + "/pdf.gif"; parameters.put("pageHeaderText", Image); i passed to the xsl <xsl:value-of select="$pageHeaderText"/> but the after generating pdf the url path of Image i get into the string displaying(not Image) in the header …

0
103
Member Avatar for anandunics

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 ?

Member Avatar for mraheel
0
308
Member Avatar for sacredgrim

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 …

0
82
Member Avatar for anandunics

Hi All, <client> <description>KKR</description> <rits>Test</rits> <time_zone_code>US/Central</time_zone_code> <directory_code>Foler</directory_code> </client> I need to fetch the above and put it in the form HTML FORM. Note : Must make use of Xpath,(Identity Transformation)

Member Avatar for anandunics
0
200
Member Avatar for jeraldmuthu

<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="no" encoding="ISO-8859-1"/> <xsl:param name="context"/> <xsl:param name="renderId"/> <xsl:param name="token"/> <xsl:include href="../../wcf/controls.xsl"/> <!-- buttons with spaces inbetween --> <xsl:template match="button[@hidden='true']"/> <xsl:template match="button"> <xsl:text> </xsl:text> <input type="submit" name="{@id}" id="{@id}" value="{@label}" onclick="iceSubmitPartial(form, this, event);return false;"/> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="tree-extras-top | tree-extras-bottom"> <tr> <td class="navText"> <xsl:apply-templates/> </td> …

0
99
Member Avatar for anandunics

Hi All, Recently i have developed a new XSL file in altova XMLSpy , and the XSL version is 2.0. When i tried the Transformation , in different environemt(without using XMLSpy), i am thrown with below error. ERROR: 'Syntax error in 'descendant::element()'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could …

Member Avatar for anandunics
0
242
Member Avatar for chriselectrix

Hi All Ive got an XSL for some XML data. The XML data contains a date field called OrderNum_OrderDate. How can I filter the data so it only displays data from the XML that has a date of TODAY + 7 days. I only want to see information for the …

Member Avatar for SBA-CDeCinko
0
434
Member Avatar for himit

Hi All, I am not sure where am i going wrong but this is something which made me realise that my understanding about the for-each and apply-templates was wrong. :( I have 2 XMLs, I want to display the 'value' present in one XML after comparing the 'name' present in …

Member Avatar for xml_looser
0
199
Member Avatar for chriselectrix

Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING …

Member Avatar for xml_looser
0
233
Member Avatar for himit

Hi, I need the name of the XML tabs. I'll use an example to explain what i want. XML- <?xml version="1.0" encoding="ISO-8859-1"?> [CODE] <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly …

Member Avatar for xml_looser
0
151
Member Avatar for chriselectrix

Hi I have to XML files and two XSL and HTML documents. I have a 'master' xml file, but I also have a 'slave'. I cant edit the xml files as they are automatically exported from a software package. Table 1 (master) contains e.g.: Master Job Master Part Qty Child …

Member Avatar for chriselectrix
0
390
Member Avatar for soumya_mjmder

Hi, i have the folwing xml, i want to compare the dates Modifyts and ActualDate using XPATH and XSLT and print the date which is newer.Can you please help me regarding this. [CODE]<ABC> <InputDocument> <OrderList LastOrderHeaderKey="2011013111595948350" LastRecordSet="Y" ReadFromHistory="" TotalOrderList="1"> <Order DocumentType="0001" EnterpriseCode="XYZ" Modifyts="2011-02-14T13:53:04+00:00" OrderNo="Y100000042"/> </OrderList> </InputDocument> <EnvironmentDocument> <Order DocumentType="0001" EnterpriseCode="XYZ" …

Member Avatar for soumya_mjmder
0
231
Member Avatar for chriselectrix

Hi All I have this XSL code, but I am trying to get it so every other row is light grey and the ones in between are white. I want the headers to be anjother colour all together. [CODE] <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <body> <table border="2" bgcolor="yellow"> …

Member Avatar for f_atencia
0
1K
Member Avatar for minamo99

Hello, I have a large XML i am recovering data from. However,i cant seem to get more then 2 parameters out,whatever i type. i tried the following things already(without succes) -Made a substring-between -Made an extra call to a template and clarified additional parameters -Changed the values of the xpath …

Member Avatar for Erwan Amoureux
0
141
Member Avatar for chou73

hi all, please can u help me, it's urgent and i'm working on it about 5 days without result i have a xml file: [CODE] - <Menus> - <UsersMenu> <ID>1</ID> <Text>Button1</Text> - <UsersMenu> <ID>2</ID> <Text>B1I1</Text> <link>template.aspx</link> <parent>1</parent> </UsersMenu> - <UsersMenu> <ID>3</ID> <Text>B1I2</Text> <parent>1</parent> - <UsersMenu> <ID>6</ID> <Text>B1I2I1</Text> <link>template.aspx</link> <parent>3</parent> </UsersMenu> …

Member Avatar for chou73
0
211
Member Avatar for minamo99

Hello everyone, I am a beginning programmer using XSLT. I work at a company wich has a database witch generates catalogs, exporting XSL and XML to FOP.(wich converts to PDF). the program runs on apache and is build in delphi. That being said, I was wondering if it is possible …

Member Avatar for minamo99
0
1K
Member Avatar for hindu times

Hi there, I'm having some trouble formatting the date that appears underneath each "News" post on the following page - [URL="http://www.rjt-online.com/home.php"]www.rjt-online.com/home.php[/URL] Here is the code for the XSL file that is being pulled into the above page with php. The xsl file is pulling in an RSS feed from my …

Member Avatar for iceandrews
0
409
Member Avatar for vatsag

Hello Im very new to the XSLFO. I have a requirement to color a text entry with a suitable background color which i do using the snippet [CODE]<fo:inline color = "red" background-color = "yellow"> <xsl:value-of select="."/> </fo:inline>[/CODE] With the above snippet i am able to set the forecolor of the …

0
85
Member Avatar for soumya_mjmder

Hi..i am new with xml and xsl. I have the input xml as: <?xml version="1.0" ?> <Employee> <EmployeeDetails EmployeeName="JohnnyWalker" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> -------------------------------------------- I want the output xml as: <Employee> <EmployeeDetails JohnnyWalker="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> i need to do this using xsl.....can anybody …

Member Avatar for fpmurphy
0
2K
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
98
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 wmsigler

Is it possible to apply XSLT on XML output from a Perl CGI script? I.e. I have a registration form, when submitted it makes an Ajax request, building a query string from the form inputs. The request is made to a Perl CGI script. This script can be called two …

0
103
Member Avatar for krokodajl

Hi. I am trying to build simple web application in ASP.NET. I have xml file with data and xsl file to transform xml file into html doc which will be presented in the browser window and everything is working fine. What funcionallity do I want? I want user to enter …

Member Avatar for kvprajapati
0
110

The End.