XML as XSLT param
"A.D. Kent" <[email protected]> Mon, 27 Sep 2004 21:45:53 -0400
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <[email protected]> |
------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset=US-ASCII Hello all: I've been using the .NET port of Maverick for a short while with a great degree of success, however, I have a question regarding the original Maverick framework implementation as it pertains to my desire to pass dynamic XML data (it would be session-specific) as a param for XSLT transformations. For now, my sample application is reading a static XML resource from disk and loading it into a JDOM Document. It appears that I cannot natively pass an instance of a JDOM Document object (nor any of it's surrogate objects), as I've consistently received an error when trying to do so. I apologize if this question has already been answered, but what would be the most efficient (as in performance) means by which I could pass an XML object to the setParameter method of the transformation? I assume it would take an org.w3c.Dom node, nodelist, etc., but are those my only alternatives? Many thanks, A.D. Kent [email protected] ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset=US-ASCII <HTML style="FONT-SIZE: x-small; FONT-FAMILY: MS Sans Serif"><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1251"> <META content="MSHTML 6.00.3790.186" name=GENERATOR></HEAD> <BODY> <P> <DIV>Hello all:</DIV> <DIV> </DIV> <DIV>I've been using the .NET port of Maverick for a short while with a great degree of success, however, I have a question regarding the original Maverick framework implementation as it pertains to my desire to pass dynamic XML data (it would be session-specific) as a param for XSLT transformations.</DIV> <DIV> </DIV> <DIV>For now, my sample application is reading a static XML resource from disk and loading it into a JDOM Document. It appears that I cannot natively pass an instance of a JDOM Document object (nor any of it's surrogate objects), as I've consistently received an error when trying to do so. </DIV> <DIV> </DIV> <DIV>I apologize if this question has already been answered, but what would be the most efficient (as in performance) means by which I could pass an XML object to the setParameter method of the transformation? I assume it would take an org.w3c.Dom node, nodelist, etc., but are those my only alternatives? </DIV> <DIV> </DIV> <DIV>Many thanks,</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>A.D. Kent</DIV> <DIV><A href="mailto:[email protected]">[email protected]</A></DIV></BODY></HTML> ------=_NextPart_84815C5ABAF209EF376268C8-- ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php [INVALID FOOTER]