Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:16:24+00:00 2026-06-03T08:16:24+00:00

I have an xml having the following structure: <metadata style=basic> <zonelist> <zone name=z0 type=poster

  • 0

I have an xml having the following structure:

<metadata style="basic">
    <zonelist>
        <zone name="z0" type="poster" id="null" x="558" y="1550" w="180" h="260"/>
        <zone name="z1" type="poster" id="null" x="738" y="1550" w="180" h="260"/>
        <zone name="z2" type="poster" id="null" x="918" y="1550" w="180" h="260"/>
        <zone name="z3" type="poster" id="null" x="1098" y="1550" w="180" h="260"/>
        <zone name="z4" type="poster" id="null" x="1278" y="1550" w="180" h="260"/>
        <zone name="z5" type="poster" id="null" x="1458" y="1550" w="180" h="260"/>
        <zone name="z6" type="poster" id="null" x="1638" y="1550" w="180" h="260"/>
    </zonelist>
    <library_animation_clips>
        <animation_clip id="intro" start="0.25" end="1.25" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="outro" start="1.26" end="2.26" start_pos="1.26" speed="1" loop="false" reverse="false"/>
        <animation_clip id="disabled" start="2.27" end="2.27" start_pos="2.27" speed="1" loop="false" reverse="false"/>
        <animation_clip id="active" start="2.28" end="2.28" start_pos="2.28" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i0_p" start="2.29" end="3.10" start_pos="2.29" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i0_i2_n" start="3.11" end="3.12" start_pos="3.11" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i1_i0_p" start="3.13" end="3.14" start_pos="3.16" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i1_i2_n" start="3.15" end="3.16" start_pos="3.17" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i2_i1_p" start="3.17" end="3.18" start_pos="3.18" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i2_i3_n" start="3.19" end="3.20" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i3_i2_p" start="3.21" end="3.22" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i3_i4_n" start="3.23" end="3.24" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i4_i3_p" start="3.25" end="3.26" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i4_i5_n" start="3.27" end="3.28" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i5_i4_p" start="3.29" end="3.30" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i5_i6_n" start="3.31" end="3.32" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i6_i5_p" start="3.33" end="3.34" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        <animation_clip id="i6_n" start="3.35" end="3.36" start_pos="0.25" speed="1" loop="false" reverse="false"/>
    </library_animation_clips>
</metadata>

I need an xslt to copy only the innertext from the “library_animation_clips” node so that the output xml looks like:

<Renderer Type="ThreeD">
        <ThreeDRenderer>
            <animation_clip id="intro" start="0.25" end="1.25" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="outro" start="1.26" end="2.26" start_pos="1.26" speed="1" loop="false" reverse="false"/>
            <animation_clip id="disabled" start="2.27" end="2.27" start_pos="2.27" speed="1" loop="false" reverse="false"/>
            <animation_clip id="active" start="2.28" end="2.28" start_pos="2.28" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i0_p" start="2.29" end="3.10" start_pos="2.29" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i0_i2_n" start="3.11" end="3.12" start_pos="3.11" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i1_i0_p" start="3.13" end="3.14" start_pos="3.16" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i1_i2_n" start="3.15" end="3.16" start_pos="3.17" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i2_i1_p" start="3.17" end="3.18" start_pos="3.18" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i2_i3_n" start="3.19" end="3.20" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i3_i2_p" start="3.21" end="3.22" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i3_i4_n" start="3.23" end="3.24" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i4_i3_p" start="3.25" end="3.26" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i4_i5_n" start="3.27" end="3.28" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i5_i4_p" start="3.29" end="3.30" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i5_i6_n" start="3.31" end="3.32" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i6_i5_p" start="3.33" end="3.34" start_pos="0.25" speed="1" loop="false" reverse="false"/>
            <animation_clip id="i6_n" start="3.35" end="3.36" start_pos="0.25" speed="1" loop="false" reverse="false"/>
        </ThreeDRenderer>
    </Renderer>

Please let me know how can I achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:16:25+00:00Added an answer on June 3, 2026 at 8:16 am

    The following small stylesheet should do the job:

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="metadata">
        <Renderer Type="ThreeD">
          <ThreeDRenderer>
            <xsl:apply-templates select="library_animation_clips/*"/>
          </ThreeDRenderer>
        </Renderer>
      </xsl:template>
    
      <xsl:template match="node()|@*">
        <xsl:copy>
          <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi currently I have a nested XMl , having the following Structure : <?xml
I have an XML file with the following structure: <Products> <Product name=MyProduct1> <Components> <Component
I have an XML with following structure: <table name=tblsiccodes> <row> <sSICCode>0888</sSICCode> </row> <row> <sSICCode>0900</sSICCode>
I have a table having 2 columns EmployeeId (int) and EmployeeDetails(XMl type) EmployeeId EmployeeDetails
The xml file is having the following structure <Root> <Child value=A/> <Child value=B/> <Child
I have the following XML: <funds> <fund name=A ITEM0=7% ITEM1=8% ITEM2=9% ITEM3=10% ITEM4=11% ITEM5=
I have XML similar to the following <?xml version=1.0 encoding=utf-8?> <foo name=FooBar xmlns=http://mydomain/myapp/ver/myschema.xsd> <bars
Lets say I have following: library(XML) my.xml <- ' <tv> <show> <name>Star Trek TNG</name>
I have an XML file with the following structure: <contacts> <contact id=0> <firstname />
Hi Guys I am having following type of XML to parse. <?xml version=1.0 encoding=utf-8

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.