xsl-list
[Top] [All Lists]

Re: Transformation of HTML input to XML document..

2003-09-04 09:48:29
Hi Ramesh,
  I guess you want to design an HTML form which makes
it possible to create XML file corresponding to the
values input in the form.. Depending on the XML
structure, you can design a HTML page asking for the
required values.

for e.g. if your desired XML output is (this is just
an example..) --

<address>
  <line1></line1>
  <line2></line2>
  <city></city>
  <state></state>
  <country></country> 
</address>

You can write an HTML form as below --

<form name="datainput" action="formhandler">
  <input type="text" name="line1">
  <input type="text" name="line2">
  <input type="text" name="city">
  <input type="text" name="state">
  <input type="text" name="country">

  <input type="Submit" value="Submit">
</form>

The formhandler is a program which will create the XML
file. It could be a Java program using Xerces XML
parser to write the XML or may be an ASP which can use
MSXML to write the XML.

I do not see the usage of XSLT for this problem..

Regards,
Mukul


--- Ramesh Ankam <rankam(_at_)rogers(_dot_)com> wrote:
Hi There,

Our client has the following requirement, please let
me know, if it is
possible to perform the following.

We have to create an XSLT Style Sheet/ HTML Template
for to support data
entry and generation of and XML file that is valid
against a specific
schema.

This template should allow end-users to enter data
and create an XML
file that is valid against the schema with a zero
cost delivery. That
is, the end user should be able to use a standard
browser (IE 5.5 or up)or
free downloadable tool to create the XML file.

Any example is appreciated..

thanks,
RA



 XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>