|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Random selection
Thank you very much Mukul. This is exactly what I am looking for.
One more question.
1. How do you do xsl transformation. When I tried to do xsl transformation using the following xsl and xml from xml spy, I am receiving the following error.
This file is not valid.
Error in xpath expression. Function not found in namespace..
2. When I tried to transformation using java:
ByteArrayOutputStream baos = new ByteArrayOutputStream();
SAXTransformerFactory saxTFactory = ((SAXTransformerFactory) tf);
tHandler1 = saxTFactory.newTransformerHandler(new StreamSource(xsllocation)); --> Missing or incorrect XSLT Namespace.
Transformer tr1 = tHandler1.getTransformer();
xsllocation --> this is the location of xsl file in your local directory.
What is the way that you recomment?
Thanks again for your help
--- On Sun, 11/30/08, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Subject: Re: Random selection
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Date: Sunday, November 30, 2008, 12:52 PM
Hi Dimitre,
I would prefer a portable solution if it's really required (i.e., my
IT architecture demands it).
If I know my stylesheet will always run in a Java environment, what's
the harm in using the Java extensions provided by the processor?
On Sun, Nov 30, 2008 at 10:32 PM, Dimitre Novatchev
<dnovatchev@xxxxxxxxx> wrote:
> Hi Mukul,
>
> What about people, who use C#, Python, VB, C++, ..., etc?
>
> I strongly believe that recommending a non-portable solution on this
> list when a known, 100% XSLT, portable one exists, should be
> discouraged.
>
>
> --
> Cheers,
> Dimitre Novatchev
--
Regards,
Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








