Return-Path: X-Original-To: apmail-xalan-dev-archive@www.apache.org Delivered-To: apmail-xalan-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AE40DD87 for ; Sat, 22 Dec 2012 05:28:24 +0000 (UTC) Received: (qmail 71858 invoked by uid 500); 22 Dec 2012 05:28:24 -0000 Delivered-To: apmail-xalan-dev-archive@xalan.apache.org Received: (qmail 71688 invoked by uid 500); 22 Dec 2012 05:28:23 -0000 Mailing-List: contact dev-help@xalan.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@xalan.apache.org Delivered-To: mailing list dev@xalan.apache.org Received: (qmail 71641 invoked by uid 99); 22 Dec 2012 05:28:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Dec 2012 05:28:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [64.255.237.176] (HELO smtp4.pacifier.net) (64.255.237.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Dec 2012 05:28:12 +0000 Received: from [192.168.192.104] (67-150-172-95.lsan.mdsg-pacwest.com [67.150.172.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: shathawa@e-z.net) by smtp4.pacifier.net (Postfix) with ESMTPSA id 6DDD038EE6; Fri, 21 Dec 2012 21:27:50 -0800 (PST) Message-ID: <50D544D1.2090801@e-z.net> Date: Fri, 21 Dec 2012 21:27:45 -0800 From: "Steven J. Hathaway" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: dev@xalan.apache.org, anoop@remo.jp Subject: Re: XSLTInputSource References: <50C988C7.6030808@remo.jp> In-Reply-To: <50C988C7.6030808@remo.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Info on Xalan-C The XSLTInputSource class is an extension of the Xerces::InputSourceType If you have a memory buffer initialized as a C++ std::istream, you can supply a pointer argument to the istream as an initialization parameter to XSLTInputSource. When you pass a filename as a parameter to XSLTInputSource, the filename is treated as the systemId, and the referenced file is opened as a std::istream. Sincerely, Steven J. Hathaway Xalan Documentation Project On 12/12/2012 11:50 PM, Anoop A R wrote: > Hi, > > I am using xalan to transform an xml input to an xml output using an > external xsl file. > > Is it possible to use the contents of a xsl file as string and pass it > as input to the transform function of Xalan? Currently i am passing > the xsl file name as input. > > Please give your suggestions/answers. > > Thanks, > Anoop > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org > For additional commands, e-mail: dev-help@xalan.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org For additional commands, e-mail: dev-help@xalan.apache.org