Link XSL Style Sheet to XForms generated XML document

Posted by iHeartGreek on Stack Overflow See other posts from Stack Overflow or by iHeartGreek
Published on 2010-05-25T20:54:30Z Indexed on 2010/05/26 7:31 UTC
Read the original article Hit count: 315

Filed under:
|
|

Hi!

Through XForms, I generate an XML document.

I need this XML document to be transformed by a specific XSL.

How do I link the XSL to the XML through XForms? Example of link:

<?xml-stylesheet type="text/xsl" href="test.xsl"?>

(The XML doc gets regenerated every time the XForms submits to it.. so I cannot hardcode the link in the XML doc, in needs to be done through the XForms)

Thanks!

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xsl