xsl-list
[Top] [All Lists]

RE: [xsl] Wrapping problem

2006-08-13 00:14:31
Are you showing us your input or your output? If it's the input, what do you
want the output to look like; if it's the output, what does the input look
like?

General point to all posters - please try to read your questions before
pressing Send, to ask yourself whether the reader is likely to be able to
work out what your problem is. General principle: tell us what the input is,
tell us what the output is, explain why you are having difficulty getting
from one to the other, preferably by showing us your best attempt so far.

Michael Kay
http://www.saxonica.com/ 
 

-----Original Message-----
From: Kent Seegmiller [mailto:hookjaw20(_at_)comcast(_dot_)net] 
Sent: 13 August 2006 02:47
To: XSLT
Subject: [xsl] Wrapping problem

I want to wrap a script from a play in a file "movie1.xml":
<play>
   <scene>Scene 1</scene>
      <character>char 1</character>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
      <character>char 2</character>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
      <character>char 3</character>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
   <scene>Scene 2</scene>...
      <character>char 1</character>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
         <line>blah blah blah</line>
...
</play>
My question: How do I wrap the scenes and characters.  So far 
my strained brain can only think of creating a text file and 
using "&lt;scene>" or "&lt;character>" to place the end 
element then renaming the text file to xml.
thanks Kent


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>