Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

xsl dynamic extraction of xml data help

Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator

I'm new to this forum and to xsl and xml.

I've a got a fairly large xml doc which I want to be able to manipulate using xsl.

However I want the user to decide how to manipulate using html forms i.e. what search to do via date, name, key word.

However I'm unsure how to get the information from the form and place it into the xsl doc. Can anyone help?

here is some of my code

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="xsl.xsl"?>
<Name>2006 World Congress on Medical Physics and Biomedical Engineering (W2006)</Name>
<Dates>27 Aug - 01 Sep 2006</Dates>
<Location>COEX Convention & Exhibition Center Seoul, Korea</Location>
<Extra-Info>WC 2006 Secretariat SL Gangnam PO Box 305 Seoul 135-603 KOREA +82 2 3476 7700 +82 2 3476 8800 (Fax)</Extra-Info>


the xsl doc....

<?xml version="1.0" encoding="UTF-8" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="">
- <xsl:template match="/">
- <html>
- <body>
<h2>Ur Search results</h2>
- <table border="1">
- <tr bgcolor="#9acd32">
<th>Orginial URL</th>
<th>Extra Information</th>
<th>Source URL</th>
- <xsl:for-each select="Conferences/Conference">
- <tr>
- <td>
<xsl:value-of select="Name" />
- <td>
<xsl:value-of select="Dates" />
- <td>
<xsl:value-of select="Location" />
- <td>
<xsl:value-of select="OrgUrl" />
- <td>
<xsl:value-of select="Extra-Info" />
- <td>
<xsl:value-of select="SouceUrl" />

for exampe <xsl:for-each select="Conferences/Conference[name="information posted from the form]">.... but how to get the information from the form??

thanks in advance!.

Posts: 25965
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
"Jam jam", please do not post duplicate questions. It leads to confusion and wastes the time of people who might want to answer. Please continue with the post in XML and Related Technologies.
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic