Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XSLT Page Generating Issue

Reply
Thread Tools

XSLT Page Generating Issue

 
 
king_pich@hotmail.com
Guest
Posts: n/a
 
      10-17-2007
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

 
Reply With Quote
 
 
 
 
shaun roe
Guest
Posts: n/a
 
      10-17-2007
In article <(E-Mail Removed). com>,
http://www.velocityreviews.com/forums/(E-Mail Removed) 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
 
Reply With Quote
 
 
 
 
king_pich@hotmail.com
Guest
Posts: n/a
 
      10-17-2007
On Oct 17, 2:17 pm, shaun roe <(E-Mail Removed)> wrote:
> In article <(E-Mail Removed). com>,
>
>
>
>
>
>
>
> (E-Mail Removed) 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

 
Reply With Quote
 
king_pich@hotmail.com
Guest
Posts: n/a
 
      10-17-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating XSL:FO from XSLT (and XML) shauldar@gmail.com XML 6 11-07-2011 09:01 PM
XML, XSLT and generating ID's rob.guitar.rob@gmail.com XML 2 07-29-2005 09:41 PM
Generating html out of xml using xslt Brent XML 3 03-22-2005 10:44 PM
problem generating html table via xslt T. Sander XML 2 08-20-2004 05:07 PM
Generating entities from XSLT Andy Dingley XML 2 06-07-2004 09:28 AM



Advertisments