[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    Fw: Regarding this URL:  http://xml.apache.org/xalan
From:       Subbarao Damacharla <damasub () yahoo ! com>
Date:       2013-04-26 18:44:41
Message-ID: 1367001881.21251.YahooMailNeo () web194905 ! mail ! sg3 ! yahoo ! com
[Download RAW message or body]

----- Forwarded Message -----
From: Subbarao Damacharla <damasub@yahoo.com>
To: "xalan-j-users@xml.apache.org" <xalan-j-users@xml.apache.org> 
Sent: Friday, 26 April 2013 11:19 AM
Subject: Regarding this URL:  http://xml.apache.org/xalan
 


Hi  xalan-j-users,

As I got the below URL is no longer available 

xmlns:xalan="http://xml.apache.org//xalan"

What URL should be used instead of that ?

xmlns:util="src.DataValidator"

Actually  a java class is being used in XSLT for validation purpose.  
 For that validation, the following way a java class is being used as a component \
inside XSLT for my project.    But this is not working now because of that URL is no \
longer available.

<xalan:componet prefix="util"  elements="init validate done">
    <xalan:script lang="javaclass" src="xalan://src.DataValidator"/>
</xalan:component>

<util:init>
       <xsl:fallback/>  
</util:init>


The init , validate, done  functions  in DataValidator class should  executed from \
XSLT  , earlier it worked fine.

Now these are not getting called because component tag itself is getting neglected \
while transforming the data to xml format.

Could you please advice me how can make that code works from XSLT ?


Thanks
Subba.


[Attachment #3 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><br></div> \
<div style="font-family: 'times new roman', 'new york', times, serif; font-size: \
12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; \
font-size: 12pt;"> <div dir="ltr"> ----- Forwarded Message -----<br>  <font size="2" \
face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Subbarao Damacharla \
&lt;damasub@yahoo.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> \
"xalan-j-users@xml.apache.org" &lt;xalan-j-users@xml.apache.org&gt; <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Friday, 26 April 2013 11:19 AM<br> \
<b><span style="font-weight: bold;">Subject:</span></b> Regarding this URL:  \
http://xml.apache.org/xalan<br> </font> </div> <div class="y_msg_container"><br><div \
id="yiv5997635638"><div><div style="color: rgb(0, 0, 0);  background-color: rgb(255, \
255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: \
12pt;"><div>Hi &nbsp;xalan-j-users,</div><div><br></div><div style="color: rgb(0, 0, \
0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;">As I got the below<span \
style="background-color:transparent;">&nbsp;URL is no longer \
available&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;">xmlns:xalan="<span \
style="font-weight:bold;background-color:transparent;">http://xml.apache.org//xalan"</span></div><div \
style="color:rgb(0, 0, 0);font-size:16px;font-family:'times  new roman', 'new york', \
times, serif;background-color:transparent;font-style:normal;"><span \
style="font-weight:bold;background-color:transparent;"><br></span></div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: normal;"><span \
style="font-weight:bold;background-color:transparent;"><div \
style="font-weight:normal;background-color:transparent;">What URL should be used \
instead of that ?</div><div><br></div></span></div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: \
normal;">xmlns:util="src.DataValidator"</div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 16px; font-family: 'times new  roman', 'new york', times, \
serif; background-color: transparent; font-style: normal;"><span \
style="background-color:transparent;">Actually &nbsp;a java class is being used in \
XSLT for validation purpose. &nbsp;</span></div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;"><span \
style="background-color:transparent;">&nbsp;</span><span \
style="background-color:transparent;">For that validation, the following way a java \
class is being used as a component inside XSLT for my project. \
&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
'times new roman', 'new york', times, serif; background-color: transparent; \
font-style: normal;"><span style="background-color:transparent;">&nbsp;But this is \
not working now because of that URL is no longer available.</span></div><div \
style="color: rgb(0, 0, 0); font-size: 16px;  font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
'times new roman', 'new york', times, serif; background-color: transparent; \
font-style: normal;">&lt;xalan:componet prefix="util" &nbsp;elements="init validate \
done"&gt;</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times \
new roman', 'new york', times, serif; background-color: transparent; font-style: \
normal;">&nbsp; &nbsp; &lt;xalan:script lang="javaclass" \
src="xalan://src.DataValidator"/&gt;</div><div style="color: rgb(0, 0, 0); font-size: \
16px; font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;">&lt;/xalan:component&gt;</div><div style="color: \
rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, \
serif; background-color: transparent; font-style:  normal;"><br></div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: \
normal;">&lt;util:init&gt;</div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;">&nbsp; &nbsp; &nbsp; &nbsp;&lt;xsl:fallback/&gt; \
&nbsp;</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new \
roman', 'new york', times, serif; background-color: transparent; font-style: \
normal;">&lt;/util:init&gt;<br></div><div style="color: rgb(0, 0, 0); font-size: \
16px; font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;"><span  \
style="background-color:transparent;">The init , validate, done &nbsp;functions \
&nbsp;in DataValidator class should &nbsp;executed from XSLT &nbsp;, earlier it \
worked fine.</span><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;">Now these are not getting called because component \
tag itself is getting neglected while transforming the data to xml format.</div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
'times new roman', 'new york', times, serif; background-color: transparent; \
font-style: normal;">Could you please advice me how can make that code works from \
XSLT ?<br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new  \
roman', 'new york', times, \
serif;background-color:transparent;font-style:normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, \
serif; background-color: transparent; font-style: normal;">Thanks</div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: \
normal;">Subba.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
'times new roman', 'new york', times, serif; background-color: transparent; \
font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: 'times new roman', 'new york', times, serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color:  \
rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, \
serif; background-color: transparent; font-style: normal;"><br></div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new \
york', times, serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
'times new roman', 'new york', times, serif; background-color: transparent; \
font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: 'times new roman', 'new york', times, serif; background-color: \
transparent; font-style: normal;"><br></div></div></div></div><br><br></div> </div> \
</div>  </div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic