OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Can XSLT be bi-directional ? XML + XSLT -> XHTML -> XML + (XSLT)

[ Lists Home | Date Index | Thread Index ]
  • From: Robin Berjon <robin@knowscape.com>
  • To: "Ashvil" <ashvil@i3connect.net>
  • Date: Sat, 01 Jul 2000 18:34:32 -0400

At 09:49 01/07/2000 -0700, Ashvil wrote:
>Can XSLT be bi-directional ? Can you get the original XML information
>from the output file by using the original XSLT file.
>
>An example would be a XML file is transformed using XSLT into XHTML. A
>User edits the data in the XHTML file (assuming no tags are harmed or
>replaced) and sends it back. Is it possible to convert the information
>in the XHTML file to it's original XML format using the original XSLT
>file only.
>
>Any thoughts ? Or is the only way creating a new XSLT file to do this
>? Or is it possible for the transformation to be bi-directional. This
>would greatly assist in building User friendly editing systems.

Chances are that in many cases the transformation back might be difficult
as some different elements in your input might map to the same element in
the output. However, if whatever is to process your output ignores
information it doesn't understand, you may be able for instance to flag
output elements with specific attributes that would guarantee a safe
mapping back. You'd still have to write another stylesheet though.



-- robin b.
"What I like about deadlines is the lovely whooshing sound they make as
they rush past." --Douglas Adams


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS