the summary page only indicates a random number identifier. if i understand this correctly, the summary loads up all the various claimants and related info and simply lists the identifier which is less than informative.
if one wanted to display the last name, for user ease in locating a document, would not one add <xsl:value-of select="/result/document/......./last-name"> to summary-view.xsl along with related modification of the table? -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
[hidden email] wrote:
> the summary page only indicates a random number identifier. if i > understand this correctly, the summary loads up all the various > claimants and related info and simply lists the identifier which is > less than informative. > > if one wanted to display the last name, for user ease in locating a > document, would not one add <xsl:value-of > select="/result/document/......./last-name"> to summary-view.xsl > along with related modification of the table? Very good question, and very good suggestion. I made some changes to illustrate this. The trick is that initially we wanted the data access for this example to be document-type agnostic. I modified: o list-documents.xpl to retrieve the claim first and last name. Before this change, list-documents.xpl would only return <document-id> for each document. o the schema validating the output of list-documents.xpl o summary-view.xsl I have also made some similar changes to BizDoc NG, but there is still a bug linked to the use of xforms:repeat. All this in CVS, should show up in the unstable builds soon. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Erik Bruchez wrote:
> [hidden email] wrote: > > > the summary page only indicates a random number identifier. if i > > understand this correctly, the summary loads up all the various > > claimants and related info and simply lists the identifier which is > > less than informative. > > > > if one wanted to display the last name, for user ease in locating a > > document, would not one add <xsl:value-of > > select="/result/document/......./last-name"> to summary-view.xsl > > along with related modification of the table? > > Very good question, and very good suggestion. > > I made some changes to illustrate this. The trick is that initially we > wanted the data access for this example to be document-type > agnostic. I modified: > > o list-documents.xpl to retrieve the claim first and last name. Before > this change, list-documents.xpl would only return <document-id> for > each document. > > o the schema validating the output of list-documents.xpl > > o summary-view.xsl > > I have also made some similar changes to BizDoc NG, but there is still > a bug linked to the use of xforms:repeat. now uses xforms:repeat and that the bug mentioned above has been fixed. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hello,
I have a very strange bug: I've just updated the bizdoc ng example, in order to fix the "repeat" problem. And the following message is displayed: Type: class org.exist.xquery.XPathException Message: No namespace defined for prefix claim Location: oxf:/examples/bizdoc2/summary/summary-view.xsl And yet, the xmlns:claim is declared in the summary-view.xsl ! Has anyone had the same pb? how to fix it?? Marc 2005/8/10, Erik Bruchez <[hidden email]>: > Erik Bruchez wrote: > > [hidden email] wrote: > > > > > the summary page only indicates a random number identifier. if i > > > understand this correctly, the summary loads up all the various > > > claimants and related info and simply lists the identifier which is > > > less than informative. > > > > > > if one wanted to display the last name, for user ease in locating a > > > document, would not one add <xsl:value-of > > > select="/result/document/......./last-name"> to summary-view.xsl > > > along with related modification of the table? > > > > Very good question, and very good suggestion. > > > > I made some changes to illustrate this. The trick is that initially we > > wanted the data access for this example to be document-type > > agnostic. I modified: > > > > o list-documents.xpl to retrieve the claim first and last name. Before > > this change, list-documents.xpl would only return <document-id> for > > each document. > > > > o the schema validating the output of list-documents.xpl > > > > o summary-view.xsl > > > > I have also made some similar changes to BizDoc NG, but there is still > > a bug linked to the use of xforms:repeat. > > Though I would mention that the BizDoc NG example's Summary page in CVS > now uses xforms:repeat and that the bug mentioned above has been fixed. > > -Erik > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
How did you update? From CVS or a nightly build?
Do you have some other local changes, or is this pristine? There were some fixes in the Java code, so if you just update the code for the example you may have some issues. -Erik Marc Natale wrote: > Hello, > I have a very strange bug: > I've just updated the bizdoc ng example, in order to fix the "repeat" > problem. And the following message is displayed: > > Type: class org.exist.xquery.XPathException > Message: No namespace defined for prefix claim > Location: oxf:/examples/bizdoc2/summary/summary-view.xsl > > And yet, the xmlns:claim is declared in the summary-view.xsl ! > Has anyone had the same pb? how to fix it?? > > Marc > > > > > 2005/8/10, Erik Bruchez <[hidden email]>: > >>Erik Bruchez wrote: >> >>>[hidden email] wrote: >>> >>> > the summary page only indicates a random number identifier. if i >>> > understand this correctly, the summary loads up all the various >>> > claimants and related info and simply lists the identifier which is >>> > less than informative. >>> > >>> > if one wanted to display the last name, for user ease in locating a >>> > document, would not one add <xsl:value-of >>> > select="/result/document/......./last-name"> to summary-view.xsl >>> > along with related modification of the table? >>> >>>Very good question, and very good suggestion. >>> >>>I made some changes to illustrate this. The trick is that initially we >>>wanted the data access for this example to be document-type >>>agnostic. I modified: >>> >>>o list-documents.xpl to retrieve the claim first and last name. Before >>> this change, list-documents.xpl would only return <document-id> for >>> each document. >>> >>>o the schema validating the output of list-documents.xpl >>> >>>o summary-view.xsl >>> >>>I have also made some similar changes to BizDoc NG, but there is still >>>a bug linked to the use of xforms:repeat. >> >>Though I would mention that the BizDoc NG example's Summary page in CVS >>now uses xforms:repeat and that the bug mentioned above has been fixed. >> >>-Erik >> >> >> >> >>-- >>You receive this message as a subscriber of the [hidden email] mailing list. >>To unsubscribe: mailto:[hidden email] >>For general help: mailto:[hidden email]?subject=help >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |