Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
xsl
- Page 1
Re: XSL Link from value-of
Programming
Software Development
12 Years Ago
by Mike Askew
…;urlVar"></
xsl
:variable> <
xsl
:variable name="title"></
xsl
:variable> <
xsl
:template match="…="$title"/> </
xsl
:element> </
xsl
:element> </
xsl
:template> </
xsl
:stylesheet> I've produced what…
Re: <xsl:sort> issue
Programming
Software Development
12 Years Ago
by Mike Askew
<
xsl
:for-each select="nodename"> <
xsl
:sort select="substring(., 5, 4)" data-type="number" order="ascending"/> </
xsl
:for-each> That will work, we substring the node value to only look at the numerical part of it and then sort accordingly.
Re: XSL help
Programming
Software Development
14 Years Ago
by xml_looser
…; <tr> <td> <
xsl
:value-of select="substring-before(substring-after(.,'root_object = … </td> <td> <
xsl
:value-of select="substring-before(substring-after(../preceding-sibling…</td> <td> <
xsl
:value-of select="../preceding-sibling::row[2]/row_element[3…
Re: XSL help
Programming
Software Development
14 Years Ago
by iceandrews
…'][. = 'Start']/../row_element[@property_name = 'Data']"/> <
xsl
:variable name="getPromoteData" select="key('rowsbyObject', row_element…EventTypeName'][. = 'Promote']/../row_element[@property_name = 'Data']"/> <
xsl
:variable name="getFinishData" select="key('rowsbyObject', row_element…
XSL help
Programming
Software Development
14 Years Ago
by gaboo
…;genReport"> <
xsl
:for-each select="row"> <
xsl
:if test="(row_element[@column…lt;Data ss:Type="String"> <
xsl
:value-of select="substring-before(substring-after(row_element[@…gt; </Row> </
xsl
:if> </
xsl
:for-each> </
xsl
:template> [/CODE] Please help and…
Re: XSL help
Programming
Software Development
14 Years Ago
by iceandrews
… third <td> change the line from: [CODE]<
xsl
:value-of select="row_element[@property_name = 'DateStamp'][../row_element[@property_name = '…EventTypeName'] = 'Start']"/>[/CODE] Into! [CODE]<
xsl
:value-of select="$getStartData/../row_element[@property_name = 'DateStamp']" />…
Re: XSL help
Programming
Software Development
14 Years Ago
by iceandrews
… to something like this (notice the [1] predicate) [CODE]<
xsl
:variable name="getPromoteData" select="key('rowsbyObject', row_element…
Re: XSL help
Programming
Software Development
14 Years Ago
by gaboo
…') [/CODE] or should it be something like this: [CODE] <
xsl
:variable name="getPromoteData" select="key('rowsbyObject', row_element…
xsl
Community Center
Meta DaniWeb
19 Years Ago
by cuih1d
HI , can anyone tell me how i can edit [U]rotation[/U] in my
xsl
? my xml lookes something like that: <root> <obj col="0xff0000" xPos="25" yPos="0" widht="2" height="2" [B]angle="30"[/B] /> </root> my question is how can i write the angle in the
xsl
? thanks
Re: xsl
Community Center
Meta DaniWeb
19 Years Ago
by server_crash
… me how i can edit [U]rotation[/U] in my
xsl
? my xml lookes something like that: <root> <… question is how can i write the angle in the
xsl
? thanks[/QUOTE] Not the right forum to ask these questions…
xsl help
Programming
Software Development
13 Years Ago
by techyworld
…. it converts the attributes in Personsout.xml into elements. (<
xsl
:copy> should be used for this as well ) Can…
xsl.. need urgent help...!!
Programming
Software Development
14 Years Ago
by shilpajmensi
…-of select="name(.)"/> <
xsl
:text>'</
xsl
:text> </
xsl
:if> <!--node context--> <…"/>)</
xsl
:if> <
xsl
:text> ==== </
xsl
:text> <
xsl
:text> </
xsl
:text> <
xsl
:value-of…
XSL Comment
Programming
Software Development
14 Years Ago
by sbutt
…[$counter]/@RPH"/> </
xsl
:comment> <
xsl
:comment>=============================</
xsl
:comment> <
xsl
:variable name="sum_temp">… select="$sum_temp"/> </
xsl
:otherwise> </
xsl
:choose> </
xsl
:template> </
xsl
:stylesheet> [/CODE] and xml…
XSL call-template parameter problems
Programming
Software Development
16 Years Ago
by knightsg
… select="@*"/> <
xsl
:apply-templates/> </
xsl
:copy> </
xsl
:template> <
xsl
:template match="keywords"…;/> </item> </
xsl
:otherwise> </
xsl
:choose> </
xsl
:template> </
xsl
:stylesheet> [/code] When I run…
xsl: how to use <xsl:sequence>
Programming
Software Development
15 Years Ago
by ganesh0106
… This My
xsl
: ======= <
xsl
:stylesheet xmlns:
xsl
="http://www.w3.org/1999/
XSL
/Transform"…</pt> </s1> <
xsl
:for-each-group select="current-group() except ."…;?</no> <pt> <
xsl
:value-of select="replace(., '^\(\d+\)', '')"/&…
xsl Problem
Programming
Web Development
13 Years Ago
by kukuruku
…quot;@*|node()"/> </
xsl
:copy> </
xsl
:template> <
xsl
:template match="/address-book/person…="@*|node()"/> </
xsl
:copy> </
xsl
:when> <
xsl
:when test="state=$state"…;/> </
xsl
:copy> </
xsl
:when> </
xsl
:choose> </
xsl
:template> </
xsl
:stylesheet> [/CODE…
XSL counting and string problems
Programming
Software Development
16 Years Ago
by Bebbe
…ad> </autoads>[/CODE] [B]My
XSL
:[/B] [CODE]<
xsl
:template match="/"> <!-- Trying to…element node so that it may be counted--> <
xsl
:if test="ad/adtext [contains(adtext, 'automat')]"…Trying to count cars with no registeration info --> <
xsl
:for-each select="ad [type = 2]"> &…
xsl error
Programming
Web Development
16 Years Ago
by DaShiVa
…;/Results> </Report> [/code] my
xsl
: [code=
xsl
] <?xml version='1.0' encoding='ISO-8859-…/> <
xsl
:template match='/'> <
xsl
:apply-templates /> </
xsl
:template> <
xsl
:template match='Overview'>…lt;/tbody> </table> </
xsl
:template> <
xsl
:template name='Result'> <tr>…
XSL / XSL-FO and tables
Programming
Software Development
15 Years Ago
by le_huck
…; <fo:block> <!--><
xsl
:value-of select="recommendedName/fullName"/><--&…; <fo:block> <!--><
xsl
:value-of select="name/content"/><--&…; <fo:block> <!--><
xsl
:value-of select="content"/><-->…
XSL Lookup table, using key()
Programming
Software Development
14 Years Ago
by niki_97
…; select="document('prompts.xml')/prompts"/>[/COLOR] <
xsl
:template match="*[@name='rentity_branch']"> <span class…; select="./@name"/> </
xsl
:apply-templates> [/COLOR] <
xsl
:text> : </
xsl
:text> <input> <…
Re: XSL Comment
Programming
Software Development
14 Years Ago
by minamo99
you can put in comments like this. <!-- desired comment here --> if you want it to actually show on the conversion it csn be done with <
xsl
:text> content here </
xsl
:text>
Re: XSL Comment
Programming
Software Development
14 Years Ago
by alfieclinton
For
XSL
Comment use Below Syntax <
xsl
:comment> <!-- Content:template --> </
xsl
:comment>
Re: XSL call-template parameter problems
Programming
Software Development
16 Years Ago
by knightsg
Ignore the above, I've since discovered that [icode]XML::XSLT's[/icode]
xsl
:call-template directive doesn't support the 'select' attribute in
xsl
:with-param tags that are used during the template call. I'll try XML::LibXSLT or Sablotron instead.
Re: XSL Lookup table, using key()
Programming
Software Development
14 Years Ago
by iceandrews
…" use="key"/> <
xsl
:variable name="promptsElt" select="document('prompts….xml')/prompts"/> <
xsl
:template match="*[@name='rentity_branch']"> <…', $curr-element)/value"/> </
xsl
:template> </
xsl
:stylesheet>[/CODE] Output.xml [CODE]<…
Re: XSL code not have the desired OUTPUT
Programming
Software Development
13 Years Ago
by xml_looser
… test="contains($text,',')"> <bydesc> <
xsl
:value-of select="normalize-space(substring-before($text,','))"…-space(substring-after($text,','))"/> </
xsl
:call-template> </
xsl
:when> <
xsl
:otherwise> <bydesc> <…
Re: xsl format date
Programming
Software Development
14 Years Ago
by fpmurphy
…;/> </
xsl
:call-template> </
xsl
:element> </
xsl
:template> <
xsl
:template name="…($datestr,5,4)" /> </
xsl
:variable> <
xsl
:value-of select="$dd" />…quot;@*|node()"/> </
xsl
:copy> </
xsl
:template> </
xsl
:stylesheet> [/code] The …
Re: XSL parsing of xml:text
Programming
Software Development
14 Years Ago
by xml_looser
… ='), 'txt')),'txt')"/> <
xsl
:variable name="sub3" select="…;
xsl
:text>FOUND</
xsl
:text> </
xsl
:when> <
xsl
:otherwise> <
xsl
…:text>NOT FOUND</
xsl
:text> </
xsl
:otherwise> </
xsl
…
Re: XSL counting and string problems
Programming
Software Development
16 Years Ago
by ruchsriv
…for-each loop.: ABC<
xsl
:element name"countOfSegments" />DEF<
xsl
:element name"countOfSegments"…; />GHI<
xsl
:element name"countOfSegments"… />JKL<
xsl
:value-of select="count…
Re: xsl error
Programming
Web Development
16 Years Ago
by DaShiVa
…header rows before the table, so restructured the xml and
xsl
to put teh header inside the result xml and html… table. 2) the actual error: something dumb: [icode]<
xsl
:for-each match='Field'>[/icode] should be: [icode]<…;
xsl
:for-each select='Field'>[/icode] firefox (at least) …
XSL format date in RSS feed
Programming
Software Development
14 Years Ago
by hindu times
…wp/?feed=rss2&cat=23" --> <!DOCTYPE
xsl
:stylesheet [ <!ENTITY nbsp " ">… will display (select"x") --> <
xsl
:param name="ItemsPerPage" select="2" /&…gt; <br /> </
xsl
:for-each> </
xsl
:template> </
xsl
:stylesheet>[/CODE] Instead of the date…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC