Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Jim Mehl
Forum: BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition ISBN: 978-0-470-19274-0 February 22nd, 2016, 08:46 PM
Replies: 4
Views: 1,482
Posted By Jim Mehl
XML element to HTML attribute

Thanks Michael, that's a BIG help. I still have the the problem of eliminating the href='''' when the original URL element is null, but I suspect that's just a matter of an appropriate xsl:if in the...
Forum: BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition ISBN: 978-0-470-19274-0 February 22nd, 2016, 07:21 PM
Replies: 4
Views: 1,482
Posted By Jim Mehl
XML element to HTML attribute

OK, I tried the following and a few variations.

[code}
<?xml version="1.0" encoding="iso-8859-1"?>

<!-- test.xsl -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"...
Forum: BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition ISBN: 978-0-470-19274-0 February 22nd, 2016, 02:16 PM
Replies: 4
Views: 1,482
Posted By Jim Mehl
XML element to HTML attribute

I would like to turn an XML file with content like this:


<Item>
<Name>Alpha</Name>
<URL>http://www.test.com</URL>
</Item>

<Item>
<Name>Beta</Name>
Showing results 1 to 3 of 3

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.