Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
Need help with xslt
Hima Nadi
Ranch Hand
Posts: 32
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i have an xml page like
<list id="222">
<name>aaa</name>
<size>233</size>
</list>
i want to change this to
<list>
<name>aaa</name>
<size>233</size>
</list>
using xslt
any help will be appriciated.
ThanQ very much in advance
Hima
Tina Desai
Ranch Hand
Posts: 365
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
try this out:
<xsl:template match="list">
<list>
<xsl:copy-of select="Name" />
<xsl:copy-of select="size" />
</list>
</xsl:template>
HTH
Tina
Alongwith being a good coder, try to be a good professional as well!
Hima Nadi
Ranch Hand
Posts: 32
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ThanQ Tina,
that helped in my case
Hima
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
copy nodes using copy-of
pagination for forEach of JSTL List
javascript funtion needed for given html option/combo box
help regarding html select
Difference between count() and last()
More...