XSLT Page Generating Issue

Discussion in 'XML' started by king_pich@hotmail.com, Oct 17, 2007.

  1. Guest

    Hi,

    I have a large XML document (generated by a macro) and have used an
    XSLT file to break it down into tables so its more vreadable in HTML
    format.

    I would post the files but its far to big so i'll do my best to
    explain.

    Ok, the main nodes within my .xml file has lots of child nodes,
    however the xslt file is displaying a few of those.

    I want the user to be able to click one of the fileds and then
    automatically be sent to a page to display the rest of the
    information.

    Example...

    - <BoSearchMACActivitySummaryType>
    <ActivityID>567026826</ActivityID>
    <ActivityIDSpecified>true</ActivityIDSpecified>
    <ActivityStatus>2</ActivityStatus>
    <ActivityStatusSpecified>true</ActivityStatusSpecified>
    <PrimaryUserID>419837346</PrimaryUserID>
    <PrimaryUserIDSpecified>true</PrimaryUserIDSpecified>
    <SecondaryUserIDList />
    <CreationDate>2007-10-15T09:51:34Z</CreationDate>
    <CreationDateSpecified>true</CreationDateSpecified>
    <ThreadID>5311116646</ThreadID>
    <ThreadIDSpecified>true</ThreadIDSpecified>
    - <Issue>
    <ID>1569</ID>
    <IDSpecified>true</IDSpecified>
    <Label>Internal</Label>
    </Issue>
    - <Rule>
    <ID>0</ID>
    <IDSpecified>true</IDSpecified>
    </Rule>
    - <Disposition>
    <ID>1631</ID>
    <IDSpecified>true</IDSpecified>
    <Label>Document</Label>
    </Disposition>
    <Priority>50</Priority>
    <PrioritySpecified>true</PrioritySpecified>
    <Source>Legacy</Source>
    <CountSpecified>false</CountSpecified>
    - <Content>
    - <Attachment>
    - <BoMACActivityAttachmentType>
    <Name>567026826.html.zip</Name>
    </BoMACActivityAttachmentType>
    </Attachment>
    </Content>
    </BoSearchMACActivitySummaryType>

    I have about 70 BoSearchMACActivitySummaryType's. Ok so i'm
    displaying selected data in my HTML file and want the user to be able
    to click the ActivityID (for example) and then be sent to an
    automatically generated page which displays all of the information for
    the selected activityID.

    I hope you can guage what i mean from this. So my main xslt file is
    displaying 4 fields of 8. I want the text to by hyperlinked and when
    clicked, the user to be sent to an automatically generated page where
    the further information for the selected nodes are displayed.

    Hope someone can help me.

    Thanks Again

    Kindest Regards

    Tom
     
    , Oct 17, 2007
    #1
    1. Advertising

  2. shaun roe Guest

    In article <>,
    wrote:

    > Hi,
    >

    ---snip snip ---
    >
    > I have about 70 BoSearchMACActivitySummaryType's. Ok so i'm
    > displaying selected data in my HTML file and want the user to be able
    > to click the ActivityID (for example) and then be sent to an
    > automatically generated page which displays all of the information for
    > the selected activityID.
    >
    > I hope you can guage what i mean from this. So my main xslt file is
    > displaying 4 fields of 8. I want the text to by hyperlinked and when
    > clicked, the user to be sent to an automatically generated page where
    > the further information for the selected nodes are displayed.
    >
    > Hope someone can help me.
    >
    > Thanks Again
    >
    > Kindest Regards
    >
    > Tom


    This sounds similar to one of the first xsl transforms I ever
    wrote..which can be found here:

    http://sroe.home.cern.ch/sroe/xsl/COOL2WebFrames.xsl

    and the generated output here:
    http://sroe.home.cern.ch/sroe/xml/

    essentially it makes use of the 'document' function to redirect the
    output to several output files, and makes two passes on the file in
    different modes to generate the index and then the content.

    cheers
    s
     
    shaun roe, Oct 17, 2007
    #2
    1. Advertising

  3. Guest

    On Oct 17, 2:17 pm, shaun roe <> wrote:
    > In article <>,
    >
    >
    >
    >
    >
    >
    >
    > wrote:
    > > Hi,

    >
    > ---snip snip ---
    >
    > > I have about 70 BoSearchMACActivitySummaryType's. Ok so i'm
    > > displaying selected data in my HTML file and want the user to be able
    > > to click the ActivityID (for example) and then be sent to an
    > > automatically generated page which displays all of the information for
    > > the selected activityID.

    >
    > > I hope you can guage what i mean from this. So my main xslt file is
    > > displaying 4 fields of 8. I want the text to by hyperlinked and when
    > > clicked, the user to be sent to an automatically generated page where
    > > the further information for the selected nodes are displayed.

    >
    > > Hope someone can help me.

    >
    > > Thanks Again

    >
    > > Kindest Regards

    >
    > > Tom

    >
    > This sounds similar to one of the first xsl transforms I ever
    > wrote..which can be found here:
    >
    > http://sroe.home.cern.ch/sroe/xsl/COOL2WebFrames.xsl
    >
    > and the generated output here:http://sroe.home.cern.ch/sroe/xml/
    >
    > essentially it makes use of the 'document' function to redirect the
    > output to several output files, and makes two passes on the file in
    > different modes to generate the index and then the content.
    >
    > cheers
    > s- Hide quoted text -
    >
    > - Show quoted text -


    Hmm

    I'll try and get my head around it. It seems all to confusing lol.

    So do i create the layout for my newly generated page in the same xsl
    file? how do i write the href links? Do you have msn so i can ask you
    a few quick questions regarding this file. Just because i know im
    almost there and want to get this sorted asap.

    Thanks Again for your reply.

    Kindest Regards

    Tom
     
    , Oct 17, 2007
    #3
  4. Guest

    thanks for the reply.

    Do you have msn, skpye or an instant messenger so i can ask you a few
    quick fire questions regarding this file?

    Kindest Regards

    tom
     
    , Oct 17, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Dingley

    Generating entities from XSLT

    Andy Dingley, Jun 4, 2004, in forum: XML
    Replies:
    2
    Views:
    508
    Andy Dingley
    Jun 7, 2004
  2. T. Sander
    Replies:
    2
    Views:
    672
    William Park
    Aug 20, 2004
  3. Brent
    Replies:
    3
    Views:
    790
    Peter Flynn
    Mar 22, 2005
  4. Replies:
    2
    Views:
    712
  5. Replies:
    6
    Views:
    3,546
    jon001
    Nov 7, 2011
Loading...

Share This Page