- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
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> … | |
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 … | |
Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select … | |
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 … | |
Hi, Please find the 2 XML's Input XML- [CODE] <feed xmlns:es="http://ucmservice"> <element> <es:RepositoryDetails> <es:Repository Type="DatabaseRepository" /> <es:ConnetionDetails> <es:Param MigrationSetId="439" /> </es:ConnetionDetails> </es:RepositoryDetails> <es:DocProperties> <es:UniqueDocId Value="_1_15"> <es:DocProperty propertyName="EmployeeName"> <es:PropValues> <es:PropValue>Index</es:PropValue> </es:PropValues> </es:DocProperty> <es:DocProperty propertyName="EmployeeAddress"> <es:PropValues> <es:PropValue>Gurgaon</es:PropValue> </es:PropValues> </es:DocProperty> <es:DocProperty propertyName="Salary"> <es:PropValues> <es:PropValue>15000</es:PropValue> </es:PropValues> </es:DocProperty> </es:UniqueDocId> </es:DocProperties> </element> <element> <es:RepositoryDetails> <es:Repository Type="DatabaseRepository" … | |
Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so … | |
Hi, I am trying to convert an XML into another desired format XML through XSL. However, I am not able to apply any proper logic to get that. Please llok into it and suggest something- Input XML- [CODE] <feed xmlns:es="http://ucmservice"> <element> <es:RepositoryDetails> <es:Repository Type="DatabaseRepository" /> <es:ConnetionDetails> <es:Param MigrationSetId="439" /> </es:ConnetionDetails> … | |
Hi, I have an XML: [CODE] <A> <B> <C>a</C> </B> <B> <C>b</C> </B> <B> <C>c</C> </B> </A> [/CODE] and I need the output as [CODE] <X name="a"> <Y name="b"> <Z name ="c"/> </Y> </X> [/CODE] i don't know how to write the XSL for it, tried few things but couldn't … | |
Hi, I am trying to parse an xml which i am getting in a variable in my xsl. till the time i do not have any namespace in my xml i can parse all the tags of my xml from my xsl, however, for any tag with a namespace i … | |
Hi, I want to pass the value of a variable in my href. Is it possible? Example:- <xsl:variable name="URL"> <xsl:value-of select="catalog/cd"/> </xsl:variable> <a href="[COLOR="Red"]<xsl:value-of select='$URL'/>[/COLOR]"> Link to catalog </a> Please help me, how could i achieve this task? | |
Hi, Can we declare a variable at one place and assign it a value at another in XSLT? I know that we can assign a value to a variable only once (please correct me if I am wrong), however i am not sure whether we can do it in 2 … | |
I am trying to transform 1 XML document to another using XSLT. I want to call the value from my source XML to the element in my result XML as the value of an attribute. Source 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> … |
The End.