At the node wikimedia\ projects\ project\ editions\ edition language="English" in the place of somecommand I should get value from the second xml file ----- chapter\<p id="p1"> “text”.
When I run an xslt and get the data from 1st xml in the place of somecommand I should get text displayed..
I mean it should be linked to the chapter\<p id="p1"> “text”. Field of source.xml..
Subject:XSL Question Author:Mujahid Azam Date:26 Dec 2007 11:02 PM
hi,
thanks for the suggestion.. i am using the Stylus studio 2007 xml enterprise release 2. and would like to know if what i am asking for is possible using the stylus studio.. if yes please let me know how to do it...
Subject:XSL Question Author:Minollo I. Date:27 Dec 2007 08:53 AM
Stylus Studio is an XML development tool; it supports both XSLT and XQuery development, which will let you accomplish all sort of XML manipulation. So, if you can do something with XSLT (or XQuery), yes, you can do that with help by Stylus Studio.
Now, your question is not about "how do I use Stylus Studio to do that", but about "how can I use XSLT to do that; that's why I suggested you ask that question to a general XSLT discussion list.
About your specific issue, when you ask the XSLT discussion list you may want to make sure you clarify how the content in one document is related to the content in the other one, as that's unclear from your post.
the node <edition language="English">p1</edition> that has the value "p1" is linked to <p id="p1">text</p> so whereever we have p1,p2 etc... they should be replaced by the corresponding text,text2 etc...
If you open 1 st xml file
At the node wikimedia\ projects\ project\ editions\ edition language="English" in the place of p1. I should get value from the second xml file ----- chapter\<p id="p1"> “text”.
When I run an xslt and get the data from 1st xml in the place of p1. I should get text displayed..
I mean it should be linked to the chapter\<p id="p1"> “text”. Field of source.xml..
hope this is clear....