1,599 Topics

Member Avatar for
Member Avatar for tudorH

Hi, I am totally new to XSL and this is my first time coding it with it. I have HTML and CSS experience and trying to figure out how to integrate it all together for a SharePoint view. Basically I have an XML file with about 3 records, each having …

Member Avatar for Mike Askew
0
754
Member Avatar for jessica1410

Guys can you please tell me that which is best (XML or HTML) actually i want to create a sitemap of my website so that's why i asking to you this confusion. please share your thoughts here... Thank You.

Member Avatar for geric823
0
140
Member Avatar for RoHunt3r

1.How to enable speech recognition without that annoying recognition window, and without having to press that button on that window? 2.I need to know how to recognize only the words in the XML that I created (to increase accuracy). Like: If I say "red" and that's not in the XML …

0
144
Member Avatar for javedshaikm

Can some help me to convert the below xml data into php array. Thanks in advance. <dataroot> <content id= "1"> <quest><![CDATA[<FONT FACE="Arial">Which of the following is not the measure of a physical quantity?</FONT>]]></quest> <opt1><![CDATA[<FONT FACE="Arial">kilogram</FONT>]]></opt1> <opt2><![CDATA[<FONT FACE="Arial">impulse</FONT>]]></opt2> <opt3><![CDATA[<FONT FACE="Arial">energy</FONT>]]></opt3> <opt4><![CDATA[<FONT FACE="Arial">density</FONT>]]></opt4> <ans><![CDATA[a]]></ans> <ans_desc><![CDATA[<FONT FACE="Arial">kilogram is the name of the fundamental …

Member Avatar for cereal
0
336
Member Avatar for mohan_m01

Generate XML from DataTable, along with count Hi, I have an sql result set assigned to a datatable. The result set is of the form ManagerId | VendorId | Count ------------------------------ M1 V1 10 M1 V2 5 M2 V1 10 M2 V2 5 M3 V1 10 M3 V2 5 I …

Member Avatar for Mike Askew
0
142
Member Avatar for c.pentasuglia

Hey all, I need to get a design going to parse some XML files, in the past i have used XStream to parse files, however it doesn't appear to be working in this case. Here is a sample of the generated XML i'm trying to parse: <debugging level="0" /> XStream …

0
78
Member Avatar for hatebin

Hi ! I'm devloping a Personal Trainer app on android and I need to remember training results in a history. I decided to remeber this results in a XML file. WHAT I HAVE: is an User class with results class User{ String name; int result1; int result2; User(String name, int …

Member Avatar for peter_budo
0
292
Member Avatar for c.pentasuglia

Hey all, I need to get a design going to parse some XML files, in the past i have used XStream to parse files, however it doesn't appear to be working in this case. Here is a sample of the generated XML i'm trying to parse: <debugging level="0" /> When …

0
107
Member Avatar for Aviras

Hello everyone, this is something I wrote a couple months back. It is used as a universal class/object loader from an XML file. For the handling of XML I use the JDOM library. The story basically goes like this: I have a load of classes in a game I'm working …

Member Avatar for Troy III
1
390
Member Avatar for xsltstarter

<xml> <head> <info> <content> <source attribute1="RSC1985s5c1" attribute2="6(17)"> data1 </source> <cite/> <case/> ( <target attribute1="LRC1985s5c1" attribute1="6(17)1"> 3e/191 </target> ) </content> <content> <source attribute1="RSC1985s5c1" attribute2="6(17)"> data2 </source> <cite/> <case/> ( <target attribute1="LRC1985s5c4" attribute2="6(17)1"> 4e/54 </target> ) </content> </info> </head> </xml> What i want is to merge the content of nodes in to …

Member Avatar for Mike Askew
0
216
Member Avatar for baltazar

I'm trying to write a transform to parse an html document and create another html document but I can't seem to use the html tags in the xslt. My html source that I want to apply the transform on looks like this: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body class="3-column"> <div …

Member Avatar for Mike Askew
0
1K
Member Avatar for arathy nair

Hi All, I want to create the following xml from JAVA code. Can u please suggest me a way to write a JAVA code to generate the following xml.When I tried am not able to generate the title with xmlns.Please someone help me..I am very new to XML..... Even if …

Member Avatar for Mike Askew
0
135
Member Avatar for manus26

Need an xslt to convert xml into json. I have a xml file which is having 3 attributes. The value in the 3rd attribute is another xml file. I need an xslt which can read the value of the 3rd attribute as another xml (not just a value) and can …

Member Avatar for Mike Askew
0
224
Member Avatar for masocha

l am working on a USSD service. The USSD gateway will send XML to my PHP script. My problem is how do l read the XML and how do l send back XML. Thank you in advance

Member Avatar for pritaeas
0
75
Member Avatar for syd919

Hello guys I have an xslt file I want to extract data from. I am new to xslt but at the moment I can perform basic operations like looping through the nodes and creating element and attributes. My problem is that I want to select a particular value from a …

Member Avatar for Mike Askew
0
132
Member Avatar for syd919

Hello guys, I have a problem convrting to an int in xslt. My xslt is: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tem="http://tempuri.org/"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <xsl:call-template name="ConnectConsumer"/> </xsl:template> <xsl:template name="ConnectConsumer"> <tem:callRule> <xsl:for-each select="/"> <xsl:for-each select="ConsumerDetails"> <xsl:for-each select="Score"> <xsl:element name="tem:arg0"> <xsl:value-of select='format-number(Score,"#" )'/> </xsl:element> </xsl:for-each> </xsl:for-each> </xsl:for-each> </tem:callRule> </xsl:template> </xsl:stylesheet> …

Member Avatar for Mike Askew
0
164
Member Avatar for megha_ct

Hi I am new to XSLT and I need help on following XML conversion. I have following xml input and need to convert to another XML structure using XSLT . Please can somebody provide me the XSLT for this conversion. <?xml version = "1.0" encoding = "UTF-8"?> <Inputs xmlns = …

Member Avatar for syd919
0
349
Member Avatar for G_Waddell

Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML …

Member Avatar for G_Waddell
0
2K
Member Avatar for Aparna9019

I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside …

Member Avatar for Mike Askew
0
1K
Member Avatar for calebcook

Hi. I have been working on a project that displays data in an XML file. (It's kind of like an API). I know how to parse XML with PHP, and how to make an XML file in PHP, but they don't work together. :) Basically, I have two files: `parse.php` …

Member Avatar for Incognitus
0
226
Member Avatar for abathurst

Hi, I need some help extracting information from a XML file. So far I am able to extract data from elements that look like the following: <element1>Element Information</element1> <element2 attribute=”Element 2 Attribute Information” /> But I have come across an element that has got me stumped: <element3><![CDATA[Information that I need …

Member Avatar for PatSharbaugh
0
272
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

Member Avatar for diafol
0
2K
Member Avatar for Ronene

Hello , I'm trying to solve a "known problem" in XPath 1.0 . From [msdn](http://msdn.microsoft.com/en-us/library/bb341675.aspx) : "***Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order. Note that nodes are returned in document order even when …

0
120
Member Avatar for buster2209

I have an xml file that looks like this; <?xml version="1.0" encoding="utf-8"?> <!--This file is generated by the program.--> <Product ID="23" Name="Soap" test="one"> <Price>10.00</Price> <OtherDetails> <BrandName>X Soap</BrandName> <Manufacturer>X Company</Manufacturer> </OtherDetails> </Product> I can use the following code to read the 'ID', 'Name', and 'test; XmlReader reader = XmlReader.Create("Products.xml"); while (reader.Read()) …

Member Avatar for thines01
0
187
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

0
82
Member Avatar for surferxo3

I am getting garbage even I am delete an char pointer array.. Please help me to prevent this garbage... Here you can find my code. Link :http://www.upload.pk/files/XKGioMek1335637669.html

0
81
Member Avatar for roboxslt

|Input :::: <gtdt> <name>Construction 2012</name> <edition>120</edition> <ISSN>1473-0065</ISSN> <jurisdictions> <jurisdiction name="Albania"> <topics> <topic> <name>All Questions</name> <questions> <question> <number>1</number> <title>Joint ventures</title> <full>Must foreign designers or contractors enter into a joint venture with a local contractor to design, build and be paid for their work? Does the law require that the local contractor …

Member Avatar for Mike Askew
0
99
Member Avatar for Pamilerin

Any way I can populate a datagrid in vb.net with the ff xml data. ` <?xml version="1.0" encoding="utf-8"?> <pricelist> <item> <symbol>7UP</symbol> <security>7-UP BOTTLING PLC</security> <opening price>41.75</opening price> <closing price>41.75</closing price> <description>Symbol:7UP, Security:7-UP BOTTLING PLC, Opening price:41.75, Closing price:41.75</description> <pubDate>Sun, 15 Apr 2012 01:00:10 GMT</pubDate> </item> <item> <symbol>AGLEVENT</symbol> <security>A.G.LEVENTIS(NIGERIA) PLC</security> <opening …

Member Avatar for thines01
0
350
Member Avatar for super-duper

Hi, I am trying to learn some XML. I am getting confused, or should I say, getting lost while trying to understand the DTD, SCHEMA, PCDATA and CDATA. Can someone, please, explain them the simpler way...if there is any? :) I think I am having hard time understanding especially the …

0
65
Member Avatar for c.pentasuglia

In a nutshell i have a java program that takes parameters from an XML file. I made a .jar file from my java project. Within the java project i have the XML file set to a static directory, i'd like to be able to change that so the jar would …

Member Avatar for c.pentasuglia
0
240

The End.