Subject: [xsl] Advice for splitting text From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx> Date: Tue, 21 Oct 2003 11:11:38 -0700 |
Hello, You know how in a news column online a lot of times you'll read a paragraph of the article and then there will be a link for "Read More", and you'll either follow an anchor on the same page to the rest of the article or jump to a new page all together. So what I'd like to do is provide a text object embedded in the article which signifies that the more link should be place here. See "[BREAKARTICLE]" in this example: <ARTICLE id="1234"> <HEADING>This Article</HEADING. <CONTENT> This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content [BREAKARTICLE] This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content This is the content </CONTENT> </ARTICLE> What would be the best way to split this article at this point? Then of course, when displaying the entire article, the best way to hide this break point? Thanks for the help, Karl XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Creating JavaScript recur, Passin, Tom | Thread | [xsl] Re: Advice for splitting text, Dimitre Novatchev |
Re: [xsl] Game of Life: an XSLT imp, Simon Woodside | Date | RE: [xsl] Creating JavaScript recur, Passin, Tom |
Month |