Search found 7 matches
Search found 7 matches
• Page 1 of 1
- by gungy
- Sat Jun 02, 2012 5:16 am
- Forum: XSLT and FOP
- Topic: using AND operator
- Replies: 0
- Views: 3935
using AND operator
hiya, how can i get two recursive calls in my template to evaluate my constraint using the AND operator? xml file structure: <filterML> <constraint> <and> <!-- 2 conditions --> <operator operation="="> <!-- condition1: get all subjects evaluatung to chemistry --> <input>subject</input> <va...
- by gungy
- Fri May 25, 2012 1:58 pm
- Forum: XSLT and FOP
- Topic: current year
- Replies: 7
- Views: 7905
Re: current year
Hiya, i think ive noticed that when calling this exslt extension for getting the current year, its breaking the internet explorer browser (version 9) so just displays raw xml only....ive copied over all the date xsl files into the same folder as my stylesheet and did the <xsl:import href="date....
- by gungy
- Thu May 24, 2012 8:05 pm
- Forum: XSLT and FOP
- Topic: Open in browser
- Replies: 1
- Views: 1503
Open in browser
Hiya, ive referenced my stylesheet in the xml file as: <?xml-stylesheet type="text/xsl" href="Task3.xsl"?> transformation is fine within Oxygen, however, when attempting to select the open browser option (whilst in the active XML file), this is outputting just source xml in Inter...
- by gungy
- Thu May 24, 2012 4:59 pm
- Forum: XSLT and FOP
- Topic: current year
- Replies: 7
- Views: 7905
Re: current year
single quotes removed as you suggested, but its still returning NaN?
<xsl:param name="dobyear" select="(ex:year(dob))" />
<xsl:value-of select="$dobyear"/>
<xsl:param name="dobyear" select="(ex:year(dob))" />
<xsl:value-of select="$dobyear"/>
- by gungy
- Thu May 24, 2012 3:56 pm
- Forum: XSLT and FOP
- Topic: current year
- Replies: 7
- Views: 7905
Re: current year
hi adrian, thanks for reply, the ex:year doesnt seem to work when trying to extract the year from my dob element i.e. <dob>YYYY-MM-DD</dob> i have in my xslt: <xsl:param name="dobyear" select="(ex:year('dob'))" /> and then: <xsl:value-of select="$dobyear"/> this is outp...
- by gungy
- Wed May 23, 2012 8:30 pm
- Forum: XSLT and FOP
- Topic: current year
- Replies: 7
- Views: 7905
current year
hi,
how can i get the current year to display - i am declaring <xsl:param name="" /> but what should i enclose in the brackets to grab the current date or year?
how can i get the current year to display - i am declaring <xsl:param name="" /> but what should i enclose in the brackets to grab the current date or year?
- by gungy
- Tue May 22, 2012 5:09 pm
- Forum: XSLT and FOP
- Topic: calculate age
- Replies: 0
- Views: 2693
calculate age
hi,
could someone please show me how i calculate persons age using <dob>YYYY-MM-DD</dob> in xslt 1.0?
could someone please show me how i calculate persons age using <dob>YYYY-MM-DD</dob> in xslt 1.0?
Search found 7 matches
• Page 1 of 1
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service