Regarding this URL: http://xml.apache.org/xalan
Subbarao Damacharla <[email protected]> Sat, 27 Apr 2013 02:19:12 +0800 (SGT)
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <[email protected]> |
---421573433-2080138812-1367000352=:81076 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi =A0xalan-j-users,=0A=0AAs I got the below=A0URL is no longer available= =A0=0A=0Axmlns:xalan=3D"http://xml.apache.org//xalan"=0A=0AWhat URL should = be used instead of that ?=0A=0Axmlns:util=3D"src.DataValidator"=0A=0AActual= ly =A0a java class is being used in XSLT for validation purpose. =A0=0A=A0F= or that validation, the following way a java class is being used as a compo= nent inside XSLT for my project. =A0=0A=A0But this is not working now becau= se of that URL is no longer available.=0A=0A<xalan:componet prefix=3D"util"= =A0elements=3D"init validate done">=0A=A0 =A0 <xalan:script lang=3D"javacl= ass" src=3D"xalan://src.DataValidator"/>=0A</xalan:component>=0A=0A<util:in= it>=0A=A0 =A0 =A0 =A0<xsl:fallback/> =A0=0A</util:init>=0A=0A=0AThe init , = validate, done =A0functions =A0in DataValidator class should =A0executed fr= om XSLT =A0, earlier it worked fine.=0A=0ANow these are not getting called = because component tag itself is getting neglected while transforming the da= ta to xml format.=0A=0ACould you please advice me how can make that code wo= rks from XSLT ?=0A=0A=0AThanks=0ASubba. ---421573433-2080138812-1367000352=:81076 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt"><div>Hi xalan-j= -users,</div><div><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 1= 6px; font-family: 'times new roman', 'new york', times, serif; background-c= olor: transparent; font-style: normal;">As I got the below<span style=3D"ba= ckground-color: transparent;"> URL is no longer available </span>= </div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'tim= es new roman', 'new york', times, serif; background-color: transparent; fon= t-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 1= 6px; font-family: 'times new roman', 'new york', times, serif; background-c= olor: transparent; font-style: normal;">xmlns:xalan=3D"<span style=3D"font-= weight: bold; background-color: transparent;">http://xml.apache.org//xalan"= </span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-famil= y: 'times new roman', 'new york', times, serif; background-color: transparent; font-= style: normal;"><span style=3D"font-weight: bold; background-color: transpa= rent;"><br></span></div><div style=3D"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=3D"font-weight: bold; backg= round-color: transparent;"><div style=3D"font-weight: normal; background-co= lor: transparent;">What URL should be used instead of that ?</div><div><br>= </div></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font= -family: 'times new roman', 'new york', times, serif; background-color: tra= nsparent; font-style: normal;">xmlns:util=3D"src.DataValidator"</div><div s= tyle=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman= ', 'new york', times, serif; background-color: transparent; font-style: nor= mal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-fa= mily: 'times new roman', 'new york', times, serif; background-color: transparent= ; font-style: normal;"><span style=3D"background-color: transparent;">Actua= lly a java class is being used in XSLT for validation purpose. = </span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-famil= y: 'times new roman', 'new york', times, serif; background-color: transpare= nt; font-style: normal;"><span style=3D"background-color: transparent;">&nb= sp;</span><span style=3D"background-color: transparent;">For that validatio= n, the following way a java class is being used as a component inside XSLT = for my project. </span></div><div style=3D"color: rgb(0, 0, 0); font-= size: 16px; font-family: 'times new roman', 'new york', times, serif; backg= round-color: transparent; font-style: normal;"><span style=3D"background-co= lor: transparent;"> But this is not working now because of that URL is= no longer available.</span></div><div style=3D"color: rgb(0, 0, 0); font-s= ize: 16px; font-family: 'times new roman', 'new york', times, serif; background= -color: transparent; font-style: normal;"><br></div><div style=3D"color: rg= b(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', ti= mes, serif; background-color: transparent; font-style: normal;"><xalan:c= omponet prefix=3D"util" elements=3D"init validate done"></div><div= style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new rom= an', 'new york', times, serif; background-color: transparent; font-style: n= ormal;"> <xalan:script lang=3D"javaclass" src=3D"xalan://sr= c.DataValidator"/></div><div style=3D"color: rgb(0, 0, 0); font-size: 16= px; font-family: 'times new roman', 'new york', times, serif; background-co= lor: transparent; font-style: normal;"></xalan:component></div><div s= tyle=3D"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=3D"color: rgb(0, 0, 0); font-size: 16px; fon= t-family: 'times new roman', 'new york', times, serif; background-color: tr= ansparent; font-style: normal;"><util:init></div><div style=3D"color:= rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york',= times, serif; background-color: transparent; font-style: normal;"> &= nbsp; <xsl:fallback/> </div><div style=3D"color: r= gb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', t= imes, serif; background-color: transparent; font-style: normal;"></util:= init><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-= family: 'times new roman', 'new york', times, serif; background-color: tran= sparent; font-style: normal;"><br></div><div style=3D"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=3D"background-color: transparent;">The init , validate, done f= unctions in DataValidator class should executed from XSLT  = ;, earlier it worked fine.</span><br></div><div style=3D"color: rgb(0, 0, 0= ); font-size: 16px; font-family: 'times new roman', 'new york', times, seri= f; background-color: transparent; font-style: normal;">Now these are not ge= tting called because component tag itself is getting neglected while transf= orming the data to xml format.</div><div style=3D"color: rgb(0, 0, 0); font= -size: 16px; font-family: 'times new roman', 'new york', times, serif; back= ground-color: transparent; font-style: normal;"><br></div><div style=3D"col= or: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new yor= k', times, serif; background-color: transparent; font-style: normal;">Could= you please advice me how can make that code works from XSLT ?<br></div><di= v style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-styl= e: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; f= ont-family: 'times new roman', 'new york', times, serif; background-color: = transparent; font-style: normal;">Thanks</div><div style=3D"color: rgb(0, 0= , 0); font-size: 16px; font-family: 'times new roman', 'new york', times, s= erif; background-color: transparent; font-style: normal;">Subba.</div><div = style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roma= n', 'new york', times, serif; background-color: transparent; font-style: no= rmal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-f= amily: 'times new roman', 'new york', times, serif; background-color: trans= parent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); f= ont-size: 16px; font-family: 'times new roman', 'new york', times, serif; b= ackground-color: transparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new rom= an', 'new york', times, serif; background-color: transparent; font-style: n= ormal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-= family: 'times new roman', 'new york', times, serif; background-color: tran= sparent; font-style: normal;"><br></div><div style=3D"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=3D= "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></body></html> ---421573433-2080138812-1367000352=:81076--