[daisy] Accessing a document's fields / reading the whole XML tree
A Rocha Webmaster
webmaster at arocha.org
Thu May 22 17:35:25 CEST 2008
Hello all,
= First question =
I am trying to access a field. I've added a Description text field to
the Attachment document; and now I want the Attachment HTML page to show
that value in a meta name="description" field.
http://cocoondev.org/daisydocs-2_1/374-cd/25-cd/190-cd.html
The above does not indicate any fields. Don't I have access to the
document's fields in the layout.xsl input contract?
I see that the fields are mentioned here --
http://cocoondev.org/daisydocs-2_1/374-cd/g1/26-cd.html
but this is *not* where I want to access them.
Help, please?
= Second question =
Is there a URI for the input contract? I want to be able to read the
output of the whole XML document given a doc ID, *before* any XLST
transformations. That would really help with the Daisy learning curve.
If there isn't a URI, can I fetch the XML in any way? I tried
<xsl:comment><xsl:copy-of select="."/></xsl:comment>
but no luck.
More help, please?
Júlio.
More information about the daisy
mailing list