xsl: Send/remember xml to show in other frame/xsl-stylesheet
Joined: Sep 25, 2003
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
Joined: Jan 23, 2002
Could you elaborate? I don't quite get what you want to do?
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 ]