At 13.24 30/09/2002 +0200, you wrote:
>Jessica,
>
>ahem... I wrote: "could you please post the output of myfile.xml (in other 
>words, the input of myfile.xsl)", while you sent me the
>"final" output (the one outputted by myfile.xsl).
>
>Best regards,

I am sorry, but I haven't understand where is the difference between my xml 
file and the "output" of my xml file ???
How will I get the output of my xml file?
Following is the output of my xml file opened with IE ... but I have really 
no idea what do you want to see ... sorry ...

<?xml version="1.0" encoding="UTF-8" ?>
- <xsp:page laguage="java" xmlns:xsp="http://apache.org/xsp"; 
xmlns:esql="http://apache.org/cocoon/SQL/v2";>
- <!--
  Get Document
-->
- <Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="schema.xsd" 
xmlns:esql="http://apache.org/cocoon/SQL/v2"; 
xmlns:xsp="http://apache.org/xsp";>
- <esql:connection>
<esql:pool>xmldb</esql:pool>
<xsp:logic>String document= "1";</xsp:logic>
- <esql:execute-query>
- <esql:query>
select * from document where DocID=
<xsp:expr>document</xsp:expr>
</esql:query>
- <esql:results>
- <esql:row-results>
- <DocObj>
<esql:get-string column="DocObject" />
</DocObj>
- <DocTitle>
<esql:get-string column="DocTitle" />
</DocTitle>
- <DocVer>
<esql:get-string column="DocVersion" />
</DocVer>
- <DocAuth>
<esql:get-string column="DocAuthor" />
</DocAuth>
- <DocDate>
<esql:get-date column="DocData" />
</DocDate>
- <!--
  Get Sections
-->
- <Section>
- <esql:execute-query>
- <esql:query>
select BuildSecID, SecID from secbuild where DocID=
<xsp:expr>document</xsp:expr>
order by SecOrdine
</esql:query>
- <esql:results>
- <esql:row-results>
- <xsp:logic>
String buildSecID =
<esql:get-string column="BuildSecID" />
; String section =
<esql:get-string column="SecID" />
;
</xsp:logic>
- <esql:execute-query>
- <esql:query>
select * from section where SecID=
<xsp:expr>section</xsp:expr>
</esql:query>
- <esql:results>
- <esql:row-results>
- <SecTitle>
<esql:get-string column="SecTitle" />
</SecTitle>
- <SecContent>
<esql:get-string column="SecContent" />
</SecContent>
- <!--
  Get Chapter
-->
- <Chapter>
- <esql:execute-query>
- <esql:query>
select BuildChapID, ChapID from chapbuild where BuildSecID=
<xsp:expr>buildSecID</xsp:expr>
order by ChapOrdine
</esql:query>
- <esql:results>
- <esql:row-results>
- <xsp:logic>
String buildchapID =
<esql:get-string column="BuildChapID" />
; String chapter =
<esql:get-string column="ChapID" />
;
</xsp:logic>
- <esql:execute-query>
- <esql:query>
select * from chapter where ChapID=
<xsp:expr>chapter</xsp:expr>
</esql:query>
- <esql:results>
- <esql:row-results>
- <ChapTitle>
<esql:get-string column="ChapTitle" />
</ChapTitle>
- <ChapContent>
<esql:get-string column="ChapContent" />
</ChapContent>
- <Paragraph>
- <esql:execute-query>
- <esql:query>
select ParaID from parabuild where BuildChapID=
<xsp:expr>chapter</xsp:expr>
order by ParaOrdine
</esql:query>
- <esql:results>
- <esql:row-results>
- <xsp:logic>
String paragraph =
<esql:get-string column="ParaID" />
;
</xsp:logic>
- <esql:execute-query>
- <esql:query>
select * from paragraph where ParaID=
<xsp:expr>paragraph</xsp:expr>
</esql:query>
- <esql:results>
- <esql:row-results>
- <ParaTitle>
<esql:get-string column="ParaTitle" />
</ParaTitle>
- <ParaContent>
<esql:get-string column="ParaContent" />
</ParaContent>
</esql:row-results>
</esql:results>
</esql:execute-query>
</esql:row-results>
</esql:results>
</esql:execute-query>
</Paragraph>
</esql:row-results>
</esql:results>
</esql:execute-query>
</esql:row-results>
</esql:results>
</esql:execute-query>
</Chapter>
</esql:row-results>
</esql:results>
</esql:execute-query>
</esql:row-results>
</esql:results>
</esql:execute-query>
</Section>
</esql:row-results>
</esql:results>
</esql:execute-query>
</esql:connection>
</Document>
</xsp:page>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to