in Education by
I've got an extremely long XML file, like context1 test1 context1 context2 test2 context2 ........... Now I want to remove all the second in each using xslt, is it possible? The result would be like this: context1 test1 context2 test2 ........... Thank u, BR Allen JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
This question requires a little bit more detailed answer than just pointing to a good Muenchian Grouping source. The reason is that the needed grouping requires to identify both the names of all children of an "ele[SomeString]" element and their parent. Such grouping requires to define a key that is uniquely defined by both unique sources, usually via concatenation. This transformation: when applied on this XML document: context1 test1 context1 context2 test2 context2 context2 test2 context1 produces the wanted result: context1 test1 context2 test2 context2 context1

Related questions

0 votes
    i need to merge shop products which contains size in name. As you can see i have to cut size ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    i need to merge shop products which contains size in name. As you can see i have to cut size ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    Use in xml this query searchCategory1=" SELECT "$1" FROM "$2" GROUP BY "$1" ORDER BY "$1"" but ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 6, 2022 in Education by JackTerrance
0 votes
    Here is my test SQL: declare @Table table (strField nvarchar(6), xmlField xml) insert into @Table values ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Background: I have an old web CMS that stored content in XML files, one XML file per page. I am ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    How do you remove Duplicate records in Informatica? And how many ways are there to do it?...
asked Mar 27, 2021 in Technology by JackTerrance
0 votes
    This is my Xml document(small snippt). Table 11: Tanjavur NREGS activities CHAPTER IV: Findings and analysis ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    What is the most efficient way to remove duplicate items from an array under the constraint that axillary ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    What is the most efficient way to remove duplicate items from an array under the constraint that axillary ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    What is the most efficient way to remove duplicate items from an array under the constraint that axillary ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    What is the most efficient way to remove duplicate items from an array under the constraint that axillary ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 8, 2022 in Education by JackTerrance
0 votes
    I have an XML with Text elements that can include tagged text and depending on the elements attribute value ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I have an XML file that starts like this: I'll have to open a lot of these files. Each of these ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    How to get ASP.NET Web API to return JSON instead of XML using Chrome?...
asked Jan 11, 2021 in Technology by JackTerrance
0 votes
    In my XSLT stylesheet I extract the value of the current month using a month-from-dateTime like this . ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
...