Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
Transforming input xml parameter to the output xml parameter
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
Transforming input xml parameter to the output xml parameter
Author:
akaara akaara
Date:
08 Jul 2008 01:04 AM
Hi,
Here is a tag in my xml input file which i want to do the transformation:
<img ref="BR080379B.AP.tif" type="I">responsibly</img>
And my xls is :
<pam:mediaref pam:refid="<xsl:value-of select="@ref"/>"/>
This lead to error. I dont know how to make the transformation from one parameter to others with the use of xsl.
The output that I want is like this:
<pam:mediaref pam:refid="BR080379B.AP.tif"/>
Any help is appreciated.
Thanks.
next
Subject:
Transforming input xml parameter to the output xml parameter
Author:
(Deleted User)
Date:
08 Jul 2008 06:27 AM
Inside attributes you need to write
<pam:mediaref pam:refid="{@ref}"/>
Alberto
top
Subject:
Transforming input xml parameter to the output xml parameter
Author:
akaara akaara
Date:
08 Jul 2008 10:23 PM
Thanks Alberto. It works now.
Topic Page
1
2
3
4
5
6
7
8
9
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.