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
Ron McLeod
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Rob Spoor
Junilu Lacar
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Piet Souris
Carey Brown
Bartenders:
Forum:
XML and Related Technologies
Need help with xslt
Hima Nadi
Ranch Hand
Posts: 32
posted 19 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 19 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 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ThanQ Tina,
that helped in my case
Hima
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...