[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: page range in Reference
On 26.01.2020 17:52, Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx wrote:
Below is my inputB and required output xml. Need to all dot, columns(:) in outside elements will be same to go output xml. I am strugglingB how to manage page range tag ( <fpage>752</fpage>–<lpage>8</lpage>) in output reference. <year>2007</year>;<volume>110</volume>:<fpage>752</fpage>–<lpage>8</lp age>.</mixed-citation>
<year>2007</year>;<volume>110</volume>:<page-range>752-8</page-range>.</mixed -citation> Do you know that any mixed-citation element will have those child nodes <fpage>...</fpage>–<lpage>...</lpage> ? Should be easy to set up <xsl:template match="fpage"> <page-range> <xsl:value-of select="., following-sibling::lpage" separator="-"/> </page-range> </xsl:template> and block processing of the lpage with <xsl:template match="lpage"/>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|