How do I get the Status with the latest TimestampCreate?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 62
- Joined: Thu Jun 26, 2014 9:00 pm
How do I get the Status with the latest TimestampCreate?
I would like to get the Status with the latest TimestampCreate. How do I change my xslt to include the TimestampCreate instead of Date[/code]?
My xml doc
My xslt 1.0 code
My xml doc
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Integration>
<ProtectionOrder Op="E">
<Statuses>
<Status Op="A">
<Active>No</Active>
<Date Op="A">05/09/2016</Date>
<Type Op="A" Word="DISMISSED">Dismissed</Type>
<TimestampCreate Op="A">05/09/2016 14:34:48:633</TimestampCreate>
</Status>
<Status>
<Active>Yes</Active>
<Date>05/09/2016</Date>
<Type Word="SBJO">Signed By Judicial Officer</Type>
<TimestampCreate>05/09/2016 14:34:34:737</TimestampCreate>
</Status>
</Statuses>
</ProtectionOrder>
</Integration>
Code: Select all
<xsl:value-of select="Statuses/Status/Date"/>
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