Subject: Re: [xsl] transforming from xml to text -- creates a blank line on the first line (new question regarding use of Output Text i InDesign) From: UlyLee <ulyleeka@xxxxxxxxx> Date: Tue, 25 Oct 2005 22:06:40 -0700 (PDT) |
Thanks for the reply, it helped a lot! About the namespaces those were automatically put in when i create a new xsl file from xmlspy and i did not bother to remove them. I have another question, (for those familliar with InDesgin Tags) why is it that after transforming my xml to text i still have to open it in notepad and save it before i can properly place it in InDesign. If i dont resave it in notepad it just treat the output text as normal text and it does not interpret the InDesign Tags --- David Carlisle <davidc@xxxxxxxxx> wrote: > > sorry I see you did post your code. > > > xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:fn="http://www.w3.org/2005/02/xpath-functions" > xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes" > > > why have you declared these namespaces? Yout project > doesn't appear to > use xSL-Fo at all, and the fn and xsdt namespaces > seem suspect, the > current draft uses 2005/xpath-datatypes and the > previous one used > 2005/04/xpath-datatypes, The one before did use /02 > but in any case you > don't use these namespaces. > > <xsl:template match="/"> > <ASCII-WIN> > > that generates a text node that starts > newline < a s C ... > > If you don't want it to start with a newline, delete > the newline > > <xsl:template match="/"><ASCII-WIN> > > > David > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by > Star. The > service is powered by MessageLabs. For more > information on a proactive > anti-virus service working around the clock, around > the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] transforming from xml to , David Carlisle | Thread | [xsl] By Using concat substring-aft, Shailesh Shinde |
[xsl] RE: xsl:sort not sorting (bra, Brook Ellingwood | Date | Re: [xsl] Position() on template ma, Geert Josten |
Month |