can xalan transform 2 xml using one xslt? 2007-01-30 - By PMysore1@(protected)
Hi, Can I use document() function to transform a XML document emebedded within CDATA section of an XML document ?
<?xml version="1.0" encoding="utf-16"?> <Envelope version="01.00"> <Packet> <Payload><![CDATA[<?xml version="1.0"?><foo> <Test1>1234</Test1> </foo>]]></Payload> </Packet> </Envelope>
Thanks in adavance.
-Pradeep
In a message dated 1/29/2007 6:52:02 PM Eastern Standard Time, keshlam@(protected) writes: Use the XSLT document() function to access the second source file, then write your transform to retrieve the needed data from both.
______________________________________ "... Three things see no end: A loop with exit code done wr ng, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html)
<HTML><HEAD> <META charset=US-ASCII http-equiv=Content-Type content="text/html; charset=US -ASCII"> <META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD> <BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff"> <DIV> <DIV> <DIV> <DIV>Hi,</DIV> <DIV>Can I use document() function to transform a XML document emebedded within CDATA section of an XML document ?</DIV> <DIV> </DIV> <DIV><?xml version="1.0" encoding="utf-16"?><BR><Envelope version="01 .00"><BR> <BR> <Packet><BR> <BR> < ;Payload><![CDATA[<?xml version="1.0"?><foo><BR> <Test1>1234</Test1><BR></foo>]]></Payload><BR> </Packet><BR></Envelope><BR></DIV> <DIV> </DIV> <DIV>Thanks in adavance.</DIV> <DIV> </DIV> <DIV><FONT lang=0 face=Arial color=#000080 size=1 FAMILY="SANSSERIF" PTSIZE="8" ><I>-Pradeep</I></FONT></DIV> <DIV><EM><FONT color=#000080 size=1></FONT></EM> </DIV> <DIV><EM><FONT color=#000080 size=1></FONT></EM> </DIV></DIV> <DIV>In a message dated 1/29/2007 6:52:02 PM Eastern Standard Time, keshlam@(protected) .ibm.com writes:</DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: blue 2px solid"> <P><FONT face=Arial>Use the XSLT document() function to access the second source file, then write your transform to retrieve the needed data from both. <BR><BR>______________________________________<BR>"... Three things see no end: A loop with exit code done wr ng,<BR>A semaphore untested, And the change that comes along. ..."<BR>-- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (</FONT><A title=http://www.ovff.org/pegasus/songs/threes-rev-11.html href="http://www .ovff.org/pegasus/songs/threes-rev-11.html"><FONT face=Arial>http://www.ovff.org /pegasus/songs/threes-rev-11.html</FONT></A><FONT face=Arial>)</FONT></P>< /BLOCKQUOTE></DIV></DIV></BODY></HTML>
|
|