Problem with prefixed names in XSLT transformations
Posted: Wed Dec 14, 2011 5:50 pm
Hello
I'm practicing on chapter 3 of "XSLT" from Doug Tidwell and I get a void result using <xsl:value-of select="sonnet/auth:author"> on the "sonnet.xml" document from the book's downloads. If I remove the prefix the transformation works.
The relevant XSLT line is in the book and the XML document contains the declaration xmlns:auth="http://www.authors.com/". I'm at a loss: can anyone help?
Thank you very much.
Giordano
PS
I'm using oXygen Author 13.1 build 2011112512.
I'm practicing on chapter 3 of "XSLT" from Doug Tidwell and I get a void result using <xsl:value-of select="sonnet/auth:author"> on the "sonnet.xml" document from the book's downloads. If I remove the prefix the transformation works.
The relevant XSLT line is in the book and the XML document contains the declaration xmlns:auth="http://www.authors.com/". I'm at a loss: can anyone help?
Thank you very much.
Giordano
PS
I'm using oXygen Author 13.1 build 2011112512.