Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tom Brown
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you elaborate? I don't quite get what you want to do?
 
Tom Brown
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you looking for document(), perhaps?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic