aspose file tools*
The moose likes XML and Related Technologies and the fly likes xsl: Send/remember xml to show in other frame/xsl-stylesheet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl: Send/remember xml to show in other frame/xsl-stylesheet" Watch "xsl: Send/remember xml to show in other frame/xsl-stylesheet" New topic
Author

xsl: Send/remember xml to show in other frame/xsl-stylesheet

Tom Brown
Greenhorn

Joined: Sep 25, 2003
Posts: 22
hey all
i'm working on a website based on XML and XSL.
How can i save/remember/copy... some tags(expl. TYPE and STYPE) from a XML-file to show in an other xsl stylesheet?
Or how can i get the TYPE and STYPE in my xsl-stylesheet from a XML file in an other frame?
<TECHCARD TYPE="intérieures" STYPE="préparation" />
from
<frame name="navframe">
to
<frame name="mainframe">

thanks a lot
tom
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Could you elaborate? I don't quite get what you want to do?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Tom Brown
Greenhorn

Joined: Sep 25, 2003
Posts: 22
hey lasse
i try to explain it in detail right now.
i have 2 different situations.
situation one: url refers to same frame.
--------------
i have an xml file which is styled up with an xsl-sheet. in that xsl sheet i make an request to the database for getting a technical sheet. the url refers to the same frame. So i want in that same frame the 2 attributes from the first XML file which in can show in my second xsl stylesheet.
xml-file:
--------
<TECHCARD ID="TFT0018" TYPE="murs intérieures et plafonds" STYPE="Produits de préparation" />
xsl-file: url-link and request to get the xml file.
---------
<xsl:attribute name="href">http://.?table=TECHCARDS&ATT_CODE=<xsl:value-of select="@ID" />&LANG=<xsl:value-of select="parent::*/LANG" /></xsl:attribute>

situation two: url refers to other frame.
--------------
same situation. but now i want to get the xml-attributes in my stylesheet in an other frame after clicking the url.
i hope that you understand my problem?
thanks lasse
tom
[ January 14, 2004: Message edited by: Tom Brown ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Are you looking for document(), perhaps?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsl: Send/remember xml to show in other frame/xsl-stylesheet