Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating XML from XSL

Status
Not open for further replies.

Diancecht

Programmer
Jan 8, 2004
4,042
ES
Hi all.

I have a little "philosophical" question.

Let's imagine I have a XML file with its corresponding XSL one that can transform it to a given FO output format. That's easy to handle.

Let's imagine now that I don't have the XML file itself, but just the data contained in it. I have no idea of the structure (I don't know the tags name), but I still want to generate the FO file.

Is there any way to "imagine" the XML file structure from the XSL? The objective of this is to generate the FO file using a public tool (like Xalan or so).

Thanks in advance

Dian
 
Ok, whith XSL you can generate a XML or HTML or other type of files. XSL does not know what is the XML. No problems to create a XSL from another XSL. The XML also often does not know about XSL and apply the XSL dinamically from a program by using Transform.

Ion Filipski
1c.bmp
 
I imagined the answer would be "No". I¡ll try to find another solution for my problem.

Thank you very much for your reply

Cheers

Dian
 
Just to make ya happy... No! :)

If you think about it, for any given XSL output, there would probably be myriad inputs (and therefore XML structures) that could have created the output. So trying to deduce the input structure given only the output is kind of like trying to find the monkeys that typed "Macbeth."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top