[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Value dependency between nested attributes
Hello Output format shall be same than input format (XML-->XML Transformation): <A name="a" test1="vw" test2="cd" test3="ef" test4="gh"/> <A name="b" test1="vw" test2="cd" test3="ef" test4="gh" test7="ee"/> <A name="c" test1="vw" test2="cd" test3="ef" test4="gh"/> <A name="d" test1="xy" test2="ij" test3="kl" test4="mn" test5="op"/> I want to give some params to the processor to change some (not all) "test" values. The values for the change depend on the value of the "name" attribute. For example: if value of name = "a" then test2 value="$XX" and test3 value="$YY" and if name="b" then test2 value="$VV" and test3 value="$WW" There are 4 different values for 'name' --> 4 A lines It is my first try to build a xsl file -- so sorry if this question is stupid. I tried to customize the "Identity change template" (http://www.dpawson.co.uk/xsl/sect2/identity.html#d5687e43 ) for my needs, but i am not experienced enough to get this running for my situation. If someone could show me some templates to solve this problem... Thank you very much Karl -- Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://portal.gmx.net/de/go/dsl02
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|