|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Can this be done with xsl/xml?
Ok this may get kinda confusing, just a warning :P
Start off, I wanna take a xml file and display certian parts of it, using xsl and create links to the file itself in the form of: file.xml?id=<id> and then take that id using xsl to view the full record for that id. an example: link 1 file.xml?id=1 shows <title> from the xml file when you click on the link it'll show all the different fields from the xml file: <title> <subject> <body>, but hide all the original links. It'll only show information relevant to the id. Now I just want to know if this can even be done or not. I havent found much on the web about this at all and im not sure if I should continue trying to do this or not. |
|
#2
|
||||
|
||||
|
Sure it is possible...
![]() I typically dothis type of thing using .asp as the server side engine and pass in parameters and so on to handle the logic of what needs to be displayed. I build your links in the xsl and intercept the requested variables in .asp then pass them into subsequent xsl pages (or include <xsl:if> type logic) to redistribute the appropriate content. Good Luck...
__________________
mr... mike.rusaw@realpage.com RalPage, Inc. "I have made this letter longer than usual, only because I have not had the time to make it shorter." - Blaise Paschal |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Can this be done with xsl/xml? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|