- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 15
- Posts with Upvotes
- 15
- Upvoting Members
- 11
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Newspaper Driver
- Interests
- Pokemon,naruto,Scfi
Hi, i have problem with table conversion from xml to html using xslt. i converted rowspan and colspan in separate row(entry), but if both rowspan and colspan come in single row(entry, colspan and rowspan) is not converting. i have tried so many ways but i didn't get the exact output. … |
|
I'm working on a simple XML/XSLT file that is just meant to display a list of books on a very simple html layout. The files were created to learn XML and XSLT. I have since created two XSLT files that use the same XML. One displays the information in a … |
|
I have been trying since long to extract data using xpath in google sheets but everytime 'am getting message 'imported content is empty'. i need help . The url is http://reports.ieso.ca/public/IntertieScheduleFlow/PUB_IntertieScheduleFlow.xml |
|
XSL does not compile when and only I use xalan:evaluate. Setting in system properties ---------------------------- sysProps.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl"); XSLT snippet -------------- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan" exclude-result-prefixes="xalan"> <xsl:template name="my_test_template"> <xsl:param name="my_test_param" /> <xsl:if test="xalan:evaluate($my_test_param)"> some statements </xsl:if> <xsl:if test="not(xalan:evaluate($my_test_param))"> some statements </xsl:if> </xsl:template> ERROR LOG ----------------------------------------------- ERROR: 'Cannot find external method 'org.apache.xalan.lib.Extensions.evaluate' … |
|
Actually I have a raw data which will have the information about scan rejected files. Each rejected item will log info. in 3 elements in raw data i.e i)ScanRejected ii) ScanInitiated iii) CardSupplier. I'm trying to process this raw data and put it in XML in a formatted way. While … |
|
I am just in the first week of XML class. Never even heard of it before this class. I am getting this error message, and here is my output. I have tried in IE and Chrome. Same result. Can someone tell me what I am doing wrong? Thank you!!! Teddi … |
|
I have worked with HTML in the past, but am new to XML. I think my code is mostly correct however I cannot figure out how to fix the remaining errors. I think my brain is stuck on HTML mode. Any help would be great. This form just has to … |
|
Hi Guys, I am new to XSLT, looking to solve a problem I am facing in filtering XML records. I need to get both the Input XML record position and limit the output XML to a particular number (based on input provided to xsl:param from .net 1.1) Input XML <Parent> … |
|
Hi, My issue with xml is, I have an xml like <a> <b> <c> <d1 att2="t1">test 1</d1> <d1>test 2</d1> <d1>test 3</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> I need to conver this xml to, <a> <b> <c> <d1 att2="t1">test 1</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> <a> <b> <c> <d1>test … |
|
I have xml like this <mainProcedure> <proceduralStep> <proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> </mainProcedure> the child node name for mainProcedure node is all same and no attributes and text. i need to find out which proceduralStep node is clicked and its position. |
|
I want to identify xml nodes that does not have specific attribute. Below is the sample xml. I want to retrieve nodes that does have the "response" attribute. I found atricles that help identify node that has a specific attribute but not my requirement. <top node> <viewentry position=1 children = … |
|
I have this xml <?xml version="1.0" encoding="ISO-8859-1"?> <output> <orders> <order> <id>1</id> <number>10002</number> <type>Loading</type> <date>2013-01-01T02:30:00</date> </order> <order> <id>2</id> <number>10003</number> <type>Loading</type> <date>2013-01-01T010:30:00</date> </order> <order> <id>3</id> <number>10004</number> <type>Loaded</type> <date>2013-01-01T12:30:00</date> </order> </orders> <quantities> <quantity> <id_order>1</id_order> <unit>KG</unit> <value>1000</value> </quantity> <quantity> <id_order>1</id_order> <unit>PAL</unit> <value>3</value> </quantity> <quantity> <id_order>1</id_order> <unit>M3</unit> <value>1.5</value> </quantity> <quantity> <id_order>2</id_order> <unit>KG</unit> <value>2000</value> </quantity> <quantity> … |
|
I have this database in stored inside my Visual Studio Express 2013 for web. How can I use XSLT to turn into: <?xml version="1.0" encoding="utf-8" ?> <graph caption='Cashflow' subcaption='(Drag to zoom out)' hovercapbg='FFECAA' hovercapborder='F47E00' formatNumberScale='0' decimalPrecision='0' showvalues='0' numdivlines='15' numVdivlines='15' yaxisminvalue='1000' yaxismaxvalue='1800' showVLineLabelBorder='1' numVisibleLabels='500' legendPosition='RIGHT' SCROLLBAR='Glow' btnSwitchToPinModeTitle='Compare Graphs'> <categories> <category name='1/1/2014' … |
|
Hello I have an input: <Records> <Record> <Row A="UOBSGD2" B="50000"/> </Record> <Record> <Row A="UOBSGD1" B="75050"/> </Record> <Record> <Row A="DBSSGD2" B="55800"/> </Record> <Record> <Row A="DBSSGD1" B="14239"/> </Record> <Record> <Row A="OCBCSGD1" B="55510"/> </Record> <Record> <Row A="OCBCSGD2" B="31714"/> </Record> <Record> <Row A="UOBUSD1" B="36471.1"/> </Record> <Record> <Row A="UOBUSD2" B="41941.765"/> </Record> <Record> <Row A="UOBUSD3" B="48233.02975"/> … |
|
i want to display numbers only from 01 to 12 How to write a loop <?php for($a=0; $a<10; $a++) { for($b=0; $b<10; $b++) { echo $a.$b.", "; } } ?> |
|
|
I'm doing a project for my class and one of the goals is to transform one XML to other using XSLT. I kinda managed to obtain the info within the original XML file but I don't know why I can't "print" the tag's. XML file (original): <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet … |
Hello, <rentalProperties> <property available="yes" contact="0455 455 014"> <type>apartment</type> <price>500</price> <address> <streetNo>15</streetNo> <street>Armadale Street</street> <suburb>Armadale</suburb> <state>VIC</state> <ZipCode>3143</ZipCode> </address> <numberofBedrooms>2</numberofBedrooms> <numberofBathrooms>1</numberofBathrooms> <garage>1</garage> <description>Top floor 2 bed Apartment in a Leafy Street with 2 carspaces</description> </property> </rentalProperty> I have to transform this into xml format using xslt. The address should be separated by … |
|
Is it possible to count the instances of a for-each boolean statement. for example, say you have patients in a hospital and certain criteria must be met to discharge them. 100(%0) health would equal a discharge, pseudo code would read something like this: totalHealth - HighTemperature + medication * recoveryPeriod … |
|
Having a hell using XPATH to parse out the values from the XML below. Wondering if anyone can tell me what I'm doing wrong. <?xml version="1.0" encoding="UTF-8"?> <XML> <VARIABLES> <var name="LoginUUID" value="F85373F9-00C4-7982-E043-AB7412ACA458"/> <var name="FExists" value="0"/> <var name="NumFTokens" value="0"/> <var name="NumPTokens" value="9"/> <var name="purchaseOptions_Poductname1" value="500 MB"/> <var name="purchaseOptions_Poductvalue1" value="7"/> <var name="purchaseOptions_Poductpricevalue1" … |
|
I am trying to get my head around the functions etc in xslt with xml. I have made a dummy xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="books.xslt"?> <books> <book> <title>Hello Dolly</title> <author>John Thumb</author> <readers> <young_readers>17</young_readers> <older_readers>23</older_readers> <total_readers>40</total_readers> </readers> </book> <book> <title>Goodbye John Thumb</title> <author>Dolly Smith</author> <readers> <young_readers>12</young_readers> <older_readers>3</older_readers> <total_readers>15</total_readers> … |
|
I can't figure out two expressions in xpath. Can someone help ? Here they are substring-after(substring-before(//ul[@id='biblio']/li[3], ']', '[')) //h2[normalize-space(string())='name']/preceding::h1[1] |
|
Hello to all, Please some help with this. I'm newbie to XML, XLS, Xpath, etc. How can I set correctly the reference in the command "for-each select" to avoid issues with this Top node that has namespace? I'm trying to get a XLS stylesheet to get some values. The issue … |
|
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 … |
|
Hi, I am very new to this forum. I started learning XPath queries. Can anyone please assist me on how to get elements from an xml where it doesn't contains any root element. Thanks, Vishwanath |
|
hi I need some help. I have XML file with the folowing structure, and I wanted to know if there is a way to get some FLD nodes from a LIN Node in 1 XPATH command so I can get these values in 1 command. I need just the first … |
|
this is my code:: <!--school.xml--> <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="school.xsl"?> <UCSC> <student> <name>Isuru ilangakoon</name> <age>21</age> <contct_no>0714234672</contct_no> <degree>computer science</degree> <school>DVharmapala college</school> </student> <student> <name>randika malinga</name> <age>22</age> <contact_no>0713567134</contact_no> <degree>computer science</degree> <school>Nalanda college</school> </student> <student> <name>vinod kawinda</name> <age>22</age> <contct_no>0783451024</contct_no> <degree>computer science</degree> <school>maliyadewa college</school> </student> <student> <name>Inshaf mahatt</name> <age>21</age> <contct_no>0777234151</contct_no> <degree>ICT</degree> <school>D.S.Senanayaka college</school> … |
|
Hi, I have a problem with a nestled "for-each". I want information from every orditem. Every orderitem have one "orderitem id" and could have several "job id". The sample belove do not work,any suggestions? XML <order orderid="20"> <workflows> <workflow id="97" <items> <orderitem id="1"> <jobs> <job id="150"/> <job id="151"/> </jobs> </orderitem> … |
|
Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, … |
|
Hi, I have error message . Please help me. 17 Attribute value "001" of type ID must be an NCName when namespaces are enabled. I am attaching file <!DOCTYPE cataloge [ <!ELEMENT cataloge (DVD)* > <!ELEMENT DVD (title?, genre?, rating?, viewerrating?, summary?, year?, director?, runtime?, studio?, actor? ) > <!ELEMENT … |
|
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 … |