Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #14.9K
Ranked #2K
~17.5K People Reached
PC Specs
http://varun0703.blogspot.com
Favorite Forums
Favorite Tags
Member Avatar for himit

I am trying to convert 1 XML into another and want to increment the variable as many times the loop executes. XML Code- [code] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <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> …

Member Avatar for Balakumar_1
1
15K
Member Avatar for liveland

I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates …

Member Avatar for solutiongiver
0
559
Member Avatar for mw1

HI, I am very new to XSLT.. I am trying to have identity-copy of my html, and change a few things, but the result gives me extra <html><body></body></html> after my </html> here's my xsl: [CODE] <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match='node()|@*' > <xsl:copy> <xsl:apply-templates select='node()|@*' /> </xsl:copy> </xsl:template> <xsl:template match='h2'> <xsl:copy> …

Member Avatar for mw1
0
97
Member Avatar for pankajagar2002

Hello , Please help me, i am facing problem to divide the xml in two parts. The xml is <aa> <x>1</x> <x>2</x> <x>3</x> <x>4</x> <x>5</x> <x>6</x> <x>7</x> <x>8</x> <x>9</x> <x>10</x> </aa> the x element contain some attriubte and child elements. and i want to divide the xml into two parts …

Member Avatar for varun0703
0
107
Member Avatar for tadchristiansen

I am trying to do the following in an xsl file: [CODE]ANSWER[@id = concat(local-name(),'_STYLE')]/@valueSrc[/CODE] The xml I am transforming is as follows: [CODE]<DECK desc="Deck" id="DECK1"> <ANSWER id="DECK_STYLE" valueSrc="USER" /> </DECK>[/CODE] The result of this gives me an empty string. However if I make a variable and use it like this: …

Member Avatar for varun0703
0
90
Member Avatar for Bash23

Ok I'm trying use scrapy (python module) to get stats off [URL="http://www.nfl.com/stats/categorystats?archive=false&seasonType=REG&statisticPositionCategory=RUNNING_BACK&d-447263-o=2&conference=null&d-447263-s=RUSHING_40PLUS_YARDS_EACH&experience=null&d-447263-n=1&season=2009&qualified=true&Submit=Go&tabSeq=1&d-447263-p=1"]Here[/URL] and I got the Xpath using Xpather plugin. [CODE]/html/body[@id='com-nfl']/div[@id='doc']/div[@id='doc-wrap']/div[@id='main-content']/div[1]/div[2]/div[1]/form/table[@id='result']/tbody[2]/tr[1]/td[2][/CODE] The prob is that the TRs contains all the players and TD inside TR contain all the stats. What Xpath do I use or how do I loop through …

Member Avatar for varun0703
0
125
Member Avatar for k_manimuthu

Hi All, I am trying to get the maximum no of column in a table through XSLT code. Below i had placed the sample table format. Here column tagged as 'th' and 'td'. Some of the column having 'colspan' attribute. I am struggling how to add colspan value in a …

Member Avatar for varun0703
0
810
Member Avatar for prashantc13

Can somebody help me with the following problem, here is inputxml, xslt i'm using and expected output . actually i know it is because of unique generateid not getting generated this xslt failing to generate desired output but i don't know where that code should be inserted. InputXML [CODE=XML]<?xml version="1.0" …

Member Avatar for varun0703
0
101
Member Avatar for Broodmdh

I am attempting to merge two XML documents (using Pentaho Kettle), and I'm having trouble with my XPATH statement. In the first XML, I have a list of users and their user id's. In the second XML, I have a list of projects, each with an id that corresponds to …

Member Avatar for varun0703
0
111