Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
Stylus Studio Technical Forum
»
Recursively update node value to a variable
Topic
Topic Page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Prev Topic
Next Topic
next
Subject:
Recursively update node value to a variable
Author:
Manic Raj
Date:
11 Nov 2009 04:09 AM
Hi everybody,
I am new to XSLT programming,
I have an XML like the foll.
<?xml version="1.0" encoding="iso-8859-1" ?>
<catalog>
<offering offeringId="9628">
<metadata name="Name" value="LOR" />
<metadata name="Actors" value="Toby Mc" />
<metadata name="Actors" value="Tom" />
<metadata name="Actors" value="Waveman" />
<metadata name="Director" value="Lichtenstein" />
</offering>
</catalog>
I need to get the final o/p as
<film>
<name>LOR</name>
<actor>Toby Mc, Tom,Lichtenstein, Mitchell</actor>
<director>Lichtenstein</director>
</film>
Based on the name="Actors" I need to form the comma separated <actor> value
I stuck here updating a variable in a loop and reading the value outside.
Can somebody help me to get this one out.
Thanks in advance... :)
Thanks,
~Manic
top
Subject:
Recursively update node value to a variable
Author:
(Deleted User)
Date:
12 Nov 2009 04:13 AM
Hi,
which version of Stylus Studio are you using, and which processor have you selected in the Scenario Dialog?
Alberto
Topic Page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.