XSLT Helpp Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » TF Industry related » Archive through February 10, 2011 » XSLT Helpp « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 18
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, February 16, 2011 - 04:35 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

LT?xml version="1.0" encoding="ISO-8859-1"?GT
LTcinemaGT

LTmovieGT
LTtitleGTTitle1LT/titleGT

LTactorGT mahesh

LTimg src="/ccdb/images/actor/mahesh.jpg"/GT

LT/actorGT

LT/movieGT

LTmovieGT
LTtitleGTTitle1LT/titleGT

LTactorGT mahesh2

LTimg src="/ccdb.com/images/accounting/mahesh2.jpg"/GT

LT/actorGT

LT/movieGT

LT/cinemaGT
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 17
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, February 16, 2011 - 04:34 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

mam's edina idea evvara..kinda xml loni movie/actor/img lo img src ni ccdb to ccdb.com cheyali ante xslt lo emi cheyali..thanks i advance


<?xml>
<cinema>

<movie>
<title>Title1</title>

<actor> mahesh

<img>

</actor>

</movie>

<movie>
<title>Title1</title>

<actor> mahesh2

<img>

</actor>

</movie>

</cinema>
Top of pagePrevious messageNext messageBottom of page Link to this message

Music_lover
Junior Artist
Username: Music_lover

Post Number: 135
Registered: 03-2010
Posted From: 167.230.38.120

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:38 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

yeh got it, but when we write XSLTs in projects 99% of time we use xsl:value-of this gives you an option to add/remove elements or and if you want to have different order from your XML file with minimum code changes. .
Top of pagePrevious messageNext messageBottom of page Link to this message

Spy_india
Side Hero
Username: Spy_india

Post Number: 4436
Registered: 02-2008
Posted From: 24.16.33.144

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:37 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Music_lover:

LTxsl:value-of select="actor"/GT
LT/tdGT
LTtdGT
LTxsl:value-of select="director"/GT
LT/tdGT
LTtdGT
LTxsl:value-of select="producer"/GT





Bug:

LTtrGTLTtdGTLTxsl:copy-of select="."/GT </tdGTLT/trGT




saripotundi anta :-)
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 15
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:32 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Music_lover:




music mama LTcopy-of select="."/GT

ani use chestae actor, director, producer mudu vachestai..anyway thanks for ur concern..
Top of pagePrevious messageNext messageBottom of page Link to this message

Music_lover
Junior Artist
Username: Music_lover

Post Number: 134
Registered: 03-2010
Posted From: 167.230.38.120

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:27 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

Here you go

LTxsl:template match="/"GT
LThtmlGT
LTbodyGT
LTtableGT
LTxsl:for-each select="/catalog/movie"GT
LTtrGT
LTtdGT
LTxsl:value-of select="title"/GT
LT/tdGT
LT/trGT
LTxsl:for-each select="./cd"GT
LTtrGT
LTtdGT
LTxsl:value-of select="actor"/GT
LT/tdGT
LTtdGT
LTxsl:value-of select="director"/GT
LT/tdGT
LTtdGT
LTxsl:value-of select="producer"/GT
LT/tdGT
LT/trGT
LT/xsl:for-eachGT
LT/xsl:for-eachGT
LT/tableGT
LT/bodyGT
LT/htmlGT
LT/xsl:templateGT


title1
actor1.1 director1 producer1
actor1.2 director1.2 producer1.2
actor1.3 director1.3 producer1.3
title2
actor2.1 director2.1 producer2.1
actor2.2 director2.2 producer2.2
actor2.3 director2.3 producer2.3
Top of pagePrevious messageNext messageBottom of page Link to this message

Blackmamba
Side Hero
Username: Blackmamba

Post Number: 4596
Registered: 05-2010
Posted From: 155.201.20.53

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:17 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:

aa look entra appadam aipoddi.



Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 14
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:17 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Blackmamba:




aa look entra appadam aipoddi..
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 12
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:15 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:




LT?xml version="1.0" encoding="ISO-8859-1"?GT
<!-->
LTxsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"GT
LTxsl:template match="/"GT
LThtmlGT
LTbodyGT
LTh2GTMy CD CollectionLT/h2GT
LTtable WIDTH="100%" border="1"GT
LTxsl:for-each select="/catalog/movie"GT

LTtrGTLTtdGTLTxsl:value-of select="title"/GT LT/tdGTLT/trGT
LTxsl:for-each select="cd"GT
LTtrGTLTtdGTLTxsl:copy-of select="."/GT </tdGTLT/trGT
LT/xsl:for-eachGT
LT/xsl:for-eachGT
LT/tableGT LT/bodyGT
LT/htmlGT
LT/xsl:templateGT
LT/xsl:stylesheetGT
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 11
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:11 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Acf:




Mama it worked ..

<?xml>
<!-->

<catalog>
<movie>
<title>title1</title>

<cd>
<actor>actor1.1</actor>
<director>director1</director>
<producer>producer1</producer>
</cd>

<cd>
<actor>actor1.2</actor>
<director>director1.2</director>
<producer>producer1.2</producer>
</cd>
<cd>

<actor>actor1.3</actor>
<director>director1.3</director>
<producer>producer1.3</producer>
</cd>

</movie>
<movie>
<title>title2</title>

<cd>
<actor>actor2.1</actor>
<director>director2.1</director>
<producer>producer2.1</producer>
</cd>

<cd>
<actor>actor2.2</actor>
<director>director2.2</director>
<producer>producer2.2</producer>
</cd>
<cd>

<actor>actor2.3</actor>
<director>director2.3</director>
<producer>producer2.3</producer>
</cd>

</movie>

</catalog>


above template ki below result kavali

title1
actor1.1 director1 producer1
actor1.2 director1.2 producer1.2
actor1.3 director1.3 producer1.3
title2
actor2.1 director2.1 producer2.1
actor2.2 director2.2 producer2.2
actor2.3 director2.3 producer2.3


nuvvu cheppinatlu chesanu it worked..Thanks once again
Top of pagePrevious messageNext messageBottom of page Link to this message

Blackmamba
Side Hero
Username: Blackmamba

Post Number: 4595
Registered: 05-2010
Posted From: 155.201.20.53

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 04:08 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:



Top of pagePrevious messageNext messageBottom of page Link to this message

Music_lover
Junior Artist
Username: Music_lover

Post Number: 133
Registered: 03-2010
Posted From: 167.230.38.120

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:55 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

replace LT with lessthan symbol and GT with greaterthan symbol
Top of pagePrevious messageNext messageBottom of page Link to this message

Music_lover
Junior Artist
Username: Music_lover

Post Number: 132
Registered: 03-2010
Posted From: 167.230.38.120

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:55 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

LTxsl:template match="/"GT

LThtmlGT

LTbodyGT

My CD Collection

LTtableGT

LTxsl:for-each select="/catalog/movie"GT

LTtrGT

LTtdGT

LTxsl:value-of select="title"/GT

LT/tdGT

LT/trGT

LTtrGT

LTxsl:for-each select="./cd"GT

LTtdGT

LTxsl:value-of select="actor"/GT

LT/tdGT

LT/xsl:for-eachGT

LT/trGT

LT/xsl:for-eachGT

LT/tableGT

LT/bodyGT

LT/htmlGT

LT/xsl:templateGT
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 10
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:53 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Acf:




yes it did.. but na case lo instead of <xsl:>, <xsl:copy-of> vadili endukante i have so many siblings to actor element so aa siblings values anni copy cheyataniki value-of work avadu..copy-of vadili ..anyways thanks alot gfor ur input ..
Top of pagePrevious messageNext messageBottom of page Link to this message

Music_lover
Junior Artist
Username: Music_lover

Post Number: 131
Registered: 03-2010
Posted From: 167.230.38.120

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:50 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

Use this and yuo will get

My CD Collection title1
actor1.1 actor1.2 actor1.3
title2
actor2.1 actor2.2 actor2.3


<xsl:template>
<html>
<body>
My CD Collection
<table>
<xsl:for-each>
<tr>
<td>
<xsl:value-of>
</td>
</tr>
<tr>
<xsl:for-each>
<td>
<xsl:value-of>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Side Hero
Username: Twitter

Post Number: 7256
Registered: 10-2009
Posted From: 151.191.175.206

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:40 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:



<xsl:for-each>
<xsl:for-each>
</xsl:for-each>
</xsl:for-each>

try chesava ?
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 272
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:40 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

did it work?
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 9
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:39 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Acf:





Thanks mama..you rock
Top of pagePrevious messageNext messageBottom of page Link to this message

Emc2
Comedian
Username: Emc2

Post Number: 1930
Registered: 03-2008
Posted From: 199.107.16.132

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:31 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:




simple use xpath and give fully qualified path.

visy.
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 271
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:30 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

just checked your intended output which is
but what i need is

title1
actor1.1 actor1.2 actor1.3

title2
actor2.1 actor2.2 actor2.3

i dont know how to get actors in column wise.

the one that i gave outputs like this

title1
actor1.1
actor1.2
actor1.3

title2
actor2.1
actor2.2
actor2.3
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 270
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:28 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

outer foreach lo add this statement select="catalog/movie"
inner foreach lo select="cd"
outer value-of - select="title"
inner value-of - select="actor"
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 268
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 03:26 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

try this one

<xsl:for-each>
<tr><td><xsl:value-of> </td></tr>
<xsl:for-each>
<tr><td><xsl:value-of> </td></tr>
</xsl:for-each>
</xsl:for-each>
Top of pagePrevious messageNext messageBottom of page Link to this message

Spy_india
Side Hero
Username: Spy_india

Post Number: 4435
Registered: 02-2008
Posted From: 24.16.33.144

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:57 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

mi question ippudu ardam ayyindi


naku upayogapadiddi konchem aa code mail cheyandi spyind@gmail.com ki
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 8
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:51 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Acf:




ante actually aa value nenu post vesae appudu miss ayindi mama post lo aa values ravatledu...evarina help cheyalani anukunte both the xml and xsl email ki attach chestanu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 7
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:49 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Spy_india:




no use mama
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 267
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:46 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

value of tharuvatha select = "actor" miss iyindhi
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 6
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:46 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Acf:




yeah try chesanu..nuvvu cheppinatlu cheste result ela vasthundi


title1
actor1.1 actor1.2 actor1.3 actor2.1 actor2.2 actor2.3

title2
actor1.1 actor1.2 actor1.3 actor2.1 actor2.2 actor2.3




but what i need is

title1
actor1.1 actor1.2 actor1.3

title2
actor2.1 actor2.2 actor2.3
Top of pagePrevious messageNext messageBottom of page Link to this message

Spy_india
Side Hero
Username: Spy_india

Post Number: 4434
Registered: 02-2008
Posted From: 24.16.33.144

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:43 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:

naku different rows lo different movie related actors details kavali.




ade kada ichindi andulo .. nenu ee roje look vesaa antapeddagaa teliyadu gaani



ide kada code

<xsl:for-each>
<tr>
<td><xsl:value-of></td>
<td><xsl:value-of></td>
<td><xsl:value-of></td>
</tr>
</xsl:for-each>
Top of pagePrevious messageNext messageBottom of page Link to this message

Acf
Junior Artist
Username: Acf

Post Number: 265
Registered: 01-2008
Posted From: 38.109.75.245

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:41 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

<xsl:for-each>
<tr>
<td><xsl:value-of></td>
</tr>
</xsl:for-each>

did u try this?
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 5
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:34 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Spy_india:




mama na requirement ki adi use avtaledu..naku nested for-each kavali...adi use cheste okae table row lo anni actors values vasthunnai..naku different rows lo different movie related actors details kavali..
Top of pagePrevious messageNext messageBottom of page Link to this message

Spy_india
Side Hero
Username: Spy_india

Post Number: 4433
Registered: 02-2008
Posted From: 24.16.33.144

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:31 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

emi yadruchikam ...
edo job description choostuu proddune ee XSLT entaa ani tutorial open chesaa

http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&x sltfile=cdcatalog
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 4
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:25 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Sri_anji:




naku result emi kavali antae..

prati movie element lo unna actor names kavali...
Top of pagePrevious messageNext messageBottom of page Link to this message

Sri_anji
Side Hero
Username: Sri_anji

Post Number: 7096
Registered: 02-2008
Posted From: 63.66.34.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:18 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

kochen please
cbn ntr same family.. adhikaram mama ki poyinaa alludu ki vachindhi....we are fine --- OT

http://www.youtube.com/watch?v=ZmnFXHU2dqo -- Daivam
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Side Hero
Username: Twitter

Post Number: 7250
Registered: 10-2009
Posted From: 151.191.175.207

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:17 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:



inthaki nee q endhi ?
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 3
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 02:13 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bug:




related information..

xml file
<?xml>
<!-->

<catalog>
<movie>
<title>title1</title>

<cd>
<actor>actor1.1</actor>
</cd>

<cd>
<actor>actor1.2</actor>
</cd>
<cd>

<actor>actor1.3</actor>
</cd>

</movie>
<movie>
<title>title2</title>

<cd>
<actor>actor2.1</actor>
</cd>

<cd>
<actor>actor2.2</actor>
</cd>
<cd>

<actor>actor2.3</actor>
</cd>

</movie>

</catalog>
------------------------------------------------------------ -------------
xsl file
<?xml>
<!-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template>
<html>
<body>

My CD Collection

<table>
<xsl:for-each>
<tr>
<td>


<xsl:number>

</td>

<td>
<table>
<tr>
<td><xsl:value-of></td>
</tr>
<tr>

<td>
<xsl:for-each>



<xsl:copy-of>

</xsl:for-each>
</td>

</tr>
</table>
</td>
</tr>

</xsl:for-each>
</table> </body>
</html>
</xsl:template>
</xsl:stylesheet>
Top of pagePrevious messageNext messageBottom of page Link to this message

Bug
Junior Artist
Username: Bug

Post Number: 2
Registered: 12-2010
Posted From: 204.124.136.17

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 08, 2011 - 01:58 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

mam's ekkada xsl trasnformations lo chey tirina vallu evarina unte koncham yelp cheyagalara...

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x8b66648){Movie Clipart}
Show / Hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  


Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: